@ecogood/e-calculator-schemas
v1.9.0
Published
A package providing the schemas for the e-calculator application.
Downloads
94
Readme
E-Calculator Schemas
This project contains the data transfer objects which are used by the E-Calculator REST API and the E-Calculator Frontend.
Install
npm install e-calculator-schemas
Usage
import { RegionResponseBodySchema } from 'e-calculator-schemas/dist/region.dto';
const regionJson = {
countryCode: 'DEU',
countryName: 'Germany',
};
RegionResponseBodySchema.parse(regionJson);
Publish
npm publish