@harnessio/react-rmg-service-client 0.80.0 → 0.81.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/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.d.ts +1 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.d.ts +1 -0
- package/dist/rmg-service/src/services/index.d.ts +3 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.d.ts +2 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.js +0 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivityDetail.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivityPaginated.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +2 -0
- package/dist/rmg-service/src/services/schemas/TargetFieldDefinition.d.ts +7 -0
- package/dist/rmg-service/src/services/schemas/TargetFieldDefinition.js +1 -0
- package/dist/rmg-service/src/services/schemas/TargetVariableValue.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/TargetVariableValue.js +4 -0
- package/dist/rmg-service/src/services/schemas/TargetsYaml.d.ts +19 -0
- package/dist/rmg-service/src/services/schemas/TargetsYaml.js +1 -0
- package/package.json +1 -1
package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface GetOrchestrationExecutionActivitiesQueryPathParams {
|
|
|
10
10
|
export interface GetOrchestrationExecutionActivitiesQueryQueryParams {
|
|
11
11
|
phaseExecutionId?: string;
|
|
12
12
|
status?: string[];
|
|
13
|
+
parentExecutionId?: string;
|
|
13
14
|
orgIdentifier?: string;
|
|
14
15
|
projectIdentifier?: string;
|
|
15
16
|
}
|
|
@@ -517,6 +517,9 @@ export type { SubprocessActivityInfo } from './schemas/SubprocessActivityInfo';
|
|
|
517
517
|
export type { SubprocessInfo } from './schemas/SubprocessInfo';
|
|
518
518
|
export type { SubprocessTriggerRequest } from './schemas/SubprocessTriggerRequest';
|
|
519
519
|
export type { SubprocessTriggerResponse } from './schemas/SubprocessTriggerResponse';
|
|
520
|
+
export type { TargetFieldDefinition } from './schemas/TargetFieldDefinition';
|
|
521
|
+
export type { TargetVariableValue } from './schemas/TargetVariableValue';
|
|
522
|
+
export type { TargetsYaml } from './schemas/TargetsYaml';
|
|
520
523
|
export type { TaskCommentDto } from './schemas/TaskCommentDto';
|
|
521
524
|
export type { TaskCommentsListResponseDto } from './schemas/TaskCommentsListResponseDto';
|
|
522
525
|
export type { TaskExecuteConfig } from './schemas/TaskExecuteConfig';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TargetsYaml } from '../schemas/TargetsYaml';
|
|
1
2
|
export interface OrchestrationActivityProcessYaml {
|
|
2
3
|
/**
|
|
3
4
|
* Reference to the activity type (e.g., ReleaseApproval, ReleasePipeline)
|
|
@@ -23,4 +24,5 @@ export interface OrchestrationActivityProcessYaml {
|
|
|
23
24
|
* Name of the activity
|
|
24
25
|
*/
|
|
25
26
|
name: string;
|
|
27
|
+
targets?: TargetsYaml;
|
|
26
28
|
}
|
|
@@ -24,6 +24,10 @@ export interface OrchestrationExecutionActivity {
|
|
|
24
24
|
*/
|
|
25
25
|
end_ts?: number;
|
|
26
26
|
failureInfo?: FailureInfo;
|
|
27
|
+
/**
|
|
28
|
+
* Whether this activity is a single execution or a loop container
|
|
29
|
+
*/
|
|
30
|
+
group_type?: 'LOOP' | 'SINGLE';
|
|
27
31
|
/**
|
|
28
32
|
* Identifier of the activity
|
|
29
33
|
*/
|
|
@@ -17,6 +17,10 @@ export interface OrchestrationExecutionActivityDetail {
|
|
|
17
17
|
*/
|
|
18
18
|
end_ts?: number;
|
|
19
19
|
failureInfo?: FailureInfo;
|
|
20
|
+
/**
|
|
21
|
+
* Whether this activity is a single execution or a loop container
|
|
22
|
+
*/
|
|
23
|
+
group_type?: 'LOOP' | 'SINGLE';
|
|
20
24
|
/**
|
|
21
25
|
* Identifier of the activity
|
|
22
26
|
*/
|
|
@@ -21,6 +21,10 @@ export interface OrchestrationExecutionActivityPaginated {
|
|
|
21
21
|
* Failure information if the activity failed
|
|
22
22
|
*/
|
|
23
23
|
failureInfo?: FailureInfo;
|
|
24
|
+
/**
|
|
25
|
+
* Whether this activity is a single execution or a loop container
|
|
26
|
+
*/
|
|
27
|
+
group_type?: 'LOOP' | 'SINGLE';
|
|
24
28
|
/**
|
|
25
29
|
* Unique identifier of the activity
|
|
26
30
|
*/
|
|
@@ -27,6 +27,10 @@ export interface OrchestrationExecutionPhase {
|
|
|
27
27
|
*/
|
|
28
28
|
end_ts?: number;
|
|
29
29
|
failureInfo?: FailureInfo;
|
|
30
|
+
/**
|
|
31
|
+
* Whether this phase is a single execution or a loop container
|
|
32
|
+
*/
|
|
33
|
+
group_type?: 'LOOP' | 'SINGLE';
|
|
30
34
|
/**
|
|
31
35
|
* Unique identifier of the phase
|
|
32
36
|
*/
|
|
@@ -43,6 +47,10 @@ export interface OrchestrationExecutionPhase {
|
|
|
43
47
|
* List of owners for the phase
|
|
44
48
|
*/
|
|
45
49
|
owners?: string[];
|
|
50
|
+
/**
|
|
51
|
+
* ID of the parent phase execution (set for loop iteration children)
|
|
52
|
+
*/
|
|
53
|
+
parent_execution_id?: string;
|
|
46
54
|
/**
|
|
47
55
|
* ID of the phase execution
|
|
48
56
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OrchestrationActivityProcessYaml } from '../schemas/OrchestrationActivityProcessYaml';
|
|
2
2
|
import type { OutputVariable } from '../schemas/OutputVariable';
|
|
3
|
+
import type { TargetsYaml } from '../schemas/TargetsYaml';
|
|
3
4
|
export interface OrchestrationPhaseYaml {
|
|
4
5
|
phase: {
|
|
5
6
|
activities: OrchestrationActivityProcessYaml[];
|
|
@@ -42,5 +43,6 @@ export interface OrchestrationPhaseYaml {
|
|
|
42
43
|
*/
|
|
43
44
|
on?: 'user_intervention';
|
|
44
45
|
};
|
|
46
|
+
targets?: TargetsYaml;
|
|
45
47
|
};
|
|
46
48
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { TargetFieldDefinition } from '../schemas/TargetFieldDefinition';
|
|
2
|
+
import type { TargetVariableValue } from '../schemas/TargetVariableValue';
|
|
3
|
+
/**
|
|
4
|
+
* Target definitions with field type declarations and default values
|
|
5
|
+
*/
|
|
6
|
+
export interface TargetsYaml {
|
|
7
|
+
/**
|
|
8
|
+
* Field definitions mapping field name to its type
|
|
9
|
+
*/
|
|
10
|
+
fields?: {
|
|
11
|
+
[key: string]: TargetFieldDefinition;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Array of target value records mapping field name to its value, or an expression string
|
|
15
|
+
*/
|
|
16
|
+
values?: Array<{
|
|
17
|
+
[key: string]: TargetVariableValue;
|
|
18
|
+
}> | string;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|