TinyBase logoTinyBase beta

Modelling methods

This is the collection of modelling methods within the Tools interface. There are only three modelling methods, getPrettyStoreApi, getStoreApi, and getStoreSchema.

getPrettyStoreApi

The getPrettyStoreApi method attempts to returns a prettified code-generated .d.ts file and a .ts file that describe the schema of a Store in an ORM style.

getStoreApi

The getStoreApi method returns a code-generated .d.ts file and a .ts file that describe the schema of a Store in an ORM style.

getStoreSchema

The getStoreSchema method returns the Schema of the Store as an object.