Sanity Library Reference Docs
    Preparing search index...

    Interface InstancePreviewList

    interface InstancePreviewList {
        drained: boolean;
        error: string | undefined;
        loading: boolean;
        previews: readonly WorkflowInstancePreview[] | undefined;
        unreadable: readonly InvalidDoc[];
    }
    Index

    Properties

    drained: boolean

    The background hydration finished — the list is the whole filtered set, so counts over it are totals, not floors.

    error: string | undefined

    Set when a fetch failed; the previews hold whatever had landed.

    loading: boolean
    previews: readonly WorkflowInstancePreview[] | undefined

    Newest started first; undefined until the first page lands.

    unreadable: readonly InvalidDoc[]

    Rows the read discipline refused, flagged rather than silently dropped.