@unified-product-graph/core 0.41.1 → 0.42.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.
package/dist/index.d.cts CHANGED
@@ -25711,7 +25711,16 @@ type FrameworkCategory = 'prioritization' | 'strategy' | 'discovery' | 'business
25711
25711
  /** All valid framework categories as a runtime array */
25712
25712
  declare const UPG_FRAMEWORK_CATEGORIES: readonly FrameworkCategory[];
25713
25713
  /** The visual / topological shape a framework's structure takes */
25714
- type StructurePattern = 'tree' | 'table' | 'matrix' | 'funnel' | 'collection' | 'quadrant' | 'flow';
25714
+ type StructurePattern = 'tree' | 'table' | 'matrix' | 'funnel' | 'collection' | 'quadrant' | 'flow'
25715
+ /**
25716
+ * A flow that CLOSES: the last step returns to the first. Distinct from
25717
+ * `flow`, which ends. The distinction is not decorative — a framework whose
25718
+ * whole claim is that it repeats (Build → Measure → Learn → Build) loses its
25719
+ * argument when rendered as a line that stops at Learn. Added 0.42.0 after
25720
+ * `build-measure-learn` and `shape-up` were found declaring `flow` because
25721
+ * nothing else existed.
25722
+ */
25723
+ | 'cycle';
25715
25724
  /** All valid structure patterns as a runtime array */
25716
25725
  declare const UPG_STRUCTURE_PATTERNS: readonly StructurePattern[];
25717
25726
 
@@ -26136,6 +26145,7 @@ interface TableColumn {
26136
26145
  * @example { type: 'quadrant', x_axis: 'impact', y_axis: 'effort', x_label: 'Impact', y_label: 'Effort' }
26137
26146
  * @example { type: 'grid', groupBy: 'domain' }
26138
26147
  * @example { type: 'flow', direction: 'LR' }
26148
+ * @example { type: 'cycle', direction: 'clockwise' }
26139
26149
  */
26140
26150
  type FrameworkLayout = {
26141
26151
  type: 'tree'; /** Layout direction */
@@ -26167,6 +26177,16 @@ type FrameworkLayout = {
26167
26177
  } | {
26168
26178
  type: 'flow'; /** Flow direction */
26169
26179
  direction: 'LR' | 'TB';
26180
+ }
26181
+ /**
26182
+ * A flow whose last step returns to its first. `flow` renders a line that
26183
+ * ends; this renders a loop that closes. Frameworks whose entire claim is
26184
+ * repetition need it: rendered as `flow`, Build → Measure → Learn stops at
26185
+ * Learn and the framework's argument is silently dropped.
26186
+ */
26187
+ | {
26188
+ type: 'cycle'; /** Direction the cycle is read in */
26189
+ direction?: 'clockwise' | 'anticlockwise';
26170
26190
  };
26171
26191
  /** How the framework should be rendered in a UI */
26172
26192
  interface FrameworkPresentationSpec {
@@ -27128,7 +27148,7 @@ declare function checkHeaderSealText(text: string): UPGHeaderSealReport;
27128
27148
  * it stamps the `upg_version` field of every `.upg` file written by the SDK.
27129
27149
  * The `check:version-lockstep` gate enforces this at release time.
27130
27150
  */
27131
- declare const UPG_VERSION: "0.41.1";
27151
+ declare const UPG_VERSION: "0.42.0";
27132
27152
  /**
27133
27153
  * The `.upg` JSON document format version. Written to the `upg_version` field.
27134
27154
  * Evolves independently from `UPG_VERSION` (the catalogue version).
package/dist/index.d.ts CHANGED
@@ -25711,7 +25711,16 @@ type FrameworkCategory = 'prioritization' | 'strategy' | 'discovery' | 'business
25711
25711
  /** All valid framework categories as a runtime array */
25712
25712
  declare const UPG_FRAMEWORK_CATEGORIES: readonly FrameworkCategory[];
25713
25713
  /** The visual / topological shape a framework's structure takes */
25714
- type StructurePattern = 'tree' | 'table' | 'matrix' | 'funnel' | 'collection' | 'quadrant' | 'flow';
25714
+ type StructurePattern = 'tree' | 'table' | 'matrix' | 'funnel' | 'collection' | 'quadrant' | 'flow'
25715
+ /**
25716
+ * A flow that CLOSES: the last step returns to the first. Distinct from
25717
+ * `flow`, which ends. The distinction is not decorative — a framework whose
25718
+ * whole claim is that it repeats (Build → Measure → Learn → Build) loses its
25719
+ * argument when rendered as a line that stops at Learn. Added 0.42.0 after
25720
+ * `build-measure-learn` and `shape-up` were found declaring `flow` because
25721
+ * nothing else existed.
25722
+ */
25723
+ | 'cycle';
25715
25724
  /** All valid structure patterns as a runtime array */
25716
25725
  declare const UPG_STRUCTURE_PATTERNS: readonly StructurePattern[];
25717
25726
 
@@ -26136,6 +26145,7 @@ interface TableColumn {
26136
26145
  * @example { type: 'quadrant', x_axis: 'impact', y_axis: 'effort', x_label: 'Impact', y_label: 'Effort' }
26137
26146
  * @example { type: 'grid', groupBy: 'domain' }
26138
26147
  * @example { type: 'flow', direction: 'LR' }
26148
+ * @example { type: 'cycle', direction: 'clockwise' }
26139
26149
  */
26140
26150
  type FrameworkLayout = {
26141
26151
  type: 'tree'; /** Layout direction */
@@ -26167,6 +26177,16 @@ type FrameworkLayout = {
26167
26177
  } | {
26168
26178
  type: 'flow'; /** Flow direction */
26169
26179
  direction: 'LR' | 'TB';
26180
+ }
26181
+ /**
26182
+ * A flow whose last step returns to its first. `flow` renders a line that
26183
+ * ends; this renders a loop that closes. Frameworks whose entire claim is
26184
+ * repetition need it: rendered as `flow`, Build → Measure → Learn stops at
26185
+ * Learn and the framework's argument is silently dropped.
26186
+ */
26187
+ | {
26188
+ type: 'cycle'; /** Direction the cycle is read in */
26189
+ direction?: 'clockwise' | 'anticlockwise';
26170
26190
  };
26171
26191
  /** How the framework should be rendered in a UI */
26172
26192
  interface FrameworkPresentationSpec {
@@ -27128,7 +27148,7 @@ declare function checkHeaderSealText(text: string): UPGHeaderSealReport;
27128
27148
  * it stamps the `upg_version` field of every `.upg` file written by the SDK.
27129
27149
  * The `check:version-lockstep` gate enforces this at release time.
27130
27150
  */
27131
- declare const UPG_VERSION: "0.41.1";
27151
+ declare const UPG_VERSION: "0.42.0";
27132
27152
  /**
27133
27153
  * The `.upg` JSON document format version. Written to the `upg_version` field.
27134
27154
  * Evolves independently from `UPG_VERSION` (the catalogue version).