Crates.io | ac_tram_types |
lib.rs | ac_tram_types |
version | 2.0.1 |
source | src |
created_at | 2022-12-16 16:06:10.297967 |
updated_at | 2023-07-14 15:48:57.934709 |
description | types for TRAM |
homepage | |
repository | |
max_upload_size | |
id | 738940 |
size | 47,706 |
This repo contains type / schema definitions for the types used in the TRAM system.
This repo implements typeshare for generating Typescript types from the Rust definitions
cargo install typeshare-cli
generate typescript types
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).