@harnessio/react-rmg-service-client 0.15.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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",