| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "givewp/campaign-donations", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Campaign Donations", |
| 7 |
"category": "give", |
| 8 |
"description": "Display all the donations associated with a campaign.", |
| 9 |
"attributes": { |
| 10 |
"campaignId": { |
| 11 |
"type": "integer" |
| 12 |
}, |
| 13 |
"showAnonymous": { |
| 14 |
"type": "boolean", |
| 15 |
"default": true |
| 16 |
}, |
| 17 |
"showIcon": { |
| 18 |
"type": "boolean", |
| 19 |
"default": true |
| 20 |
}, |
| 21 |
"showButton": { |
| 22 |
"type": "boolean", |
| 23 |
"default": true |
| 24 |
}, |
| 25 |
"donateButtonText": { |
| 26 |
"type": "string", |
| 27 |
"default": "Donate" |
| 28 |
}, |
| 29 |
"sortBy": { |
| 30 |
"type": "string", |
| 31 |
"default": "recent-donations" |
| 32 |
}, |
| 33 |
"donationsPerPage": { |
| 34 |
"type": "number", |
| 35 |
"default": 5 |
| 36 |
}, |
| 37 |
"loadMoreButtonText": { |
| 38 |
"type": "string", |
| 39 |
"default": "Load more" |
| 40 |
} |
| 41 |
}, |
| 42 |
"supports": { |
| 43 |
"className": true |
| 44 |
}, |
| 45 |
"example": {}, |
| 46 |
"textdomain": "give", |
| 47 |
"render": "file:./render.php", |
| 48 |
"style": "file:../../../../build/campaignDonationsBlockApp.css" |
| 49 |
} |
| 50 |
|