@slc-wms/dbmod
v1.0.2
Published
Types and validation of the database model on the SLC-WMS software
Downloads
6
Readme
Database-Model
This package contains TypeScript
types support and zod
validation for each of the schemas at the WMS software's database model.
Installation
This package should be online on npm
, so to add this to any other service, it should be okay to just run the following command:
npm install @slc-wms/dbmod
If by any means the package is not online, the src
folder can be extracted from this repo and referenced locally in the service which is being developed. Just make sure to have both TypeScript
and zod
installed in that service. To do so, run the following commands:
npm install -D typescript
npm install zod