FIELD_SCHEMA_VALIDATORS
constFIELD_SCHEMA_VALIDATORS:object
Defined in: packages/core/src/fields/constants.ts:246
Convex storage validator names a field’s schema: { validator } option may
select, mirroring Convex’s own vocabulary. number accepts "int64";
select accepts "literal" | "string"; relationship/upload accept
"id" | "string". Each field type’s own schema input narrows this to its
own subset.
Type Declaration
Section titled “Type Declaration”
readonlyid:"id"="id"
readonlyint64:"int64"="int64"
literal
Section titled “literal”
readonlyliteral:"literal"="literal"
string
Section titled “string”
readonlystring:"string"="string"