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

Function useCheckpointIds

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react/index.js:1165–1169  ·  view source on GitHub ↗
(checkpointsOrCheckpointsId)

Source from the content-addressed store, hash-verified

1163var useCheckpointsOrCheckpointsById = (checkpointsOrCheckpointsId) => useThingOrThingById(checkpointsOrCheckpointsId, OFFSET_CHECKPOINTS);
1164var useProvideCheckpoints = (checkpointsId, checkpoints) => useProvideThing(checkpointsId, checkpoints, OFFSET_CHECKPOINTS);
1165var useCheckpointIds = (checkpointsOrCheckpointsId) => useListenable(
1166 CHECKPOINT + IDS,
1167 useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),
1168 2
1169);
1170var useCheckpoint = (checkpointId, checkpointsOrCheckpointsId) => useListenable(
1171 CHECKPOINT,
1172 useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),

Callers 3

useUndoInformationFunction · 0.70
useRedoInformationFunction · 0.70
getUseCheckpointViewFunction · 0.70

Calls 2

useListenableFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…