@x12i/memorix-descriptors 1.20.0 → 1.21.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object-type-specs.d.ts","sourceRoot":"","sources":["../../src/migration/object-type-specs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,MAAM,MAAM,uBAAuB,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,aAAa,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,sEAAsE;IACtE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,2BAA2B,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"object-type-specs.d.ts","sourceRoot":"","sources":["../../src/migration/object-type-specs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,MAAM,MAAM,uBAAuB,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,aAAa,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,sEAAsE;IACtE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,2BAA2B,EAAE,uBAAuB,EAoChE,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAErC,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAEjF;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKxD;AAED,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAWhE;AAED,wBAAgB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAErE;AAED,wBAAgB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAErE;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,aAAa,CAIrG;AAED,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,aAAa,GACpB,KAAK,CAAC,UAAU,GAAG,SAAS,GAAG,aAAa,GAAG,UAAU,GAAG,KAAK,CAAC,CAIpE"}
|
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
/** Canonical object types for the Memorix metadata reset. */
|
|
2
2
|
export const CANONICAL_OBJECT_TYPE_SPECS = [
|
|
3
3
|
{ objectType: "assets", target: "entity", contentTypes: ["snapshots", "scoped"] },
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Merged object type (2026-07-05): canonical records are topology CIDR segments
|
|
6
|
+
* (identity via `concept.identifier.cidr`, no separate FK field needed — asset
|
|
7
|
+
* joins use CIDR containment, not an `identityField` FK). `legacy` holds the
|
|
8
|
+
* pre-merge subnetIp-only records that could not be matched to any canonical
|
|
9
|
+
* CIDR; they are quarantined via `_system.quarantine`, not deleted. See
|
|
10
|
+
* temp/part-b-implementation-design-2026-07-05T06-20-00Z.md for the full design
|
|
11
|
+
* and the part-a-subnets-topology-subnets-reconciliation output directory under
|
|
12
|
+
* temp/ for the approved record-level mapping this merge is based on.
|
|
13
|
+
*/
|
|
14
|
+
{
|
|
15
|
+
objectType: "subnets",
|
|
16
|
+
target: "entity",
|
|
17
|
+
contentTypes: ["snapshots", "core", "inferences", "scoped", "legacy"],
|
|
18
|
+
},
|
|
5
19
|
{
|
|
6
20
|
objectType: "topology-cidr-graphs",
|
|
7
21
|
target: "entity",
|
|
8
22
|
contentTypes: ["snapshots", "scoped"],
|
|
9
23
|
},
|
|
10
|
-
{ objectType: "topology-subnets", target: "entity", contentTypes: ["snapshots"] },
|
|
11
24
|
{ objectType: "topology-vrs", target: "entity", contentTypes: ["snapshots"] },
|
|
12
25
|
{ objectType: "topology-zones", target: "entity", contentTypes: ["snapshots"] },
|
|
13
26
|
{ objectType: "vulnerabilities-groups", target: "entity", contentTypes: ["snapshots"] },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object-type-specs.js","sourceRoot":"","sources":["../../src/migration/object-type-specs.ts"],"names":[],"mappings":"AAUA,6DAA6D;AAC7D,MAAM,CAAC,MAAM,2BAA2B,GAA8B;IACpE,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC,WAAW,EAAE,QAAQ,CAAC,EAAE;IACjF,
|
|
1
|
+
{"version":3,"file":"object-type-specs.js","sourceRoot":"","sources":["../../src/migration/object-type-specs.ts"],"names":[],"mappings":"AAUA,6DAA6D;AAC7D,MAAM,CAAC,MAAM,2BAA2B,GAA8B;IACpE,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC,WAAW,EAAE,QAAQ,CAAC,EAAE;IACjF;;;;;;;;;OASG;IACH;QACE,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,QAAQ;QAChB,YAAY,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,CAAC;KACtE;IACD;QACE,UAAU,EAAE,sBAAsB;QAClC,MAAM,EAAE,QAAQ;QAChB,YAAY,EAAE,CAAC,WAAW,EAAE,QAAQ,CAAC;KACtC;IACD,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC,WAAW,CAAC,EAAE;IAC7E,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC,WAAW,CAAC,EAAE;IAC/E,EAAE,UAAU,EAAE,wBAAwB,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC,WAAW,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