diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-06-17 10:18:25 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-06-17 10:18:25 +0200 |
| commit | 50868ae494c02ca194306c872fe895aa4a8c4dc6 (patch) | |
| tree | f97d1579ea9be1a990a8a140b23ff3a4300b1c9e | |
| parent | 57eaac988406416af9b7c56197bb003c194ff225 (diff) | |
add field for price
| -rw-r--r-- | db.json | 9 | ||||
| -rw-r--r-- | index.js | 6 |
2 files changed, 15 insertions, 0 deletions
@@ -2640,5 +2640,14 @@ "__index": 0, "dateCreated": "Thu, 18 May 2017 20:41:15 GMT" } + ], + "fmf": [ + { + "id": "fmf", + "title": "FMF", + "price": "5.00", + "__index": 0, + "dateCreated": "Sat, 17 Jun 2017 08:18:17 GMT" + } ] }
\ No newline at end of file @@ -75,6 +75,11 @@ var app = okcms.createApp({ streams: {type: 'link-list'}, disabled: {type: 'flag'}, }, + fmf: { + id: {type: 'string', hidden: true}, + title: {type: 'string'}, + price: {type: 'string'}, + }, }, resources: [ @@ -84,6 +89,7 @@ var app = okcms.createApp({ { type: 'stream' }, { type: 'drone' }, { type: 'about' }, + { type: 'fmf' }, ], views: { |
