tesler-platform / tesler-schema

Typings and schema generator for Tesler platform

Home Page:http://idocs.tesler.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tesler Schema

This package includes schemas shared by Tesler and Tesler-UI in form of Typescript types, their corresponding JSON schemas and utilities to extend built-in types and rebuild the schemas.

Usage

Install this as a dependency for your project:

yarn add @tesler-ui/schema

Add a launch command to the script section of your package.json file:

"scripts": {
    "gen:schema": "node ./node_modules/@tesler-ui/schema/bin/build-schema"
},

Disable @tesler-ui/schema in the browser section of your package.json file:

"browser": {
    "@tesler-ui/schema": false
}

Launch command to generate schemas

yarn gen:schema

After that JSON files describing schema for Tesler screens, views, widgets and sql business components should appear in schemas folder of your project

Extending schemas for your project

Coming soon

About

Typings and schema generator for Tesler platform

http://idocs.tesler.io/

License:Apache License 2.0


Languages

Language:TypeScript 99.0%Language:JavaScript 1.0%