MCPcopy
hub / github.com/tinyplex/tinybase / useCreateIndexes

Function useCreateIndexes

src/ui-react/hooks.ts:1593–1597  ·  view source on GitHub ↗
(
  store: Store | undefined,
  create: (store: Store) => Indexes,
  createDeps?: DependencyList,
)

Source from the content-addressed store, hash-verified

1591 );
1592
1593export const useCreateIndexes: typeof useCreateIndexesDecl = (
1594 store: Store | undefined,
1595 create: (store: Store) => Indexes,
1596 createDeps?: DependencyList,
1597): Indexes | undefined => useCreate(store, create, createDeps);
1598
1599export const useIndexesIds: typeof useIndexesIdsDecl = () =>
1600 useThingIds(OFFSET_INDEXES);

Callers 3

TestFunction · 0.90
IndexesFunction · 0.50
IndexesFunction · 0.50

Calls 1

useCreateFunction · 0.70

Tested by 1

TestFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…