Prometheus Entity Management API
    Preparing search index...

    Ordered IDs for a list query plus pagination metadata — never embedded entity payloads. Cross-view reactivity depends on this: when entities[type][id] updates, every list containing that id re-resolves rows from the graph.

    interface ListState {
        currentPage: number | null;
        error: string | null;
        hasNextPage: boolean;
        hasPrevPage: boolean;
        ids: string[];
        isFetching: boolean;
        isFetchingMore: boolean;
        lastError: EntityError | null;
        lastFetched: number | null;
        nextCursor: string | null;
        pageSize: number | null;
        prevCursor: string | null;
        stale: boolean;
        total: number | null;
    }
    Index
    currentPage: number | null
    error: string | null
    hasNextPage: boolean
    hasPrevPage: boolean
    ids: string[]
    isFetching: boolean
    isFetchingMore: boolean
    lastError: EntityError | null

    Typed error instance for 2.0 hooks (useEntities, useEntityQuery). Carries TerminalError / TransientError so consumers can instanceof-check the failure mode without parsing the string in error. Both fields are written together by setListError; the string error field remains for back-compat with 1.x consumers.

    lastFetched: number | null
    nextCursor: string | null
    pageSize: number | null
    prevCursor: string | null
    stale: boolean
    total: number | null