0.1.4 • Published 4 years ago

@interrep/data-models v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

🛠 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.