Skip to content

ResolvedFieldIndexInput

Defined in: packages/core/src/fields/baseTypes.ts:468

A field’s resolved index, after defaults are applied. Structurally the same shape as FieldIndexInput but not parametrized by the owning collection or field key — the names were already checked against them at input time (FieldIndexInput’s generics), so the resolved field’s additionalFields is simply the collection’s keys, with no further type-level narrowing to repeat.

optional additionalFields?: readonly string[]

Defined in: packages/core/src/fields/baseTypes.ts:472

Fields after this one, in index order.


optional draftStatus?: true | "both"

Defined in: packages/core/src/fields/baseTypes.ts:474

Draft-status narrowing for this index.

FieldIndexInput.draftStatus


name: string

Defined in: packages/core/src/fields/baseTypes.ts:470

The Convex index name.