@interrep/data-models
v0.1.4
Published
Mongoose schemas and models used by InterRep.
Downloads
3
Readme
🛠 Install
npm or yarn
Install the @interrep/data-models package with npm:
npm i @interrep/data-models --saveor 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.
