FormState Type — ui Architecture
Architecture documentation for the FormState type/interface in form-next-demo-schema.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 4495d39b_3a7f_634a_1801_2394d2e6ab07["FormState"] 40d9dad0_1a0e_66b8_2f97_7511168d16e4["form-next-demo-schema.ts"] 4495d39b_3a7f_634a_1801_2394d2e6ab07 -->|defined in| 40d9dad0_1a0e_66b8_2f97_7511168d16e4 style 4495d39b_3a7f_634a_1801_2394d2e6ab07 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/form-next-demo-schema.ts lines 14–18
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-demo-schema.ts.
Where is FormState defined?
FormState is defined in apps/v4/registry/new-york-v4/examples/form-next-demo-schema.ts at line 14.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free