Expand description
Shared logic for framework-specific codegen files (React, Svelte, Vue, SolidJS).
Each framework wrapper follows the same structure: imports, type helpers, void/non-void key unions, interface definitions, query/mutation overloads, and implementation blocks. This module extracts all the common patterns so that individual framework modules only supply their unique constants.
Structs§
- Framework
Config - Configuration for generating a framework-specific reactive wrapper file.
Constants§
- GENERATED_
HEADER - Header comment included at the top of every generated file.
Functions§
- generate_
framework_ file - Generates a complete framework-specific reactive wrapper file.
- is_
void_ input - Returns
trueif the procedure takes no input (void).