nexarch 0.12.18 → 0.12.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.
@@ -174,7 +174,13 @@ export function buildIngestPayload(params) {
174
174
  attributes: { source: "terraform_ingest", terraform_version: projection.terraformVersion },
175
175
  },
176
176
  ];
177
- const relationships = [];
177
+ const relationships = [
178
+ // The environment lives on the platform. Without this edge the two nodes
179
+ // this payload always creates float beside each other, and no query can
180
+ // answer "which cloud is dev on" — every resource knows both, but the
181
+ // environment itself knows neither.
182
+ { relationshipTypeCode: "runs_on", fromEntityRef: environmentRef, toEntityRef: platformRef },
183
+ ];
178
184
  // Lookup tables for the topology pass below, populated alongside entities so
179
185
  // a single loop over projection.resources is enough for both.
180
186
  const entityRefByTypeAndName = new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexarch",
3
- "version": "0.12.18",
3
+ "version": "0.12.19",
4
4
  "description": "Your architecture workspace for AI delivery.",
5
5
  "keywords": [
6
6
  "nexarch",