summaryrefslogtreecommitdiff
path: root/app/node_modules/okschema
diff options
context:
space:
mode:
authorSean Fridman <fridman@mail.sfsu.edu>2015-06-19 15:29:19 -0400
committerSean Fridman <fridman@mail.sfsu.edu>2015-06-19 15:30:59 -0400
commit27abfdd15714895894565124bcc660b9d6774494 (patch)
tree920db8ec4972e0b8aa24b184d4be986033b2452b /app/node_modules/okschema
parent5f002254c523bb9651e627c2fbd7d9cd9b021568 (diff)
Add 'flag' data type
Diffstat (limited to 'app/node_modules/okschema')
-rw-r--r--app/node_modules/okschema/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/node_modules/okschema/index.js b/app/node_modules/okschema/index.js
index 67f6e42..89b59cc 100644
--- a/app/node_modules/okschema/index.js
+++ b/app/node_modules/okschema/index.js
@@ -69,6 +69,10 @@ var types = {
'date': {
parent: 'string',
assertValid: function(spec, value) {}
+ },
+ 'flag': {
+ parent: 'string',
+ assertValid: function(spec, value) {}
}
}