@interrep/data-models
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

InterRep data models

Mongoose schemas and models used by InterRep.

Github license NPM version Downloads npm bundle size (scoped) Linter eslint Code style prettier


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

Readme

Keywords

none

Package Sidebar

Install

npm i @interrep/data-models

Weekly Downloads

0

Version

0.1.4

License

MIT

Unpacked Size

49.5 kB

Total Files

43

Last publish

Collaborators

  • cedoor