Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USER MIXIN

This module is designed for the Strongloop Loopback framework. It automatically adds createdBy and updatedBy attributes to any Model.

createdBy will be set to the id of the user which created the instance

updatedBy will be set to the id of the user which last updated the instance

This module is implemented with the before save Operation Hook which requires the loopback-datasource-juggler module greater than v2.23.0.

LICENSE

ISC

About

A mixin to automatically generate createdBy and updatedBy attributes for loopback Models

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages