Skip to content

TDocument

TDocument<TShape> = Record<string, unknown> & TShape & VexDocument

Defined in: packages/core/src/documents/types.ts:37

Alias for VexDocument that also satisfies Record<string, unknown>.

Use this type when a generic Record index signature is required alongside the Convex system fields — for example, as the data type in TanStack Table or as the form defaultValues record.

TShape = { }

VexDocument for the base type