MCPcopy Index your code
hub / github.com/tinyplex/tinybase / useSortedRowIdsImpl

Function useSortedRowIdsImpl

src/ui-react/hooks.ts:579–592  ·  view source on GitHub ↗
(
  tableId: Id,
  cellId?: Id,
  descending?: boolean,
  offset?: number,
  limit?: number | undefined,
  storeOrStoreId?: StoreOrStoreId,
)

Source from the content-addressed store, hash-verified

577};
578
579const useSortedRowIdsImpl = (
580 tableId: Id,
581 cellId?: Id,
582 descending?: boolean,
583 offset?: number,
584 limit?: number | undefined,
585 storeOrStoreId?: StoreOrStoreId,
586): Ids =>
587 useListenable(
588 SORTED_ROW_IDS,
589 useStoreOrStoreById(storeOrStoreId),
590 ReturnType.Array,
591 [tableId, cellId, descending, offset, limit],
592 );
593
594export const useSortedRowIdsListenerImpl = (
595 tableId: Id,

Callers

nothing calls this directly

Calls 2

useStoreOrStoreByIdFunction · 0.90
useListenableFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…