diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/db.json | 9 | ||||
| -rw-r--r-- | examples/index.js | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/examples/db.json b/examples/db.json index 1d0cba4..e0ea06b 100644 --- a/examples/db.json +++ b/examples/db.json @@ -2,9 +2,9 @@ "meta": [], "bread": [ { - "type": "rye", - "description": "really a very tasty bread!", - "id": "rye" + "type": "pretzel", + "description": "really a very tasty bread! yup yes", + "id": "pretzel" }, { "type": "bagel", @@ -14,7 +14,8 @@ { "type": "pumpernickel", "description": "grandma's recipe", - "id": "pumpernickel" + "id": "pumpernickel", + "title": "Pumpernickel" } ], "page": [ diff --git a/examples/index.js b/examples/index.js index e55b717..d64f2f9 100644 --- a/examples/index.js +++ b/examples/index.js @@ -12,6 +12,7 @@ var app = okcms.createApp({ }, bread: { type: {type: 'string', id: true}, + title: {type: 'string'}, description: {type: 'string'} } }, |
