{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "form-generator",
  "description": "Form code generation utilities",
  "dependencies": [
    "zod"
  ],
  "files": [
    {
      "path": "src/registry/default/lib/form-generator.ts",
      "content": "import { generateFormComponent } from \"./form-generator/index\";\nexport * from \"./form-generator/index\";\nexport default generateFormComponent;\n",
      "type": "registry:lib",
      "target": "lib/form-generator.ts"
    },
    {
      "path": "src/registry/default/types.ts",
      "content": "import * as z from \"zod\";\nimport { type OAuthProvider } from \"@/lib/oauth-providers-config\";\nimport { type AuthPluginsConfig } from \"./lib/form-generator/types\";\nimport type { CountryCode } from \"libphonenumber-js\";\n\nexport interface FormField {\n  type: \"input\" | \"textarea\" | \"select\" | \"checkbox\" | \"radio\" | \"date\" | \"file\" | \"switch\" | \"number\";\n  name: string;\n  label: string;\n  placeholder?: string;\n  description?: string;\n  required?: boolean;\n  options?: Array<{ label: string; value: string }>;\n  inputType?: \"text\" | \"email\" | \"password\" | \"tel\" | \"url\" | \"number\" | \"date\";\n  accept?: string;\n  uiType?: string;\n  uiConfig?: {\n    rows?: number;\n    country?: CountryCode;\n    icon?: string;\n    accept?: string;\n  };\n}\n\nexport interface FormStep {\n  id: string;\n  title: string;\n  description?: string;\n  fields: FormField[];\n}\n\nexport interface FormTemplate {\n  id: string;\n  name: string;\n  description: string;\n  category: \"authentication\" | \"contact\" | \"ecommerce\" | \"survey\" | \"profile\" | \"booking\";\n  schema: z.ZodObject<any>;\n  defaultValues: Record<string, any>;\n  fields?: FormField[];\n  steps?: FormStep[];\n  oauthProviders?: OAuthProvider[];\n  authPlugins?: AuthPluginsConfig;\n}\n",
      "type": "registry:lib",
      "target": "lib/types.ts"
    }
  ],
  "type": "registry:lib"
}