TRAM types

This repo contains type / schema definitions for the types used in the TRAM system.

typeshare

This repo implements typeshare for generating Typescript types from the Rust definitions

  1. install Rust via rustup.
  2. install typeshare cli via cargo: cargo install typeshare-cli
  3. run the type generation command:

this will add create tram_types.ts locally, and under the TRAM frontend source (provided TRAM repo is cloned next to this one in the same folder).