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

Function useCreateCheckpoints

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

Source from the content-addressed store, hash-verified

2151 );
2152
2153export const useCreateCheckpoints: typeof useCreateCheckpointsDecl = (
2154 store: Store | undefined,
2155 create: (store: Store) => Checkpoints,
2156 createDeps?: DependencyList,
2157): Checkpoints | undefined => useCreate(store, create, createDeps);
2158
2159export const useCheckpointsIds: typeof useCheckpointsIdsDecl = () =>
2160 useThingIds(OFFSET_CHECKPOINTS);

Callers 3

TestFunction · 0.90
CheckpointsFunction · 0.50
CheckpointsFunction · 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…