diff options
| author | stone <jules+okfprojz@okfoc.us> | 2015-11-19 21:07:55 -0500 |
|---|---|---|
| committer | stone <jules+okfprojz@okfoc.us> | 2015-11-19 21:07:55 -0500 |
| commit | 40855344cb9d09f386c46e775107b669a9868057 (patch) | |
| tree | 88c4c5006280753ae4de3dae9834f704574992de | |
| parent | 7f65ee019a6f4dbab968b706d8c93f31d7fc364c (diff) | |
the store can be closed
| -rw-r--r-- | db.json | 19 | ||||
| -rw-r--r-- | index.js | 7 |
2 files changed, 26 insertions, 0 deletions
@@ -203,5 +203,24 @@ "dateCreated": "Tue, 17 Nov 2015 21:03:57 GMT", "tag": "care" } + ], + "store": [ + { + "id": "stone-island", + "title": "Stone Island", + "StoreIsOpen": "true", + "ClosedStoreImages": [ + { + "uri": "https://ltho.s3.amazonaws.com/f4c50852-0305-4e69-b125-5c71876cbbb4.png", + "caption": "" + }, + { + "uri": "https://ltho.s3.amazonaws.com/22c5df60-ad7c-4c8a-8e3e-d52247e22f01.jpg", + "caption": "" + } + ], + "__index": "0", + "dateCreated": "Fri, 20 Nov 2015 00:45:03 GMT" + } ] }
\ No newline at end of file @@ -37,6 +37,12 @@ var app = okcms.createApp({ body: {type: 'text'}, tag: {type: 'string'}, }, + store: { + id: {type: 'string', hidden: true}, + title: {type: 'string'}, + StoreIsOpen: {type: 'enum', options: ["true","false"] }, + ClosedStoreImages: {type: 'captioned-image-list'}, + }, }, resources: [ @@ -44,6 +50,7 @@ var app = okcms.createApp({ { type: 'archive' }, { type: 'hub' }, { type: 'page' }, + { type: 'store' }, ], views: { |
