@unified-product-graph/core 0.11.1 → 0.11.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/dist/index.d.cts CHANGED
@@ -129,7 +129,7 @@ interface UPGBaseNode {
129
129
  * AUTO-GENERATED by scripts/generate-property-registry.ts
130
130
  * Do not edit manually. Run: npx tsx scripts/generate-property-registry.ts
131
131
  *
132
- * Generated: 2026-06-14T07:17:48.412Z
132
+ * Generated: 2026-06-14T09:18:17.518Z
133
133
  * Entity types with properties: 319
134
134
  */
135
135
  interface PropertyDefinition {
@@ -11046,6 +11046,17 @@ interface ClassificationAxisProperties {
11046
11046
  * `continuous` = numeric range (latency budget, price points).
11047
11047
  */
11048
11048
  axis_kind?: 'categorical' | 'ordinal' | 'continuous';
11049
+ /**
11050
+ * How many values a subject may hold on this axis at once (UPG 0.11.3).
11051
+ * `single` (default) = a subject sits at exactly one value; a re-classification
11052
+ * to a new value SUPERSEDES the prior one (the classify writer retires the old
11053
+ * same-axis edge and records the move in the reclassification history).
11054
+ * `multi` = a subject may legitimately hold several values at once (e.g. an
11055
+ * axis like "supported frameworks"); re-classifying ADDS a value and does not
11056
+ * supersede. A separate axis from `axis_kind`: an axis can be `categorical`
11057
+ * (unordered) yet `single`-select, or `categorical` yet `multi`-select.
11058
+ */
11059
+ cardinality?: 'single' | 'multi';
11049
11060
  /** Product id when product-specific. Axes are usually product-agnostic; leave empty for shared taxonomies. */
11050
11061
  owner_product?: string;
11051
11062
  }
@@ -21549,7 +21560,7 @@ declare function isCanonical(text: string): boolean;
21549
21560
  * it stamps the `upg_version` field of every `.upg` file written by the SDK.
21550
21561
  * The `check:version-lockstep` gate enforces this at release time.
21551
21562
  */
21552
- declare const UPG_VERSION: "0.11.1";
21563
+ declare const UPG_VERSION: "0.11.3";
21553
21564
  /**
21554
21565
  * The `.upg` JSON document format version. Written to the `upg_version` field.
21555
21566
  * Evolves independently from `UPG_VERSION` (the catalogue version).
package/dist/index.d.ts CHANGED
@@ -129,7 +129,7 @@ interface UPGBaseNode {
129
129
  * AUTO-GENERATED by scripts/generate-property-registry.ts
130
130
  * Do not edit manually. Run: npx tsx scripts/generate-property-registry.ts
131
131
  *
132
- * Generated: 2026-06-14T07:17:48.412Z
132
+ * Generated: 2026-06-14T09:18:17.518Z
133
133
  * Entity types with properties: 319
134
134
  */
135
135
  interface PropertyDefinition {
@@ -11046,6 +11046,17 @@ interface ClassificationAxisProperties {
11046
11046
  * `continuous` = numeric range (latency budget, price points).
11047
11047
  */
11048
11048
  axis_kind?: 'categorical' | 'ordinal' | 'continuous';
11049
+ /**
11050
+ * How many values a subject may hold on this axis at once (UPG 0.11.3).
11051
+ * `single` (default) = a subject sits at exactly one value; a re-classification
11052
+ * to a new value SUPERSEDES the prior one (the classify writer retires the old
11053
+ * same-axis edge and records the move in the reclassification history).
11054
+ * `multi` = a subject may legitimately hold several values at once (e.g. an
11055
+ * axis like "supported frameworks"); re-classifying ADDS a value and does not
11056
+ * supersede. A separate axis from `axis_kind`: an axis can be `categorical`
11057
+ * (unordered) yet `single`-select, or `categorical` yet `multi`-select.
11058
+ */
11059
+ cardinality?: 'single' | 'multi';
11049
11060
  /** Product id when product-specific. Axes are usually product-agnostic; leave empty for shared taxonomies. */
11050
11061
  owner_product?: string;
11051
11062
  }
@@ -21549,7 +21560,7 @@ declare function isCanonical(text: string): boolean;
21549
21560
  * it stamps the `upg_version` field of every `.upg` file written by the SDK.
21550
21561
  * The `check:version-lockstep` gate enforces this at release time.
21551
21562
  */
21552
- declare const UPG_VERSION: "0.11.1";
21563
+ declare const UPG_VERSION: "0.11.3";
21553
21564
  /**
21554
21565
  * The `.upg` JSON document format version. Written to the `upg_version` field.
21555
21566
  * Evolves independently from `UPG_VERSION` (the catalogue version).
package/dist/index.js CHANGED
@@ -9637,6 +9637,7 @@ var UPG_PROPERTY_SCHEMA = {
9637
9637
  // ClassificationAxisProperties: ClassificationAxis: a dimension along which subjects are classified.
9638
9638
  classification_axis: {
9639
9639
  axis_kind: { type: "string", enum: ["categorical", "ordinal", "continuous"], description: "Structural kind of values on this axis. `categorical` = discrete, unordered (most common; CMS architectures). `ordinal` = discrete, ordered (maturity tiers, T-shirt sizes). `continuous` = numeric range (latency budget, price points)." },
9640
+ cardinality: { type: "string", enum: ["single", "multi"], description: 'How many values a subject may hold on this axis at once (UPG 0.11.3). `single` (default) = a subject sits at exactly one value; a re-classification to a new value SUPERSEDES the prior one (the classify writer retires the old same-axis edge and records the move in the reclassification history). `multi` = a subject may legitimately hold several values at once (e.g. an axis like "supported frameworks"); re-classifying ADDS a value and does not supersede. A separate axis from `axis_kind`: an axis can be `categorical` (unordered) yet `single`-select, or `categorical` yet `multi`-select.' },
9640
9641
  owner_product: { type: "string", description: "Product id when product-specific. Axes are usually product-agnostic; leave empty for shared taxonomies." }
9641
9642
  },
9642
9643
  // ClassificationValueProperties: ClassificationValue: a value on a classification axis.
@@ -28555,7 +28556,7 @@ function isCanonical(text) {
28555
28556
  }
28556
28557
 
28557
28558
  // src/index.ts
28558
- var UPG_VERSION = "0.11.1";
28559
+ var UPG_VERSION = "0.11.3";
28559
28560
  var UPG_FORMAT_VERSION = "0.4.0";
28560
28561
  var MARKDOWN_FORMAT_VERSION = "0.1";
28561
28562
  var UPG_TYPES = getTypes();