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

Function useRelationshipIds

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

Source from the content-addressed store, hash-verified

947var useRelationshipsOrRelationshipsById = (relationshipsOrRelationshipsId) => useThingOrThingById(relationshipsOrRelationshipsId, OFFSET_RELATIONSHIPS);
948var useProvideRelationships = (relationshipsId, relationships) => useProvideThing(relationshipsId, relationships, OFFSET_RELATIONSHIPS);
949var useRelationshipIds = (relationshipsOrRelationshipsId) => useListenable(
950 RELATIONSHIP + IDS,
951 useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
952 1
953);
954var useRemoteRowId = (relationshipId, localRowId, relationshipsOrRelationshipsId) => useListenable(
955 REMOTE_ROW_ID,
956 useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),

Callers

nothing calls this directly

Calls 2

useListenableFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…