attributes.js
33 lines
| 1 | /** |
| 2 | * Block Attributes |
| 3 | */ |
| 4 | |
| 5 | const blockAttributes = { |
| 6 | ids: { |
| 7 | type: 'array', |
| 8 | default: [], |
| 9 | }, |
| 10 | categories: { |
| 11 | type: 'array', |
| 12 | default: [], |
| 13 | }, |
| 14 | tags: { |
| 15 | type: 'array', |
| 16 | default: [], |
| 17 | }, |
| 18 | goal: { |
| 19 | type: 'string', |
| 20 | default: '1000', |
| 21 | }, |
| 22 | enddate: { |
| 23 | type: 'string', |
| 24 | default: '', |
| 25 | }, |
| 26 | color: { |
| 27 | type: 'string', |
| 28 | default: '#66bb6a', |
| 29 | }, |
| 30 | }; |
| 31 | |
| 32 | export default blockAttributes; |
| 33 |