@harnessio/react-chaos-manager-client 1.44.0 → 1.45.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.
@@ -1,5 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { TemplateRunTimeVariables } from '../schemas/TemplateRunTimeVariables';
2
+ import type { V3GetExperimentOrTemplateVariableResponse } from '../schemas/V3GetExperimentOrTemplateVariableResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
5
  export interface GetExperimentOrTemplateVariableQueryQueryParams {
@@ -12,7 +12,7 @@ export interface GetExperimentOrTemplateVariableQueryQueryParams {
12
12
  organizationIdentifier?: string;
13
13
  projectIdentifier?: string;
14
14
  }
15
- export type GetExperimentOrTemplateVariableOkResponse = TemplateRunTimeVariables;
15
+ export type GetExperimentOrTemplateVariableOkResponse = V3GetExperimentOrTemplateVariableResponse;
16
16
  export type GetExperimentOrTemplateVariableErrorResponse = ApiRestError;
17
17
  export interface GetExperimentOrTemplateVariableProps extends Omit<FetcherOptions<GetExperimentOrTemplateVariableQueryQueryParams, unknown>, 'url'> {
18
18
  queryParams: GetExperimentOrTemplateVariableQueryQueryParams;
@@ -1205,4 +1205,6 @@ export type { V2OnboardingV2Onboarding } from './schemas/V2OnboardingV2Onboardin
1205
1205
  export type { V2OnboardingV2OnboardingList } from './schemas/V2OnboardingV2OnboardingList';
1206
1206
  export type { V2OnboardingV2OnboardingRequest } from './schemas/V2OnboardingV2OnboardingRequest';
1207
1207
  export type { V2OnboardingV2OnboardingStatus } from './schemas/V2OnboardingV2OnboardingStatus';
1208
+ export type { V3GetExperimentOrTemplateVariableData } from './schemas/V3GetExperimentOrTemplateVariableData';
1209
+ export type { V3GetExperimentOrTemplateVariableResponse } from './schemas/V3GetExperimentOrTemplateVariableResponse';
1208
1210
  export type { V3ListExperimentOrTemplateResponse } from './schemas/V3ListExperimentOrTemplateResponse';
@@ -0,0 +1,5 @@
1
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
2
+ export interface V3GetExperimentOrTemplateVariableData {
3
+ name?: string;
4
+ variables?: TemplateVariable[];
5
+ }
@@ -0,0 +1,4 @@
1
+ import type { V3GetExperimentOrTemplateVariableData } from '../schemas/V3GetExperimentOrTemplateVariableData';
2
+ export interface V3GetExperimentOrTemplateVariableResponse {
3
+ items?: V3GetExperimentOrTemplateVariableData[];
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.44.0",
3
+ "version": "1.45.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",