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

Function useRelationshipIds

src/ui-react/hooks.ts:1702–1709  ·  view source on GitHub ↗
(
  relationshipsOrRelationshipsId?: RelationshipsOrRelationshipsId,
)

Source from the content-addressed store, hash-verified

1700 useProvideThing(relationshipsId, relationships, OFFSET_RELATIONSHIPS);
1701
1702export const useRelationshipIds: typeof useRelationshipIdsDecl = (
1703 relationshipsOrRelationshipsId?: RelationshipsOrRelationshipsId,
1704): Ids =>
1705 useListenable(
1706 RELATIONSHIP + IDS,
1707 useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
1708 ReturnType.Array,
1709 );
1710
1711export const useRemoteRowId: typeof useRemoteRowIdDecl = (
1712 relationshipId: Id,

Callers 2

ReaderFunction · 0.90
RelationshipsViewFunction · 0.90

Calls 2

useListenableFunction · 0.70

Tested by 1

ReaderFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…