@agape/model
TypeScript icon, indicating that this package has built-in type declarations

0.6.2 • Public • Published

@agape/model

Descriptive data models

Synopsis

@Model class FooModel {

    @Field foo: string
    
    @Field bar: number

    @Field baz: string[]
    
}

Description

Annotate class based object models

Class Decorators

Model

Property Decorators

Field

Primary

Required

Choices( choices )

Author

Maverik Minett maverik.minett@gmail.com

Copyright

© 2022-2023 Maverik Minett

License

MIT

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @agape/model

    Weekly Downloads

    0

    Version

    0.6.2

    License

    MIT

    Unpacked Size

    43.4 kB

    Total Files

    39

    Last publish

    Collaborators

    • maverik.minett