Interface: WalkResult
Defined in: packages/core/src/optimizers/types.ts:33
The result returned by walkSchema() when an optimization level is specified.
Contains the full FormField[] tree plus a lite Zod schema for submit-time validation
and metadata that codegen uses to reconstruct the lite schema in generated files.
Properties
fields
fields:
FormField[]
Defined in: packages/core/src/optimizers/types.ts:35
Ordered, sorted FormField tree produced by the schema walker
schemaLite
schemaLite:
$ZodType<unknown,unknown,$ZodTypeInternals<unknown,unknown>> |null
Defined in: packages/core/src/optimizers/types.ts:37
Lite schema for submit-time validation (null when no effects were found)
schemaLiteInfo
schemaLiteInfo:
SchemaLiteInfo
Defined in: packages/core/src/optimizers/types.ts:39
Codegen metadata — describes how to reconstruct schemaLite in generated code