@unified-product-graph/core 0.8.14 → 0.8.16
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.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -5
- package/dist/index.d.ts +9 -5
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6955,7 +6955,7 @@ interface UPGProduct {
|
|
|
6955
6955
|
/** Product lifecycle stages. Covers the full arc from napkin idea to end-of-life. */
|
|
6956
6956
|
type UPGProductStage = 'concept' | 'validation' | 'build' | 'beta' | 'launch' | 'growth' | 'mature' | 'maintenance' | 'sunset';
|
|
6957
6957
|
/** The set of valid cross-product relationship types */
|
|
6958
|
-
type UPGCrossEdgeType = 'shares_persona' | 'shares_competitor' | 'shares_metric' | 'depends_on_product' | 'cannibalises' | 'succeeds';
|
|
6958
|
+
type UPGCrossEdgeType = 'shares_persona' | 'shares_competitor' | 'shares_metric' | 'depends_on_product' | 'cannibalises' | 'succeeds' | 'hosts';
|
|
6959
6959
|
/**
|
|
6960
6960
|
* Runtime-checkable list of valid cross-product edge types. Mirrors
|
|
6961
6961
|
* `UPGCrossEdgeType` for use in validators and writers that need to test
|
|
@@ -7015,8 +7015,10 @@ interface UPGProductArea {
|
|
|
7015
7015
|
description?: string;
|
|
7016
7016
|
/** Parent area ID for nesting (sub-areas) */
|
|
7017
7017
|
parent_area_id?: string | null;
|
|
7018
|
-
/** Strategic priority */
|
|
7019
|
-
strategic_priority?: '
|
|
7018
|
+
/** Strategic priority (mirrors the canonical `Priority` scale) */
|
|
7019
|
+
strategic_priority?: 'urgent' | 'high' | 'medium' | 'low' | 'none';
|
|
7020
|
+
/** Person or team that owns this area */
|
|
7021
|
+
owner?: string;
|
|
7020
7022
|
/** Product IDs that belong to this area */
|
|
7021
7023
|
products?: string[];
|
|
7022
7024
|
}
|
|
@@ -9237,6 +9239,8 @@ interface ProductAreaProperties {
|
|
|
9237
9239
|
strategic_priority?: Priority;
|
|
9238
9240
|
/** Narrative description of what this area covers */
|
|
9239
9241
|
description?: string;
|
|
9242
|
+
/** Person or team that owns this area */
|
|
9243
|
+
owner?: string;
|
|
9240
9244
|
}
|
|
9241
9245
|
|
|
9242
9246
|
/**
|
|
@@ -17951,7 +17955,7 @@ type UPGNode<T extends keyof UPGPropertyMap = keyof UPGPropertyMap> = UPGBaseNod
|
|
|
17951
17955
|
* AUTO-GENERATED by scripts/generate-property-registry.ts
|
|
17952
17956
|
* Do not edit manually. Run: npx tsx scripts/generate-property-registry.ts
|
|
17953
17957
|
*
|
|
17954
|
-
* Generated: 2026-06-
|
|
17958
|
+
* Generated: 2026-06-09T11:55:02.795Z
|
|
17955
17959
|
* Entity types with properties: 316
|
|
17956
17960
|
*/
|
|
17957
17961
|
interface PropertyDefinition {
|
|
@@ -20392,7 +20396,7 @@ declare function isCanonical(text: string): boolean;
|
|
|
20392
20396
|
* it stamps the `upg_version` field of every `.upg` file written by the SDK.
|
|
20393
20397
|
* The `check:version-lockstep` gate enforces this at release time.
|
|
20394
20398
|
*/
|
|
20395
|
-
declare const UPG_VERSION: "0.8.
|
|
20399
|
+
declare const UPG_VERSION: "0.8.16";
|
|
20396
20400
|
/**
|
|
20397
20401
|
* The `.upg` JSON document format version. Written to the `upg_version` field.
|
|
20398
20402
|
* Evolves independently from `UPG_VERSION` (the catalogue version).
|
package/dist/index.d.ts
CHANGED
|
@@ -6955,7 +6955,7 @@ interface UPGProduct {
|
|
|
6955
6955
|
/** Product lifecycle stages. Covers the full arc from napkin idea to end-of-life. */
|
|
6956
6956
|
type UPGProductStage = 'concept' | 'validation' | 'build' | 'beta' | 'launch' | 'growth' | 'mature' | 'maintenance' | 'sunset';
|
|
6957
6957
|
/** The set of valid cross-product relationship types */
|
|
6958
|
-
type UPGCrossEdgeType = 'shares_persona' | 'shares_competitor' | 'shares_metric' | 'depends_on_product' | 'cannibalises' | 'succeeds';
|
|
6958
|
+
type UPGCrossEdgeType = 'shares_persona' | 'shares_competitor' | 'shares_metric' | 'depends_on_product' | 'cannibalises' | 'succeeds' | 'hosts';
|
|
6959
6959
|
/**
|
|
6960
6960
|
* Runtime-checkable list of valid cross-product edge types. Mirrors
|
|
6961
6961
|
* `UPGCrossEdgeType` for use in validators and writers that need to test
|
|
@@ -7015,8 +7015,10 @@ interface UPGProductArea {
|
|
|
7015
7015
|
description?: string;
|
|
7016
7016
|
/** Parent area ID for nesting (sub-areas) */
|
|
7017
7017
|
parent_area_id?: string | null;
|
|
7018
|
-
/** Strategic priority */
|
|
7019
|
-
strategic_priority?: '
|
|
7018
|
+
/** Strategic priority (mirrors the canonical `Priority` scale) */
|
|
7019
|
+
strategic_priority?: 'urgent' | 'high' | 'medium' | 'low' | 'none';
|
|
7020
|
+
/** Person or team that owns this area */
|
|
7021
|
+
owner?: string;
|
|
7020
7022
|
/** Product IDs that belong to this area */
|
|
7021
7023
|
products?: string[];
|
|
7022
7024
|
}
|
|
@@ -9237,6 +9239,8 @@ interface ProductAreaProperties {
|
|
|
9237
9239
|
strategic_priority?: Priority;
|
|
9238
9240
|
/** Narrative description of what this area covers */
|
|
9239
9241
|
description?: string;
|
|
9242
|
+
/** Person or team that owns this area */
|
|
9243
|
+
owner?: string;
|
|
9240
9244
|
}
|
|
9241
9245
|
|
|
9242
9246
|
/**
|
|
@@ -17951,7 +17955,7 @@ type UPGNode<T extends keyof UPGPropertyMap = keyof UPGPropertyMap> = UPGBaseNod
|
|
|
17951
17955
|
* AUTO-GENERATED by scripts/generate-property-registry.ts
|
|
17952
17956
|
* Do not edit manually. Run: npx tsx scripts/generate-property-registry.ts
|
|
17953
17957
|
*
|
|
17954
|
-
* Generated: 2026-06-
|
|
17958
|
+
* Generated: 2026-06-09T11:55:02.795Z
|
|
17955
17959
|
* Entity types with properties: 316
|
|
17956
17960
|
*/
|
|
17957
17961
|
interface PropertyDefinition {
|
|
@@ -20392,7 +20396,7 @@ declare function isCanonical(text: string): boolean;
|
|
|
20392
20396
|
* it stamps the `upg_version` field of every `.upg` file written by the SDK.
|
|
20393
20397
|
* The `check:version-lockstep` gate enforces this at release time.
|
|
20394
20398
|
*/
|
|
20395
|
-
declare const UPG_VERSION: "0.8.
|
|
20399
|
+
declare const UPG_VERSION: "0.8.16";
|
|
20396
20400
|
/**
|
|
20397
20401
|
* The `.upg` JSON document format version. Written to the `upg_version` field.
|
|
20398
20402
|
* Evolves independently from `UPG_VERSION` (the catalogue version).
|
package/dist/index.js
CHANGED
|
@@ -2751,7 +2751,8 @@ var UPG_CROSS_EDGE_TYPES = [
|
|
|
2751
2751
|
"shares_metric",
|
|
2752
2752
|
"depends_on_product",
|
|
2753
2753
|
"cannibalises",
|
|
2754
|
-
"succeeds"
|
|
2754
|
+
"succeeds",
|
|
2755
|
+
"hosts"
|
|
2755
2756
|
];
|
|
2756
2757
|
|
|
2757
2758
|
// src/registry/entity-type-resolution.ts
|
|
@@ -10689,7 +10690,8 @@ var UPG_PROPERTY_SCHEMA = {
|
|
|
10689
10690
|
// ProductAreaProperties: ProductArea entity.
|
|
10690
10691
|
product_area: {
|
|
10691
10692
|
strategic_priority: { type: "string", enum: ["urgent", "high", "medium", "low", "none"], description: "Strategic priority assigned to this area" },
|
|
10692
|
-
description: { type: "string", description: "Narrative description of what this area covers" }
|
|
10693
|
+
description: { type: "string", description: "Narrative description of what this area covers" },
|
|
10694
|
+
owner: { type: "string", description: "Person or team that owns this area" }
|
|
10693
10695
|
},
|
|
10694
10696
|
// ProgramProperties: Program.
|
|
10695
10697
|
program: {
|
|
@@ -25678,7 +25680,7 @@ function isCanonical(text) {
|
|
|
25678
25680
|
}
|
|
25679
25681
|
|
|
25680
25682
|
// src/index.ts
|
|
25681
|
-
var UPG_VERSION = "0.8.
|
|
25683
|
+
var UPG_VERSION = "0.8.16";
|
|
25682
25684
|
var UPG_FORMAT_VERSION = "0.4.0";
|
|
25683
25685
|
var MARKDOWN_FORMAT_VERSION = "0.1";
|
|
25684
25686
|
var UPG_TYPES = getTypes();
|