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

Function useRelationshipIds

src/ui-solid/primitives.ts:1373–1380  ·  view source on GitHub ↗
(
  relationshipsOrRelationshipsId?: MaybeRelationshipsOrRelationshipsId,
)

Source from the content-addressed store, hash-verified

1371 useProvideThing(relationshipsId, relationships, OFFSET_RELATIONSHIPS);
1372
1373export const useRelationshipIds = (
1374 relationshipsOrRelationshipsId?: MaybeRelationshipsOrRelationshipsId,
1375): Accessor<Ids> =>
1376 useListenable(
1377 RELATIONSHIP + IDS,
1378 useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
1379 ReturnType.Array,
1380 );
1381
1382export const useRemoteRowId = (
1383 relationshipId: MaybeAccessor<Id>,

Callers 3

ReaderFunction · 0.90
primitives.test.tsFile · 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…