@uug-ai/models 1.6.8 → 1.6.9

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +24 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -32744,6 +32744,28 @@ export interface components {
32744
32744
  name?: string;
32745
32745
  nodes?: components["schemas"]["models.WorkflowNode"][];
32746
32746
  organisation_id?: string;
32747
+ /**
32748
+ * @description Source is the workflow's provenance and availability (see WorkflowSource).
32749
+ * Empty means WorkflowSourceUser: an ordinary user workflow scoped to its
32750
+ * OrganisationId. WorkflowSourceConfig marks a helm-seeded, deployment-global,
32751
+ * read-only workflow. Every workflow persisted before this field existed
32752
+ * decodes as user.
32753
+ */
32754
+ source?: components["schemas"]["models.WorkflowSource"];
32755
+ /**
32756
+ * @description Stages is the workflow's executable stage set: the runtime-authoritative
32757
+ * projection the engine dispatches against. When set it is used as-is (config
32758
+ * workflows author it directly in the helm registry form: operation, dispatch,
32759
+ * needs, needsMode); when empty it is derived from Nodes+Edges on demand (UI
32760
+ * workflows author the graph and CompileStages projects it). Read it through
32761
+ * CompileStages, never directly, so both authoring styles resolve uniformly.
32762
+ *
32763
+ * Only the routing fields (Operation, Dispatch, Needs, NeedsMode) are
32764
+ * meaningful here; a stage's deployment fields (image, queue, replicas, …) are
32765
+ * resolved by Operation against the shared deployed catalog, not per workflow.
32766
+ * Operations need only be unique within a single workflow, not globally.
32767
+ */
32768
+ stages?: components["schemas"]["models.WorkflowStage"][];
32747
32769
  /**
32748
32770
  * @description Trigger is the legacy single-trigger field kept only so workflows persisted
32749
32771
  * before Triggers existed still decode (and are not silently dropped on
@@ -32987,6 +33009,8 @@ export interface components {
32987
33009
  };
32988
33010
  /** @enum {string} */
32989
33011
  "models.WorkflowRunOrigin": "automatic" | "manual";
33012
+ /** @enum {string} */
33013
+ "models.WorkflowSource": "user" | "config";
32990
33014
  "models.WorkflowStage": {
32991
33015
  /** @description Description explains what the stage does, for the catalog UI. */
32992
33016
  description?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.6.8",
3
+ "version": "1.6.9",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",