From 6d61b0c1f182bfb573a4e63733d4069932f69c40 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 18 May 2017 22:38:56 +0200 Subject: tentative drone/intro fields --- index.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'index.js') diff --git a/index.js b/index.js index eeb3f2b..2423a3b 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,8 @@ var viewConfig = { {type: 'timeline', query: '*'}, {type: 'page', query: '*'}, {type: 'stream', query: '*'}, + {type: 'drone', query: '*'}, + {type: 'about', query: '*'}, ] } @@ -46,6 +48,25 @@ var app = okcms.createApp({ links: {type: 'link-list'}, disabled: {type: 'flag'}, }, + drone: { + id: {type: 'string', hidden: true}, + title: {type: 'string'}, + intro: {type: 'text'}, + strikes: {type: 'string'}, + totalKilled: {type: 'string'}, + civiliansKilled: {type: 'string'}, + childrenKilled: {type: 'string'}, + links: {type: 'link-list'}, + }, + about: { + id: {type: 'string', hidden: true}, + title: {type: 'string'}, + show: {type: 'text'}, + herzogBio: {type: 'text'}, + deMeuronBio: {type: 'text'}, + aiWeiWeiBio: {type: 'text'}, + video: {type: 'video'}, + }, page: { id: {type: 'string', hidden: true}, title: {type: 'string'}, @@ -64,6 +85,8 @@ var app = okcms.createApp({ { type: 'timeline' }, { type: 'page' }, { type: 'stream' }, + { type: 'drone' }, + { type: 'about' }, ], views: { -- cgit v1.2.3-70-g09d2