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

Function useCheckpointIds

src/ui-react/hooks.ts:2177–2184  ·  view source on GitHub ↗
(
  checkpointsOrCheckpointsId?: CheckpointsOrCheckpointsId,
)

Source from the content-addressed store, hash-verified

2175): void => useProvideThing(checkpointsId, checkpoints, OFFSET_CHECKPOINTS);
2176
2177export const useCheckpointIds: typeof useCheckpointIdsDecl = (
2178 checkpointsOrCheckpointsId?: CheckpointsOrCheckpointsId,
2179): CheckpointIds =>
2180 useListenable(
2181 CHECKPOINT + IDS,
2182 useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),
2183 ReturnType.Checkpoints,
2184 );
2185
2186export const useCheckpoint: typeof useCheckpointDecl = (
2187 checkpointId: Id,

Callers 6

ReaderFunction · 0.90
ContextCheckpointsChildFunction · 0.90
TestFunction · 0.90
useUndoInformationFunction · 0.90
useRedoInformationFunction · 0.90
getUseCheckpointViewFunction · 0.90

Calls 2

useListenableFunction · 0.70

Tested by 3

ReaderFunction · 0.72
ContextCheckpointsChildFunction · 0.72
TestFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…