Skip to main content

emit_split

Function emit_split 

Source
pub fn emit_split(
    ir: &IrSpec,
    no_jsdoc: bool,
    split_by: SplitBy,
    source_dir: &str,
) -> Vec<GeneratedFile>
Expand description

Emit files for split layout mode.

Produces:

  • types.ts — centralized types (same as modular)
  • _client-base.ts — the ApiClient class with the private request method
  • {group}.ts — per-group files with standalone functions
  • sse.ts — SSE runtime (same as modular)
  • index.ts — barrel re-export