/**
 * scaffold-layout/types.ts — Input contract + generated file shape.
 */
import { z } from 'zod';

export const ScaffoldLayoutInputSchema = z.object({
  projectPath: z.string().min(1),
  appCode: z.string().min(1),
  force: z.boolean().default(false),
});

export type ScaffoldLayoutInput = z.infer<typeof ScaffoldLayoutInputSchema>;

export interface GeneratedFile {
  path: string;
  content: string;
}
