@harnessio/react-rmg-service-client 0.57.0 → 0.58.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.
@@ -283,6 +283,7 @@ export type { OrchestrationProcessDto } from './schemas/OrchestrationProcessDto'
283
283
  export type { OrchestrationProcessInputYaml } from './schemas/OrchestrationProcessInputYaml';
284
284
  export type { OrchestrationReleaseProcessYaml } from './schemas/OrchestrationReleaseProcessYaml';
285
285
  export type { OrchestrationStatus } from './schemas/OrchestrationStatus';
286
+ export type { OutputVariable } from './schemas/OutputVariable';
286
287
  export type { Pageable } from './schemas/Pageable';
287
288
  export type { PageableSort } from './schemas/PageableSort';
288
289
  export type { PhaseInputYaml } from './schemas/PhaseInputYaml';
@@ -3,6 +3,10 @@ import type { AnyValue } from '../schemas/AnyValue';
3
3
  * Output value for a phase execution
4
4
  */
5
5
  export interface ExecutionOutputDto {
6
+ /**
7
+ * Description of the output parameter
8
+ */
9
+ description?: string;
6
10
  /**
7
11
  * Name of the output parameter
8
12
  */
@@ -1,5 +1,6 @@
1
1
  import type { InputVariable } from '../schemas/InputVariable';
2
2
  import type { OrchestrationActivityManualYaml } from '../schemas/OrchestrationActivityManualYaml';
3
+ import type { OutputVariable } from '../schemas/OutputVariable';
3
4
  import type { OrchestrationActivityPipelineYaml } from '../schemas/OrchestrationActivityPipelineYaml';
4
5
  import type { OrchestrationActivitySubprocessYaml } from '../schemas/OrchestrationActivitySubprocessYaml';
5
6
  export interface OrchestrationActivityYaml {
@@ -27,7 +28,7 @@ export interface OrchestrationActivityYaml {
27
28
  * Outputs for the activity
28
29
  */
29
30
  outputs?: {
30
- [key: string]: string;
31
+ [key: string]: OutputVariable;
31
32
  };
32
33
  pipeline?: OrchestrationActivityPipelineYaml;
33
34
  process?: OrchestrationActivitySubprocessYaml;
@@ -1,4 +1,5 @@
1
1
  import type { OrchestrationActivityProcessYaml } from '../schemas/OrchestrationActivityProcessYaml';
2
+ import type { OutputVariable } from '../schemas/OutputVariable';
2
3
  export interface OrchestrationPhaseYaml {
3
4
  phase: {
4
5
  activities: OrchestrationActivityProcessYaml[];
@@ -26,7 +27,7 @@ export interface OrchestrationPhaseYaml {
26
27
  * Outputs for the phase
27
28
  */
28
29
  outputs?: {
29
- [key: string]: string;
30
+ [key: string]: OutputVariable;
30
31
  };
31
32
  /**
32
33
  * List of owner groups for the phase
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Output variable definition. Accepts either a plain string (legacy format) or an object with a `value` field and an optional `description` (new format).
3
+ *
4
+ */
5
+ export type OutputVariable = string | {
6
+ /**
7
+ * Human-readable description of the output variable.
8
+ */
9
+ description?: string;
10
+ /**
11
+ * The output value expression.
12
+ */
13
+ value: string;
14
+ };
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.57.0",
3
+ "version": "0.58.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",