TE Data Models
A library contains general schemas, models and constants which is used to share among TE App systems
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:dev
or
npm run build:dev
Usage
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