summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-06-17 10:18:25 +0200
committerJules Laplace <julescarbon@gmail.com>2017-06-17 10:18:25 +0200
commit50868ae494c02ca194306c872fe895aa4a8c4dc6 (patch)
treef97d1579ea9be1a990a8a140b23ff3a4300b1c9e /index.js
parent57eaac988406416af9b7c56197bb003c194ff225 (diff)
add field for price
Diffstat (limited to 'index.js')
-rw-r--r--index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/index.js b/index.js
index d913fcd..dc81d80 100644
--- a/index.js
+++ b/index.js
@@ -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: {