Expand description
TypeScript schema generation for runtime channel binding.
Generates runtime schema information that allows the TypeScript runtime to discover and bind streaming channels (Tx/Rx) in method arguments.
The generated schemas use the new EnumVariant[] format:
{ kind: 'enum', variants: [
{ name: 'Circle', fields: [{ kind: 'f64' }] },
{ name: 'Point', fields: null },
] }Functionsยง
- generate_
binding_ serializers - Generate BindingSerializers for runtime channel binding. These provide encode/decode functions based on schema element types.
- generate_
method_ schemas - Generate method schemas for runtime channel binding and encoding/decoding.
- generate_
schema - Generate a TypeScript Schema object literal for a type. Used by the runtime binder to find and bind Tx/Rx channels.
- generate_
schemas - Generate complete schema exports (method schemas + serializers).