summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js13
1 files changed, 5 insertions, 8 deletions
diff --git a/index.js b/index.js
index dfb8d557..147dd92f 100644
--- a/index.js
+++ b/index.js
@@ -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'},
},
},