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

Function ContextRelationships

test/unit/core/ui-react/components.test.tsx:542–554  ·  view source on GitHub ↗
({
  relationships,
  relationshipsById,
  relationshipsId,
}: {
  readonly relationships?: Relationships;
  readonly relationshipsById?: {[relationshipsId: string]: Relationships};
  readonly relationshipsId?: string;
})

Source from the content-addressed store, hash-verified

540);
541
542const ContextRelationships = ({
543 relationships,
544 relationshipsById,
545 relationshipsId,
546}: {
547 readonly relationships?: Relationships;
548 readonly relationshipsById?: {[relationshipsId: string]: Relationships};
549 readonly relationshipsId?: string;
550}) => (
551 <Provider relationships={relationships} relationshipsById={relationshipsById}>
552 <ContextRelationshipsChild relationshipsId={relationshipsId} />
553 </Provider>
554);
555
556const ContextRelationshipsChild = ({
557 relationshipsId,

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…