diff options
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -12,26 +12,23 @@ var app = okcms.createApp({ schemas: { story: { id: {type: 'string', hidden: true}, - date: {type: 'string'}, title: {type: 'string'}, image: {type: 'image'}, - body: {type: 'text'} + body: {type: 'text'}, }, archive: { id: {type: 'string', hidden: true}, - code: {type: 'string'}, title: {type: 'string'}, - image: {type: 'image'}, - body: {type: 'text'}, + images: {type: 'triple-captioned-image-list'}, }, hub: { id: {type: 'string', hidden: true}, - date: {type: 'string'}, + date: {type: 'date'}, title: {type: 'string'}, subtitle: {type: 'string'}, - image: {type: 'image'}, body: {type: 'text'}, - link: {type: 'string'} + link: {type: 'string'}, + image: {type: 'captioned-image-list'}, }, }, |
