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

Function resolveStore

src/ui-svelte/functions.svelte.ts:218–221  ·  view source on GitHub ↗
(
  storeOrStoreId?: MaybeGetter<Store | Id | undefined>,
)

Source from the content-addressed store, hash-verified

216 objIds((contextValue[offset * 2 + 1] ?? EMPTY_OBJ) as IdObj<unknown>);
217
218export const resolveStore = (
219 storeOrStoreId?: MaybeGetter<Store | Id | undefined>,
220): (() => Store | undefined) =>
221 resolveProvidedThing<Store>(storeOrStoreId as any, OFFSET_STORE);
222
223export const resolveMetrics = (
224 metricsOrMetricsId?: MaybeGetter<Metrics | Id | undefined>,

Callers 15

hasTablesFunction · 0.70
getTablesFunction · 0.70
getTableIdsFunction · 0.70
hasTableFunction · 0.70
getTableFunction · 0.70
getTableCellIdsFunction · 0.70
hasTableCellFunction · 0.70
getRowCountFunction · 0.70
getRowIdsFunction · 0.70
getSortedRowIdsFunction · 0.70
hasRowFunction · 0.70
getRowFunction · 0.70

Calls 1

resolveProvidedThingFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…