summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-04-06 19:11:22 -0400
committerJules Laplace <jules@okfoc.us>2016-04-06 19:11:22 -0400
commit654053736a74aa8cd4344e9c4f5e5a7ebeefc33e (patch)
tree42a9be805974f4ae40d33f16dce58404aa983cd8 /examples
parent6c09824946214db696beb59e34ce2e448d504abc (diff)
Store booleans as type boolean
Diffstat (limited to 'examples')
-rw-r--r--examples/db.json3
-rw-r--r--examples/index.js1
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/db.json b/examples/db.json
index da7c19a..8805342 100644
--- a/examples/db.json
+++ b/examples/db.json
@@ -207,7 +207,8 @@
"title": "clouds35.mp3",
"thumb": "http://okfocus.s3.amazonaws.com/misc/okcms/video.png"
}
- ]
+ ],
+ "flagged": true
}
]
} \ No newline at end of file
diff --git a/examples/index.js b/examples/index.js
index 57bce4b..fe37954 100644
--- a/examples/index.js
+++ b/examples/index.js
@@ -24,6 +24,7 @@ var app = okcms.createApp({
test: {
id: {type: 'string', hidden: true},
title: {type: 'string'},
+ flagged: {type: 'flag'},
media: {type: 'media-list'},
}
},