This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
0.2.0 (January 28, 2021)
Features
- Source types for JSON schemas are now exported and can be extended in your application to customize generated schemas.
0.3.0 is scheduled to export a function that will take customized types as arguments and will generate schemas based on provided customization.
import { ScreenMetaJson } from '@tesler-ui/schema'
export interface CustomScreenMetaJson extends ScreenMeta {
customField: number // add or modify fields if your *.screen.json file format is different
}
- Some types that previously were declared in Tesler-UI are moved here as they in fact affect both backend and frontend applications; Tesler UI will reexport those types so nothing should break if you referenced them from your application directly.