Float64NumberField
Defined in: packages/core/src/fields/number/types.ts:170
Resolved number() field storing the default v.float64() shape.
Extends
Section titled “Extends”NumberFieldBase<TCollectionSlug,TFieldMeta>
Type Parameters
Section titled “Type Parameters”TCollectionSlug
Section titled “TCollectionSlug”TCollectionSlug extends VexResourceSlug = VexResourceSlug
TFieldMeta
Section titled “TFieldMeta”TFieldMeta extends object = { }
Properties
Section titled “Properties”admin:
NumberFieldAdminConfig<TCollectionSlug>
Defined in: packages/core/src/fields/number/types.ts:164
Resolved admin UI configuration with all defaults applied.
Inherited from
Section titled “Inherited from”NumberFieldBase.admin
defaultValue
Section titled “defaultValue”defaultValue:
number|undefined
Defined in: packages/core/src/fields/number/types.ts:176
Pre-filled value shown in the admin form when creating a new field. Does not apply to database values
Overrides
Section titled “Overrides”NumberFieldBase.defaultValue
dependsOn?
Section titled “dependsOn?”
optionaldependsOn?: readonlystring[]
Defined in: packages/core/src/fields/baseTypes.ts:663
Other fields whose change re-runs this field’s validate() on a partial
write.
Inherited from
Section titled “Inherited from”NumberFieldBase.dependsOn
description?
Section titled “description?”
optionaldescription?:string
Defined in: packages/core/src/fields/baseTypes.ts:651
Semantic description of the field. Used in three places:
- Helper text rendered below the field input in the admin form UI.
- As the Zod
.meta({ description })value for form validation. - As the JSDoc comment on the generated document interface property.
To write a separate JSDoc comment, use interfaceDescription in addition.
Inherited from
Section titled “Inherited from”NumberFieldBase.description
index?
Section titled “index?”
optionalindex?:ResolvedFieldIndexConfigInput
Defined in: packages/core/src/fields/baseTypes.ts:655
Convex index name for this field, or the object form for a compound index.
Inherited from
Section titled “Inherited from”NumberFieldBase.index
interfaceDescription?
Section titled “interfaceDescription?”
optionalinterfaceDescription?:string
Defined in: packages/core/src/fields/baseTypes.ts:653
The JSDoc comment on the generated document interface property
Inherited from
Section titled “Inherited from”NumberFieldBase.interfaceDescription
interfaceType
Section titled “interfaceType”interfaceType:
"number"
Defined in: packages/core/src/fields/number/types.ts:175
TypeScript type string written to generated document interfaces (e.g. "string", "number", "string[]").
Overrides
Section titled “Overrides”NumberFieldBase.interfaceType
label:
string
Defined in: packages/core/src/fields/number/types.ts:162
Display label shown in the admin form. Always set — inferred from the field key if not provided.
Inherited from
Section titled “Inherited from”NumberFieldBase.label
optionalmax?:FieldLimit
Defined in: packages/core/src/fields/number/types.ts:180
Resolved maximum allowed numeric value.
meta:
TFieldMeta
Defined in: packages/core/src/fields/baseTypes.ts:658
Inherited from
Section titled “Inherited from”NumberFieldBase.meta
optionalmin?:FieldLimit
Defined in: packages/core/src/fields/number/types.ts:178
Resolved minimum allowed numeric value.
nullable
Section titled “nullable”nullable:
boolean
Defined in: packages/core/src/fields/baseTypes.ts:635
Whether null is a legal value for this field, in addition to its normal type.
Inherited from
Section titled “Inherited from”NumberFieldBase.nullable
required
Section titled “required”required:
boolean
Defined in: packages/core/src/fields/number/types.ts:163
Whether this field is required in the database schema.
Inherited from
Section titled “Inherited from”NumberFieldBase.required
schema?
Section titled “schema?”
optionalschema?:undefined
Defined in: packages/core/src/fields/number/types.ts:174
optionalstep?:number
Defined in: packages/core/src/fields/number/types.ts:166
Resolved step increment for the number input’s native spinner.
NumberFieldInputBase.step
Inherited from
Section titled “Inherited from”NumberFieldBase.step
readonlytype:"number"
Defined in: packages/core/src/fields/number/types.ts:161
Inherited from
Section titled “Inherited from”NumberFieldBase.type
Methods
Section titled “Methods”validate()?
Section titled “validate()?”
optionalvalidate(props):void|Promise<void>
Defined in: packages/core/src/fields/number/types.ts:181
Server-only async validation, run after the generated Zod schema passes.
Parameters
Section titled “Parameters”FieldValidateProps<TCollectionSlug, number>
Returns
Section titled “Returns”void | Promise<void>
Overrides
Section titled “Overrides”NumberFieldBase.validate