summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorjules <jules@carbonpictures.com>2017-05-18 17:01:53 +0000
committerjules <jules@carbonpictures.com>2017-05-18 17:01:53 +0000
commit9162db14b4337b3ced1c002ea13ff627a681b5b5 (patch)
treecac70c20e3477a0fb324db0f45d1e77013a62860 /index.js
parent588eb0b54c3ec641bb5bdb61fdbb0f7915548265 (diff)
parentabf3e14963a9b67526dfee912c3db46aacece4ee (diff)
Merge branch 'master' of ghghgh.us:armory-fmf-cms
Diffstat (limited to 'index.js')
-rw-r--r--index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/index.js b/index.js
index 5cd8692..03d9578 100644
--- a/index.js
+++ b/index.js
@@ -7,6 +7,7 @@ var viewConfig = {
data: [
{type: 'timeline', query: '*'},
{type: 'page', query: '*'},
+ {type: 'feed', query: '*'},
]
}
@@ -51,11 +52,18 @@ var app = okcms.createApp({
body: {type: 'text'},
disabled: {type: 'flag'},
},
+ stream: {
+ id: {type: 'string', hidden: true},
+ title: {type: 'string'},
+ streams: {type: 'link-list'},
+ disabled: {type: 'flag'},
+ },
},
resources: [
{ type: 'timeline' },
{ type: 'page' },
+ { type: 'stream' },
],
views: {