Skip to content

commitTsFieldToInputSchema

commitTsFieldToInputSchema(props): ZodType

Defined in: packages/core/src/fields/commitTs/inputSchema.ts:17

Builds a Zod schema for a commitTs() field. Never reached by a real create/update form submission — getFieldsInputSchema (fields/utils.ts) skips every commitTs-typed field before dispatching here, the same way it already skips admin.hidden fields. Kept only so adminFieldToInputSchema’s switch stays exhaustive over every AdminDataField member.

Input props.

CommitTsField

The resolved commitTs field definition.

ZodType

z.unknown().optional() — accepts and ignores anything.