|
1 |
| -[ |
2 |
| - { |
3 |
| - "name": "dogs", |
4 |
| - "columns": [ |
5 |
| - { |
6 |
| - "id": "name", |
7 |
| - "name": "Name", |
8 |
| - "type": "STRING", |
9 |
| - "primary": true, |
10 |
| - "ui:createUpdatePage:placeholder": "Please fill name" |
11 |
| - }, |
12 |
| - { "id": "age", "name": "Age", "type": "NUMBER" }, |
13 |
| - { |
14 |
| - "id": "color", |
15 |
| - "name": "Color", |
16 |
| - "type": "STRING", |
17 |
| - "ui:createUpdatePage:enum": ["white", "black"], |
18 |
| - "type:createUpdatePage": "RadioGroup" |
19 |
| - }, |
20 |
| - { |
21 |
| - "id": "tags", |
22 |
| - "name": "Tags", |
23 |
| - "type": "STRING_ARRAY", |
24 |
| - "ui:presets": ["spike", "cookie"] |
25 |
| - }, |
26 |
| - { |
27 |
| - "id": "photos", |
28 |
| - "name": "Photos", |
29 |
| - "type": "STRING_ARRAY", |
30 |
| - "type:createUpdatePage": ["MultiLineInputBox", "WithPreview"], |
31 |
| - "type:listPage": [ |
32 |
| - "ImageLink", |
33 |
| - "{\"url\":\"{{record.photos.[0]}}\",\"imgSrc\":\"{{record.photos.[0]}}\"}" |
34 |
| - ], |
35 |
| - "type:getPage": [ |
36 |
| - "ImageLink", |
37 |
| - "{\"url\":\"{{record.photos.[0]}}\",\"imgSrc\":\"{{record.photos.[0]}}\"}" |
38 |
| - ] |
39 |
| - }, |
40 |
| - { "id": "isAlive", "name": "Alive", "type": "BOOL" } |
41 |
| - ] |
42 |
| - } |
43 |
| -] |
| 1 | +{ |
| 2 | + "name": "pet", |
| 3 | + "description": "pet database", |
| 4 | + "tables": [ |
| 5 | + { |
| 6 | + "name": "dogs", |
| 7 | + "columns": [ |
| 8 | + { |
| 9 | + "id": "name", |
| 10 | + "name": "Name", |
| 11 | + "type": "STRING", |
| 12 | + "primary": true, |
| 13 | + "ui:createUpdatePage:placeholder": "Please fill name" |
| 14 | + }, |
| 15 | + { "id": "age", "name": "Age", "type": "NUMBER" }, |
| 16 | + { |
| 17 | + "id": "color", |
| 18 | + "name": "Color", |
| 19 | + "type": "STRING", |
| 20 | + "ui:createUpdatePage:enum": ["white", "black"], |
| 21 | + "type:createUpdatePage": "RadioGroup" |
| 22 | + }, |
| 23 | + { |
| 24 | + "id": "tags", |
| 25 | + "name": "Tags", |
| 26 | + "type": "STRING_ARRAY", |
| 27 | + "ui:presets": ["spike", "cookie"] |
| 28 | + }, |
| 29 | + { |
| 30 | + "id": "photos", |
| 31 | + "name": "Photos", |
| 32 | + "type": "STRING_ARRAY", |
| 33 | + "type:createUpdatePage": ["MultiLineInputBox", "WithPreview"], |
| 34 | + "type:listPage": [ |
| 35 | + "ImageLink", |
| 36 | + "{\"url\":\"{{record.photos.[0]}}\",\"imgSrc\":\"{{record.photos.[0]}}\"}" |
| 37 | + ], |
| 38 | + "type:getPage": [ |
| 39 | + "ImageLink", |
| 40 | + "{\"url\":\"{{record.photos.[0]}}\",\"imgSrc\":\"{{record.photos.[0]}}\"}" |
| 41 | + ] |
| 42 | + }, |
| 43 | + { "id": "isAlive", "name": "Alive", "type": "BOOL" } |
| 44 | + ] |
| 45 | + } |
| 46 | + ] |
| 47 | +} |
0 commit comments