FormState Type — ui Architecture
Architecture documentation for the FormState type/interface in form-next-complex-schema.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 4e254b96_e555_d4fc_d2e8_f0c1166544f7["FormState"] ae4ed9c2_4beb_f5aa_bc82_ed3428a78bb6["form-next-complex-schema.ts"] 4e254b96_e555_d4fc_d2e8_f0c1166544f7 -->|defined in| ae4ed9c2_4beb_f5aa_bc82_ed3428a78bb6 style 4e254b96_e555_d4fc_d2e8_f0c1166544f7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/form-next-complex-schema.ts lines 30–34
export type FormState = {
values: z.infer<typeof formSchema>
errors: null | Partial<Record<keyof z.infer<typeof formSchema>, string[]>>
success: boolean
}
Source
Frequently Asked Questions
What is the FormState type?
FormState is a type/interface in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/form-next-complex-schema.ts.
Where is FormState defined?
FormState is defined in apps/v4/registry/new-york-v4/examples/form-next-complex-schema.ts at line 30.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free