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

Function getRelationshipsStoreTableIds

src/common/solid.ts:19–32  ·  view source on GitHub ↗
(
  relationships: Relationships | undefined,
  relationshipId: Id,
)

Source from the content-addressed store, hash-verified

17): Props => (isUndefined(getProps) ? ({} as Props) : getProps(...ids));
18
19export const getRelationshipsStoreTableIds = (
20 relationships: Relationships | undefined,
21 relationshipId: Id,
22): [
23 Relationships | undefined,
24 Store | undefined,
25 Id | undefined,
26 Id | undefined,
27] => [
28 relationships,
29 relationships?.getStore(),
30 relationships?.getLocalTableId(relationshipId),
31 relationships?.getRemoteTableId(relationshipId),
32];
33
34export const getIndexStoreTableId = (
35 indexes: Indexes | undefined,

Callers

nothing calls this directly

Calls 3

getStoreMethod · 0.65
getLocalTableIdMethod · 0.65
getRemoteTableIdMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…