0.1.4 • Published 4 years ago
@interrep/data-models v0.1.4
🛠 Install
npm or yarn
Install the @interrep/data-models
package with npm:
npm i @interrep/data-models --save
or yarn:
yarn add @interrep/data-models
📜 Usage
You can find the Mongoose model of each entity on src/<entityName>/<EntityName.model.ts>
. Each model has predefined functions and some custom static functions defined on src/<entityName>/<EntityName>.statics.ts
. The @interrep/data-models
package exports types and models of each entity.