Created
August 27, 2019 22:06
-
-
Save fmoessle/2415df8b4614c5433c7734a63003f945 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { disallow } = require('feathers-hooks-common') | |
module.exports = { | |
before: { | |
all: [], | |
find: [], | |
get: [ | |
disallow() | |
], | |
create: [ | |
disallow() | |
], | |
update: [ | |
disallow() | |
], | |
patch: [ | |
disallow() | |
], | |
remove: [ | |
disallow() | |
] | |
}, | |
after: { | |
all: [], | |
find: [], | |
get: [], | |
create: [], | |
update: [], | |
patch: [], | |
remove: [] | |
}, | |
error: { | |
all: [], | |
find: [], | |
get: [], | |
create: [], | |
update: [], | |
patch: [], | |
remove: [] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment