npm.io
1.7.1 • Published 1 year ago

@allgemein/schema-api

Licence
MIT
Version
1.7.1
Deps
0
Size
389 kB
Vulns
0
Weekly
0

@allgemein/schema-api

build> codecov Dependency Status

With the decorators

@Entity

@Property

@PropertyOf

@Schema

@Object

can be used to define a instancable json schema. This can be analysed and dynamically used to instance differetn kind of models.

Transformations:

internal runtime structure -> json schema json schema -> internal runtime structure annotation -> internal runtime structure json schema -> generate classes ES6 + TS generate classes ES6 + TS -> runtime loading generate classes ES6 + TS -> json schema

Keywords