TinyBase logoTinyBase

Modelling methods

This is the collection of modelling methods within the Tools interface. There are 4 modelling methods in total.

getPrettyStoreApi

The getPrettyStoreApi method attempts to return prettified code-generated .d.ts and .ts(x) files that describe the schema of a Store and React bindings (since v3.1) in an ORM style.

getStoreApi

The getStoreApi method returns code-generated .d.ts and .ts(x) files that describe the schema of a Store and React bindings (since v3.1) in an ORM style.

getStoreTablesSchema

The getStoreTablesSchema method returns the TablesSchema of the Store as an object.

getStoreValuesSchema

The getStoreValuesSchema method returns the ValuesSchema of the Store as an object.