From 19516de0a43ac5f2b0afc9891bbef09d229ce4e6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 23 Feb 2021 18:08:38 +0100 Subject: allow arbitrary file upload for pdf --- app/node_modules/okschema/index.js | 5 +- app/node_modules/okschema/package-lock.json | 97 +++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 app/node_modules/okschema/package-lock.json (limited to 'app/node_modules/okschema') 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': { diff --git a/app/node_modules/okschema/package-lock.json b/app/node_modules/okschema/package-lock.json new file mode 100644 index 0000000..a644e05 --- /dev/null +++ b/app/node_modules/okschema/package-lock.json @@ -0,0 +1,97 @@ +{ + "name": "okschema", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "lodash.clonedeep": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-3.0.0.tgz", + "integrity": "sha1-yXbX64SdQT9yYc8Gu8zCB5DNh24=", + "requires": { + "lodash._baseclone": "^3.0.0", + "lodash._bindcallback": "^3.0.0" + }, + "dependencies": { + "lodash._baseclone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash._baseclone/-/lodash._baseclone-3.0.1.tgz", + "integrity": "sha1-VfZluG+d2Zc/iONc02pfFEumMMQ=", + "requires": { + "lodash._arraycopy": "^3.0.0", + "lodash._arrayeach": "^3.0.0", + "lodash._basecopy": "^3.0.0", + "lodash._basefor": "^3.0.0", + "lodash.isarray": "^3.0.0", + "lodash.isnative": "^3.0.0", + "lodash.keys": "^3.0.0" + }, + "dependencies": { + "lodash._arraycopy": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._arraycopy/-/lodash._arraycopy-3.0.0.tgz", + "integrity": "sha1-due3wfH7klRzdIeKVi7Qaj5Q9uE=" + }, + "lodash._arrayeach": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._arrayeach/-/lodash._arrayeach-3.0.0.tgz", + "integrity": "sha1-urFWsqkNPxu9XGU0AzSeXlkz754=" + }, + "lodash._basecopy": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.0.tgz", + "integrity": "sha1-Tp0BqYLPfyuse6WtuFuzrgacuOY=" + }, + "lodash._basefor": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash._basefor/-/lodash._basefor-3.0.1.tgz", + "integrity": "sha1-z0yL9NPHWK5ZijFhwIFKhzco8t0=" + }, + "lodash.isarray": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.1.tgz", + "integrity": "sha1-Wsh/RuoFzhqNJ9ivu+0QQ3Ccaw0=" + }, + "lodash.isnative": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash.isnative/-/lodash.isnative-3.0.1.tgz", + "integrity": "sha1-qRF2CAzy9/IDKUW61U/Fr4WlVMM=" + }, + "lodash.keys": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.0.5.tgz", + "integrity": "sha1-Zi/d/SHdSVlKFs3j3tOELE8GYb8=", + "requires": { + "lodash.isarguments": "^3.0.0", + "lodash.isarray": "^3.0.0", + "lodash.isnative": "^3.0.0" + }, + "dependencies": { + "lodash.isarguments": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.0.1.tgz", + "integrity": "sha1-Bvu/8Bm1Yng3r3IS8X9YyfT5DiA=" + } + } + } + } + }, + "lodash._bindcallback": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._bindcallback/-/lodash._bindcallback-3.0.0.tgz", + "integrity": "sha1-FYffoVdjTBP4ripgwb1VF8GACTc=" + } + } + }, + "mschema": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mschema/-/mschema-0.5.5.tgz", + "integrity": "sha1-HxPsoFTmmwl9IWgIyIEgSjywM2o=" + }, + "validator": { + "version": "3.37.0", + "resolved": "https://registry.npmjs.org/validator/-/validator-3.37.0.tgz", + "integrity": "sha1-QSuyu7vH3YdImhiMbL2QxhoGg4I=" + } + } +} -- cgit v1.2.3-70-g09d2