MCPcopy
hub / github.com/tinyplex/tinybase / useCreateRelationships

Function useCreateRelationships

src/ui-react/hooks.ts:1677–1681  ·  view source on GitHub ↗
(
  store: Store | undefined,
  create: (store: Store) => Relationships,
  createDeps?: DependencyList,
)

Source from the content-addressed store, hash-verified

1675 );
1676
1677export const useCreateRelationships: typeof useCreateRelationshipsDecl = (
1678 store: Store | undefined,
1679 create: (store: Store) => Relationships,
1680 createDeps?: DependencyList,
1681): Relationships | undefined => useCreate(store, create, createDeps);
1682
1683export const useRelationshipsIds: typeof useRelationshipsIdsDecl = () =>
1684 useThingIds(OFFSET_RELATIONSHIPS);

Callers 3

TestFunction · 0.90
RelationshipsFunction · 0.50
RelationshipsFunction · 0.50

Calls 1

useCreateFunction · 0.70

Tested by 1

TestFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…