import { z } from 'zod'

export const ScaffoldMigrationInputSchema = z.object({
  name: z.string().min(1).regex(/^[A-Z][A-Za-z0-9]*$/),
  module: z.string().min(1),
  appCode: z.string().min(1),
  projectPath: z.string().min(1),
})

export type ScaffoldMigrationInput = z.infer<typeof ScaffoldMigrationInputSchema>
export interface ValidationResult { valid: boolean; errors: string[]; warnings: string[] }
