block.json in Uji Countdown 2.2, at src/block/block.json
| 1 | { |
| 2 | "name": "urc/block-uji-countdown-2020", |
| 3 | "category": "common", |
| 4 | "attributes": { |
| 5 | "countStyles": { |
| 6 | "type": "string", |
| 7 | "default": "" |
| 8 | }, |
| 9 | "datetime": { |
| 10 | "type": "string", |
| 11 | "default": "2022-01-01 12:00:00" |
| 12 | }, |
| 13 | "timeonly": { |
| 14 | "type": "string", |
| 15 | "default": "12:00" |
| 16 | }, |
| 17 | "isStackedOnMobile": { |
| 18 | "type": "boolean", |
| 19 | "default": false |
| 20 | }, |
| 21 | "timerType" : { |
| 22 | "type" : "string", |
| 23 | "default": "onetime" |
| 24 | }, |
| 25 | "thour": { |
| 26 | "type": "string", |
| 27 | "default": "" |
| 28 | }, |
| 29 | "tmin": { |
| 30 | "type": "string", |
| 31 | "default": "" |
| 32 | }, |
| 33 | "tsec": { |
| 34 | "type": "string", |
| 35 | "default": "" |
| 36 | }, |
| 37 | "hide": { |
| 38 | "type": "boolean", |
| 39 | "default": true |
| 40 | }, |
| 41 | "url": { |
| 42 | "type": "string", |
| 43 | "default": "" |
| 44 | }, |
| 45 | "unitNum": { |
| 46 | "type": "string", |
| 47 | "default": "hou" |
| 48 | }, |
| 49 | "unitTime": { |
| 50 | "type": "string", |
| 51 | "default": "sec" |
| 52 | }, |
| 53 | "repeats": { |
| 54 | "type": "string", |
| 55 | "default": "" |
| 56 | }, |
| 57 | "news": { |
| 58 | "type": "string", |
| 59 | "default": "" |
| 60 | } |
| 61 | } |
| 62 | } |