summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/index.js b/index.js
index 5927a34..6a0e080 100644
--- a/index.js
+++ b/index.js
@@ -17,6 +17,11 @@ var app = okcms.createApp({
production: isProduction,
schemas: {
+ page: {
+ id: {type: 'string', hidden: true},
+ title: {type: 'string'},
+ body: {type: 'string'},
+ },
project: {
id: {type: 'string', hidden: true},
year: {type: 'number'},
@@ -25,10 +30,8 @@ var app = okcms.createApp({
link: {type: 'string'},
NatureOfWork: {type: 'text'},
brief: {type: 'text'},
- image: {type: 'image'},
+ media: {type: 'media-list'},
containImage: {type: 'flag'},
- iframe: {type: 'string'},
- video: {type: 'string'},
press: {type: 'link-list'},
},
},