export interface IntakeViewField { key: string; label: string; required?: boolean; } export interface IntakeViewStep { key: string; label: string; fields: IntakeViewField[]; } export interface Schema { project: string; name: string; resource: string; route: string; /** * JSON string on the real CLI (Nx's array-typed CLI coercion only supports * comma-separated primitives, not JSON). A real array is also accepted for * programmatic callers (e.g. tests). */ steps: string | IntakeViewStep[]; requiresAuth?: boolean; } export interface NormalizedSchema extends Omit { projectRoot: string; steps: IntakeViewStep[]; requiresAuth: boolean; /** PascalCase base name, e.g. "Application" for --name application. */ baseName: string; }