All generated TS models in two files

This commit is contained in:
Gregory Schier
2024-09-19 13:22:56 -07:00
parent 3ee9ed8bf4
commit 53b8463223
73 changed files with 256 additions and 361 deletions

View File

@@ -1,9 +1,9 @@
fn main() -> Result<(), Box<dyn std::error::Error>> {
// Tell ts-rs where to generate types to
println!("cargo:rustc-env=TS_RS_EXPORT_DIR=../../plugin-runtime-types/src/gen");
// Compile protobuf types
tonic_build::compile_protos("../../proto/plugins/runtime.proto")?;
Ok(())
}