/** * manifest generate command * * Generates code from IR using a projection. */ interface GenerateOptions { projection: string; surface: string; output: string; auth: string; database: string; runtime: string; response: string; /** * Pre-resolved projection options sourced from manifest.config.{yaml,ts}. * The CLI layer in index.ts merges these with --auth/--database/etc. * flag overrides before invoking generateCommand. * * Keeping this generic (`Record`) means we never have * to update GenerateOptions when new projection-level config keys land * — the projection's normalizeOptions is the contract. */ projectionOptionsFromConfig?: Record; /** * `--check` drift mode: regenerate in memory and compare to the committed * files without writing; exit non-zero if any generated file differs. * `prettier --check` semantics. */ check?: boolean; /** * Preview intended artifact paths/bytes without writing. * Distinct from `--check` (drift compare + fail). */ dryRun?: boolean; /** * When true, fail by throwing instead of calling process.exit(). Set by the * batch driver (generateAllFromConfig) so one projection's failure doesn't * abort the whole run — the batch aggregates and exits once. */ throwOnError?: boolean; /** * Config G8 — when true, skip `hooks.lifecycle.afterGenerate` (batch driver * runs it once after all projections succeed). */ skipLifecycleHooks?: boolean; } /** * Generate command handler */ export declare function generateCommand(ir: string, options: GenerateOptions): Promise; /** * Run every projection declared in manifest.config.yaml, in declaration order, * from the compiled IR — the one-command replacement for hand-chained per- * projection scripts. Aggregates failures/drift across projections and exits * once at the end. */ export declare function generateAllFromConfig(options?: { check?: boolean; dryRun?: boolean; irOverride?: string; }): Promise; export {}; //# sourceMappingURL=generate.d.ts.map