Expand description
AST-based TypeScript declaration emitter for Wesley L1 IR.
Constants§
- DEFAULT_
CODEC_ IMPORT - Default import path the emitted module uses to reach the TypeScript
Writer/Reader/CodecErrorprimitives. Suitable for files written to<root>/src/generated/<app>/<schema>.codec.generated.tswhen the primitives live at<root>/src/codec.ts. - GENERATOR_
NAME - Stable generator identifier recorded in native emit metadata.
- GENERATOR_
VERSION - Version of the TypeScript emitter crate recorded in native emit metadata.
- LE_
BINARY_ GENERATOR_ NAME - Stable generator identifier for the LE binary codec TypeScript emitter.
Functions§
- emit_
le_ binary_ typescript - Emit a TypeScript LE binary codec module for the given Wesley IR.
- emit_
typescript - Emits TypeScript declarations for a Wesley L1 IR document.
- emit_
typescript_ with_ operations - Emits TypeScript declarations and operation bindings for a Wesley L1 IR document.