Skip to main content

Data Models

With the absense of using a schema based database like PostgreSQL, it's important that we maintain a schema in the docs and as much as possible in code. TypeScript makes this much easier and the following examples are generated from documents in our collections.

tip

Use json2ts.com to generator TypeScript interfaces from JSON data online.

Ideally, these will also be mapped out in a drawing program such as Figma Jam so that it will serve as a better discussion surfance.