ac_tram_types

Crates.ioac_tram_types
lib.rsac_tram_types
version2.0.1
sourcesrc
created_at2022-12-16 16:06:10.297967
updated_at2023-07-14 15:48:57.934709
descriptiontypes for TRAM
homepage
repository
max_upload_size
id738940
size47,706
(beckerinj)

documentation

README

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:
    • via vscode task: generate typescript types
    • via command: typeshare . --lang=typescript --output-file=./tram_types.ts

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).

Commit count: 0

cargo fmt