1.0.0 • Published 5 years ago
loopback-disabler-mixin v1.0.0
Loopback Disabler Mixin
This loopback middleware is an easyish way to disable common remote methods
Useage
Install
npm i loopback-disabler-mixin --save
Integrate with Loopback
Include the mixin in your model-config.json
file
{
"mixins": [
"../node_modules/loopback-disabler-mixin"
]
}
Then add the mix in to your model.json
file
"mixins": {
"Disabler": {
"type": "relation | model | limited",
"relation": "RELATION NAME"
}
},
1.0.0
5 years ago