OptionalenabledSkip all fetching when false. isLoading is immediately false.
OptionalinitialSSR-seed ids for the base list slot (avoids flash-of-empty-state).
OptionalinitialSSR-seed total for completeness heuristics.
OptionalmodeForce a completeness mode instead of auto-detecting.
OptionalremoteDebounce delay (ms) for view changes before a remote re-fetch fires.
OptionalviewInitial view descriptor (filter/sort/search).
useEntityQuery— rich 2.0 hook (replacesuseEntityView).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 passremoteFetch.Usage: registerEntityTransport("Client", makeRestTransport({ supabase, table: "client" }));
const { items, setFilter, setSort, setSearch, fetchNextPage, error } = useEntityQuery("Client", { view: defaultView });