@cclabsnz/sf-core 0.1.2 → 0.1.3
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.
package/lib/schemas/index.d.ts
CHANGED
|
@@ -41,12 +41,24 @@ export interface CouplingComponentRef {
|
|
|
41
41
|
name: string;
|
|
42
42
|
confidence: CouplingConfidence;
|
|
43
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* Which way a directional coupling runs, relative to the canonical `from`/`to` pair.
|
|
46
|
+
*
|
|
47
|
+
* Recorded as evidence *about* the pair rather than by reordering it, so a consumer that only
|
|
48
|
+
* cares about coupling is unaffected while one reconstructing process order can follow it.
|
|
49
|
+
*/
|
|
50
|
+
export type CouplingDirection = 'from-to' | 'to-from' | 'both';
|
|
44
51
|
export interface CouplingGraphEdge {
|
|
45
52
|
from: string;
|
|
46
53
|
to: string;
|
|
47
54
|
weight: number;
|
|
48
55
|
operations: CouplingOperation[];
|
|
49
56
|
components: CouplingComponentRef[];
|
|
57
|
+
/**
|
|
58
|
+
* Process order where a record-triggered flow or Apex trigger established it. Absent means
|
|
59
|
+
* no directional evidence was found, which is not the same as the coupling being undirected.
|
|
60
|
+
*/
|
|
61
|
+
direction?: CouplingDirection;
|
|
50
62
|
}
|
|
51
63
|
export interface CouplingGraph {
|
|
52
64
|
version: 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cclabsnz/sf-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Shared platform layer for CloudCounsel Salesforce sf plugins \u2014 API clients, org context, event log pull, report shell, and versioned IR schemas.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -177,6 +177,15 @@
|
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
+
},
|
|
181
|
+
"direction": {
|
|
182
|
+
"type": "string",
|
|
183
|
+
"enum": [
|
|
184
|
+
"from-to",
|
|
185
|
+
"to-from",
|
|
186
|
+
"both"
|
|
187
|
+
],
|
|
188
|
+
"description": "Process order, where a record-triggered flow or Apex trigger established it: which of the pair acts on the other. Absent means no directional evidence \u2014 not the same as undirected."
|
|
180
189
|
}
|
|
181
190
|
}
|
|
182
191
|
}
|