Skip to main content

Function: registerSchemaConfigs()

registerSchemaConfigs(registry, moduleExports, schemaConfigs): void

Defined in: packages/core/src/register.ts:266

Register defineConfig({ schemas: ... }) entries by exported schema identity.

Any configured export that resolves to a Zod schema in moduleExports is attached to the registry via registerDeep(), so a reused exported subschema carries its default component + nested field config everywhere it appears.

Parameters

registry

$ZodRegistry<FormMeta>

moduleExports

Record<string, unknown>

schemaConfigs

&#123;[key: string]: ZodTypeConfig<string, Record<string, unknown>> | undefined; &#125; | undefined

Returns

void