summaryrefslogtreecommitdiff
path: root/app/node_modules/okschema/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-02-23 18:08:38 +0100
committerJules Laplace <julescarbon@gmail.com>2021-02-23 18:08:38 +0100
commit19516de0a43ac5f2b0afc9891bbef09d229ce4e6 (patch)
tree224a5ecb4e3f6130c4a1c6b3b125421ee2d9a6a7 /app/node_modules/okschema/index.js
parent542ebb603ecd8a60fc1daf50404cbc24a92e1d74 (diff)
allow arbitrary file upload for pdf
Diffstat (limited to 'app/node_modules/okschema/index.js')
-rw-r--r--app/node_modules/okschema/index.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/node_modules/okschema/index.js b/app/node_modules/okschema/index.js
index 39845ea..e91caf7 100644
--- a/app/node_modules/okschema/index.js
+++ b/app/node_modules/okschema/index.js
@@ -23,7 +23,10 @@ var types = {
},
'video': {
parent: {type: 'string'},
- // Let parent handle validation
+ assertValid: function(spec, value) {}
+ },
+ 'file': {
+ parent: {type: 'string'},
assertValid: function(spec, value) {}
},
'enum': {