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

Function useTableIds

src/ui-solid/primitives.ts:500–507  ·  view source on GitHub ↗
(
  storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
)

Source from the content-addressed store, hash-verified

498];
499
500export const useTableIds = (
501 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
502): Accessor<Ids> =>
503 useListenable(
504 TABLE_IDS,
505 useStoreOrStoreById(storeOrStoreId),
506 ReturnType.Array,
507 );
508
509export const useHasTable = (
510 tableId: MaybeAccessor<Id>,

Callers 4

ReaderFunction · 0.90
primitives.test.tsFile · 0.90
TablesViewFunction · 0.90
TablesViewFunction · 0.90

Calls 2

useListenableFunction · 0.70
useStoreOrStoreByIdFunction · 0.70

Tested by 1

ReaderFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…