diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/db.json | 40 | ||||
| -rw-r--r-- | examples/index.js | 2 |
2 files changed, 38 insertions, 4 deletions
diff --git a/examples/db.json b/examples/db.json index f7936d5..6c2d428 100644 --- a/examples/db.json +++ b/examples/db.json @@ -6,18 +6,52 @@ "description": "really a very tasty bread! yup yes", "color": "green", "id": "pretzel", - "title": "Pretzel Chips" + "title": "Pretzel Chips", + "images": [ + { + "uri": "cool", + "caption": "cool" + } + ], + "video": { + "url": "", + "type": "", + "token": "", + "title": "", + "thumb": "" + } }, { "type": "bagel", "description": "very good and dense bread", - "id": "bagel" + "id": "bagel", + "title": "nice", + "color": "blue", + "images": [ + { + "uri": "http://del.h-cdn.co/assets/cm/15/10/54f928d7ada8d_-_1347910942518.jpg", + "caption": "boop" + } + ], + "video": { + "url": "https://vimeo.com/112498725", + "type": "vimeo", + "token": "112498725", + "title": "FW14-2H-VIDEO-V4 2", + "thumb": "http://i.vimeocdn.com/video/497493142_640.jpg" + } }, { "type": "pumpernickel", "description": "grandma's recipe", "id": "pumpernickel", - "title": "Pumpernickel" + "title": "Pumpernickel", + "images": [ + { + "uri": "cool", + "caption": "cool" + } + ] } ], "page": [ diff --git a/examples/index.js b/examples/index.js index 1a5fbbe..95d2bcf 100644 --- a/examples/index.js +++ b/examples/index.js @@ -16,7 +16,7 @@ var app = okcms.createApp({ description: {type: 'text'}, color: {type: 'enum', options: ["red","blue","green"]}, video: {type: 'video'}, - images: {type: 'images'}, + images: {type: 'captioned-image-list'} } }, |
