summaryrefslogtreecommitdiff
path: root/examples/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/index.js')
-rw-r--r--examples/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/index.js b/examples/index.js
index bf51dfc..4bf385f 100644
--- a/examples/index.js
+++ b/examples/index.js
@@ -21,12 +21,18 @@ var app = okcms.createApp({
video: {type: 'video'},
images: {type: 'captioned-image-list'}
},
+ test: {
+ id: {type: 'string', hidden: true},
+ title: {type: 'string'},
+ media: {type: 'media-list'},
+ }
},
resources: [
{ type: 'page', static: {id: 'about'}},
{ type: 'page', static: {id: 'contact'}},
{ type: 'bread' },
+ { type: 'test' },
],
services: {