Validation / File Upload / New Endpoints

This commit is contained in:
2020-07-11 18:06:39 +02:00
parent d913fb6603
commit dfcb78f979
193 changed files with 17962 additions and 60 deletions

12
node_modules/append-field/index.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
var parsePath = require('./lib/parse-path')
var setValue = require('./lib/set-value')
function appendField (store, key, value) {
var steps = parsePath(key)
steps.reduce(function (context, step) {
return setValue(context, step, context[step.key], value)
}, store)
}
module.exports = appendField