Coordinates multi-file TypeScript code generation with full cross-file deduplication.
Each piece of generated code lives in exactly one file:
ash_types.ts— type aliases, resource schemas, filter types, utility types, custom imports,channel payload type aliases and events mapsash_zod.ts— ALL Zod schemas: resource-level + per-action RPC + per-route controllerash_rpc.ts— imports types from ash_types.ts (no Zod), hook types, helper functions,per-action input types, per-action result types, per-action RPC functionsroutes.ts— imports types from ash_types.ts (no Zod), static code, per-route pathhelpers, per-route input types, per-route action functionsash_typed_channels.ts— imports types from ash_types.ts, channel subscription helper functionsnamespace/*.ts— re-exports: functions + types from ash_rpc.ts, Zod schemas from ash_zod.ts
Returns a map of %{file_path => content} for all generated files.
Summary
Functions
Generates all TypeScript files for the application.