@lucern/graph-primitives 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1071,7 +1071,7 @@ function scopeFromTopicAnchor(topicNode) {
1071
1071
  }
1072
1072
  async function createRequiredBeliefTopicEdge(ctx, args) {
1073
1073
  const topicGlobalId = args.topicNode.globalId;
1074
- const edgeGlobalId = `edge:${args.beliefGlobalId}:${topicGlobalId}:scoped_by`;
1074
+ const edgeGlobalId = `edge:${args.beliefGlobalId}:${topicGlobalId}:belongs_to`;
1075
1075
  const now = Date.now();
1076
1076
  const existing = await ctx.db.query("epistemicEdges").withIndex("by_globalId", (q) => q.eq("globalId", edgeGlobalId)).first();
1077
1077
  if (!existing) {
@@ -1081,7 +1081,7 @@ async function createRequiredBeliefTopicEdge(ctx, args) {
1081
1081
  toNodeId: String(args.topicNode._id),
1082
1082
  sourceGlobalId: args.beliefGlobalId,
1083
1083
  targetGlobalId: topicGlobalId,
1084
- edgeType: "scoped_by",
1084
+ edgeType: "belongs_to",
1085
1085
  weight: 1,
1086
1086
  confidence: 1,
1087
1087
  context: "Belief creation topic anchor invariant.",
@@ -1105,7 +1105,7 @@ async function createRequiredBeliefTopicEdge(ctx, args) {
1105
1105
  globalId: edgeGlobalId,
1106
1106
  fromGlobalId: args.beliefGlobalId,
1107
1107
  toGlobalId: topicGlobalId,
1108
- edgeType: "scoped_by",
1108
+ edgeType: "belongs_to",
1109
1109
  weight: 1,
1110
1110
  confidence: 1,
1111
1111
  context: "Belief creation topic anchor invariant.",