@harnessio/react-rmg-service-client 0.14.0 → 0.16.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/useGetReleaseDayActivitiesQuery.d.ts +5 -0
- package/dist/rmg-service/src/services/hooks/useGetReleaseReleaseIdEnvironmentDashboardQuery.d.ts +1 -0
- package/dist/rmg-service/src/services/schemas/EnvironmentDashboardDto.d.ts +19 -0
- package/dist/rmg-service/src/services/schemas/ExecutionConflict.d.ts +5 -0
- package/package.json +1 -1
|
@@ -10,6 +10,11 @@ export interface GetReleaseDayActivitiesQueryQueryParams {
|
|
|
10
10
|
orgIdentifier?: string;
|
|
11
11
|
startTs: number;
|
|
12
12
|
endTs: number;
|
|
13
|
+
/**
|
|
14
|
+
* @default 500
|
|
15
|
+
*/
|
|
16
|
+
limit?: number;
|
|
17
|
+
cursor?: string;
|
|
13
18
|
}
|
|
14
19
|
export interface GetReleaseDayActivitiesQueryHeaderParams {
|
|
15
20
|
'Harness-Account': string;
|
package/dist/rmg-service/src/services/hooks/useGetReleaseReleaseIdEnvironmentDashboardQuery.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface GetReleaseReleaseIdEnvironmentDashboardQueryPathParams {
|
|
|
9
9
|
export interface GetReleaseReleaseIdEnvironmentDashboardQueryQueryParams {
|
|
10
10
|
searchTerm?: string;
|
|
11
11
|
environmentIdentifiers?: string[];
|
|
12
|
+
infrastructureIdentifiers?: string[];
|
|
12
13
|
}
|
|
13
14
|
export interface GetReleaseReleaseIdEnvironmentDashboardQueryHeaderParams {
|
|
14
15
|
'Harness-Account': string;
|
|
@@ -2,7 +2,26 @@ import type { ServiceInfoDto } from '../schemas/ServiceInfoDto';
|
|
|
2
2
|
import type { EnvironmentType } from '../schemas/EnvironmentType';
|
|
3
3
|
export interface EnvironmentDashboardDto {
|
|
4
4
|
identifier: string;
|
|
5
|
+
/**
|
|
6
|
+
* Holds the information of a given infrastructure
|
|
7
|
+
*/
|
|
8
|
+
infraInfo: {
|
|
9
|
+
identifier: string;
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
5
12
|
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Organization identifier of Environment
|
|
15
|
+
*/
|
|
16
|
+
orgIdentifier?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Project identifier of Environment
|
|
19
|
+
*/
|
|
20
|
+
projectIdentifier?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @default "account"
|
|
23
|
+
*/
|
|
24
|
+
scope: 'account' | 'org' | 'project' | 'unknown';
|
|
6
25
|
serviceInfo: ServiceInfoDto[];
|
|
7
26
|
type: EnvironmentType;
|
|
8
27
|
}
|
|
@@ -4,6 +4,7 @@ import type { ReleaseConflictInfo } from '../schemas/ReleaseConflictInfo';
|
|
|
4
4
|
import type { ConflictStatus } from '../schemas/ConflictStatus';
|
|
5
5
|
import type { TriggerType } from '../schemas/TriggerType';
|
|
6
6
|
import type { TriggeredByDto } from '../schemas/TriggeredByDto';
|
|
7
|
+
import type { ReleaseType } from '../schemas/ReleaseType';
|
|
7
8
|
export interface ExecutionConflict {
|
|
8
9
|
/**
|
|
9
10
|
* Comment associated with the conflict
|
|
@@ -67,4 +68,8 @@ export interface ExecutionConflict {
|
|
|
67
68
|
status: ConflictStatus;
|
|
68
69
|
triggerType: TriggerType;
|
|
69
70
|
triggeredBy: TriggeredByDto;
|
|
71
|
+
/**
|
|
72
|
+
* Type of the conflict (System, Beta, Hotfix, Patch)
|
|
73
|
+
*/
|
|
74
|
+
type?: ReleaseType;
|
|
70
75
|
}
|