loopback-custom-delete-mixin

1.0.4 • Public • Published

LOOPBACK-CUSTOM-DELETE-MIXIN

Introduction

This is an application for Loopback

Installation

npm install loopback-custom-delete-mixin

Add the mixin to model-config.json : /node_modules/loopback-custom-delete-mixin

Description

This mixin overrides the 'deleteById' function and sets a 'status' property if needed. Deleting an instance now changes the 'status' property to 'DISABLED'

Authors

Package Sidebar

Install

npm i loopback-custom-delete-mixin

Weekly Downloads

1

Version

1.0.4

License

MIT

Last publish

Collaborators

  • manugnommo