Prometheus Entity Management API
    Preparing search index...

    useEntityQuery — rich 2.0 hook (replaces useEntityView).

    Same feature surface as useEntityView (view descriptor, hybrid mode, pagination, realtime sorted insertion, toolbar setters) but transport is looked up from the registry — callers no longer pass remoteFetch.

    Usage: registerEntityTransport("Client", makeRestTransport({ supabase, table: "client" }));

    const { items, setFilter, setSort, setSearch, fetchNextPage, error } = useEntityQuery("Client", { view: defaultView });

    interface UseEntityQueryOptions {
        enabled?: boolean;
        initialIds?: string[];
        initialTotal?: number;
        mode?: CompletenessMode;
        remoteDebounce?: number;
        view?: ViewDescriptor;
    }
    Index
    enabled?: boolean

    Skip all fetching when false. isLoading is immediately false.

    initialIds?: string[]

    SSR-seed ids for the base list slot (avoids flash-of-empty-state).

    initialTotal?: number

    SSR-seed total for completeness heuristics.

    Force a completeness mode instead of auto-detecting.

    remoteDebounce?: number

    Debounce delay (ms) for view changes before a remote re-fetch fires.

    Initial view descriptor (filter/sort/search).