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

Function useRelationships

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

Source from the content-addressed store, hash-verified

944var useCreateRelationships = (store, create, createDeps) => useCreate(store, create, createDeps);
945var useRelationshipsIds = () => useThingIds(OFFSET_RELATIONSHIPS);
946var useRelationships = (id) => useThing(id, OFFSET_RELATIONSHIPS);
947var useRelationshipsOrRelationshipsById = (relationshipsOrRelationshipsId) => useThingOrThingById(relationshipsOrRelationshipsId, OFFSET_RELATIONSHIPS);
948var useProvideRelationships = (relationshipsId, relationships) => useProvideThing(relationshipsId, relationships, OFFSET_RELATIONSHIPS);
949var useRelationshipIds = (relationshipsOrRelationshipsId) => useListenable(

Callers

nothing calls this directly

Calls 1

useThingFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…