pub fn compile_program_modules(
stack_spec: SerializableStackSpec,
config: Option<TypeScriptStackConfig>,
) -> Result<TypeScriptStackOutput, String>Expand description
Compile only the program-SDK surface of a stack spec — account types +
Zod schemas, instruction handlers, and standalone per-program consts.
No entities, views, or stack const are emitted, and the spec’s entities
may be empty. Used by a4 sdk create --ts --program-only.