Skip to main content

Module schema

Module schema 

Source
Expand description

TypeScript generation for canonical service schema tables and descriptors.

The generated descriptor carries method metadata plus a precomputed canonical schema table for method args and responses. Encoding and decoding are driven entirely by that canonical schema data at runtime.

Functionsยง

generate_descriptor
Generate the service descriptor constant.
generate_send_schema_table
Generate TypeScript constants for canonical service schemas.