2.2.4 • Published 1 year ago
te-data-models v2.2.4
TE Data Models
A library contains general schemas, models and constants which is used to share among TE App systems (owned by the co (owned by the construct team)
Usage with YALC
When you run it with calc, make sure to always COMMIT before publish. Otherwise, you will not get compiled files.
Installation
Adding the underneath code to packages.json and run yarn or npm install
"te-data-models": "https://<github_key>:x-oauth-basic@github.com/timeedit/te-data-models.git"Build
yarn build:devor
npm run build:devUsage
Schema
import { FormSchema } from 'te-data-models/schema'Models
import { Activity } from 'te-data-models/models'Constants
import { teCoreActivityStatuses } from 'te-data-models/constant/activity.constant'Available Entities
Schemas
- FormSchema
- FormInstanceSchema
- RecipientSchema
- RecipientsSchema
- ActivitySchema
- ReservationTemplateMappingSchema
Models
- Activity
- ActivityValue
- SchedulingError
Constants
- Activity
- Form
- FormInstance
- TeCoreProps
New Version
npm version patchgit push --follow-tags