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

Function getRelationshipsStoreTableIds

src/common/react.ts:30–43  ·  view source on GitHub ↗
(
  relationships: Relationships | undefined,
  relationshipId: Id,
)

Source from the content-addressed store, hash-verified

28): Props => (isUndefined(getProps) ? ({} as Props) : getProps(...ids));
29
30export const getRelationshipsStoreTableIds = (
31 relationships: Relationships | undefined,
32 relationshipId: Id,
33): [
34 Relationships | undefined,
35 Store | undefined,
36 Id | undefined,
37 Id | undefined,
38] => [
39 relationships,
40 relationships?.getStore(),
41 relationships?.getLocalTableId(relationshipId),
42 relationships?.getRemoteTableId(relationshipId),
43];
44
45export const getIndexStoreTableId = (
46 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…