loopback-disabler-mixin

1.0.0 • Public • Published

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"
  }
},

Package Sidebar

Install

npm i loopback-disabler-mixin

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

6.04 kB

Total Files

7

Last publish

Collaborators

  • danwakeem