pub fn compile_stack_spec(
stack_spec: SerializableStackSpec,
config: Option<TypeScriptStackConfig>,
) -> Result<TypeScriptStackOutput, String>Expand description
Compile a full SerializableStackSpec (multi-entity) into a single TypeScript file.
Generates:
- Interfaces for ALL entities (OreRound, OreTreasury, OreMiner, etc.)
- A single unified stack definition with nested views per entity
- View helpers (stateView, listView)