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

Function useThingIds

src/ui-solid/context.ts:153–156  ·  view source on GitHub ↗
(offset: Offsets)

Source from the content-addressed store, hash-verified

151};
152
153export const useThingIds = (offset: Offsets): Accessor<Ids> => {
154 const contextValue = useContext(Context)?.value ?? EMPTY_CONTEXT;
155 return () => objIds((contextValue()[offset * 2 + 1] ?? {}) as IdObj<unknown>);
156};

Callers 8

useStoreIdsFunction · 0.90
useMetricsIdsFunction · 0.90
useIndexesIdsFunction · 0.90
useRelationshipsIdsFunction · 0.90
useQueriesIdsFunction · 0.90
useCheckpointsIdsFunction · 0.90
usePersisterIdsFunction · 0.90
useSynchronizerIdsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…