summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
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 71e8acd..9461c35 100644
--- a/index.js
+++ b/index.js
@@ -62,6 +62,13 @@ var app = okcms.createApp({
body: {type: 'text'},
disabled: {type: 'flag'},
},
+ essay: {
+ id: {type: 'string', hidden: true},
+ title: {type: 'string'},
+ byline: {type: 'string'},
+ body: {type: 'text'},
+ disabled: {type: 'flag'},
+ },
stream: {
id: {type: 'string', hidden: true},
title: {type: 'string'},
@@ -74,6 +81,7 @@ var app = okcms.createApp({
resources: [
{ type: 'timeline' },
{ type: 'page' },
+ { type: 'essay' },
{ type: 'stream' },
{ type: 'drone' },
{ type: 'about' },