MCPcopy Index your code
hub / github.com/tinyplex/tinybase / useProvideRelationships

Function useProvideRelationships

src/ui-react/hooks.ts:1696–1700  ·  view source on GitHub ↗
(
  relationshipsId: Id,
  relationships: Relationships,
)

Source from the content-addressed store, hash-verified

1694 useThingOrThingById(relationshipsOrRelationshipsId, OFFSET_RELATIONSHIPS);
1695
1696export const useProvideRelationships: typeof useProvideRelationshipsDecl = (
1697 relationshipsId: Id,
1698 relationships: Relationships,
1699): void =>
1700 useProvideThing(relationshipsId, relationships, OFFSET_RELATIONSHIPS);
1701
1702export const useRelationshipIds: typeof useRelationshipIdsDecl = (
1703 relationshipsOrRelationshipsId?: RelationshipsOrRelationshipsId,

Callers 2

ProvideRelationshipsFunction · 0.90
ProvideThingsFunction · 0.90

Calls 1

useProvideThingFunction · 0.90

Tested by 2

ProvideRelationshipsFunction · 0.72
ProvideThingsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…