npm i feathers-utils
hooks/checkMulti()
: throws if the request is multi data, but the service hasallowsMulti(method)
returnsfalse
hooks/setData({ allowUndefined: Boolean })
mixins/debounceMixin
&mixins/DebouncedStore
addHook
: add hooks to specific servicesfilterQuery
isMulti(context) => Boolean
: returns true, iffind
,create/patch/remove
: multimarkHookForSkip
: add hookName tocontext.params.skipHooks
- also seeshouldSkip
mergeQuery
: deeply merges queriesmergeArrays
: merges arrays with intersection optionspushSet
: if existing array: push, else setshouldSkip
: checkscontext.params.skipHooks
for'all' | '${hookName}' | '${type}:${hookName}'
- also seemarkHookForSkip