Sanity Library Reference Docs
    Preparing search index...
    ResolvedFieldEntry: {
        [K in FieldKind]: {
            _key: string;
            _type: K;
            description?: string;
            name: string;
            options?: ChoiceOptions;
            resolvedAt?: string;
            title?: string;
            validation?: ScalarValidation;
            value: FieldValueMap[K];
        } & (K extends "object" ? { fields: FieldShape[] } : Record<never, never>) & (
            K extends "array" ? { of: FieldShape[] } : Record<never, never>
        ) & (
            K extends "assignee"
            | "assignees"
                ? { roles?: string[] }
                : Record<never, never>
        ) & (
            K extends "doc.ref"
            | "doc.refs"
            | "subject"
                ? { types?: string[] }
                : Record<never, never>
        )
    }[FieldKind]

    A resolved field entry as the engine persists it on an instance. Discriminated by _type (bare — unique within this union); the value type follows FieldValueMap. A query-sourced entry (its definition's initialValue is {type:'query'}, of any kind) additionally carries resolvedAt — the lake-read time — so resolvedAt is provenance-driven, not kind-specific. object / array entries carry their declared sub-field shape (fields / of) — and the reference kinds (refKindAcceptsTypes) their declared accepted types, and assignment kinds their eligible roles — so the instance is self-describing for op-time validation and rendering.