diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/db.json | 24 | ||||
| -rw-r--r-- | examples/index.js | 1 |
2 files changed, 20 insertions, 5 deletions
diff --git a/examples/db.json b/examples/db.json index ab4f7e1..6c2d428 100644 --- a/examples/db.json +++ b/examples/db.json @@ -4,15 +4,22 @@ { "type": "pretzel", "description": "really a very tasty bread! yup yes", - "color": "blue", + "color": "green", "id": "pretzel", - "title": "", + "title": "Pretzel Chips", "images": [ { "uri": "cool", "caption": "cool" } - ] + ], + "video": { + "url": "", + "type": "", + "token": "", + "title": "", + "thumb": "" + } }, { "type": "bagel", @@ -23,9 +30,16 @@ "images": [ { "uri": "http://del.h-cdn.co/assets/cm/15/10/54f928d7ada8d_-_1347910942518.jpg", - "caption": "beep" + "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", diff --git a/examples/index.js b/examples/index.js index 9c5b7b4..95d2bcf 100644 --- a/examples/index.js +++ b/examples/index.js @@ -15,6 +15,7 @@ var app = okcms.createApp({ title: {type: 'string'}, description: {type: 'text'}, color: {type: 'enum', options: ["red","blue","green"]}, + video: {type: 'video'}, images: {type: 'captioned-image-list'} } }, |
