MCPcopy Create free account
hub / github.com/tinyplex/tinybase / ContextCheckpoints

Function ContextCheckpoints

test/unit/core/ui-react/components.test.tsx:610–622  ·  view source on GitHub ↗
({
  checkpoints,
  checkpointsById,
  checkpointsId,
}: {
  readonly checkpoints?: Checkpoints;
  readonly checkpointsById?: {[checkpointsId: string]: Checkpoints};
  readonly checkpointsId?: string;
})

Source from the content-addressed store, hash-verified

608);
609
610const ContextCheckpoints = ({
611 checkpoints,
612 checkpointsById,
613 checkpointsId,
614}: {
615 readonly checkpoints?: Checkpoints;
616 readonly checkpointsById?: {[checkpointsId: string]: Checkpoints};
617 readonly checkpointsId?: string;
618}) => (
619 <Provider checkpoints={checkpoints} checkpointsById={checkpointsById}>
620 <ContextCheckpointsChild checkpointsId={checkpointsId} />
621 </Provider>
622);
623
624const ContextCheckpointsChild = ({
625 checkpointsId,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…