@harnessio/react-chaos-manager-client 1.49.1-beta.2 → 1.49.1-beta.3

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 { TemplateVariable } from '../schemas/TemplateVariable';
2
+ import type { ChaoscomponentsGetChaosComponentVariableResponse } from '../schemas/ChaoscomponentsGetChaosComponentVariableResponse';
3
3
  import type { ApiRestError } from '../schemas/ApiRestError';
4
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
5
  export interface GetChaosComponentVariableQueryQueryParams {
@@ -11,7 +11,7 @@ export interface GetChaosComponentVariableQueryQueryParams {
11
11
  projectIdentifier?: string;
12
12
  type?: 'Action' | 'Fault' | 'Probe';
13
13
  }
14
- export type GetChaosComponentVariableOkResponse = TemplateVariable[];
14
+ export type GetChaosComponentVariableOkResponse = ChaoscomponentsGetChaosComponentVariableResponse;
15
15
  export type GetChaosComponentVariableErrorResponse = ApiRestError;
16
16
  export interface GetChaosComponentVariableProps extends Omit<FetcherOptions<GetChaosComponentVariableQueryQueryParams, unknown>, 'url'> {
17
17
  queryParams: GetChaosComponentVariableQueryQueryParams;
@@ -524,6 +524,8 @@ export type { ChaoscomponentsDrTest } from './schemas/ChaoscomponentsDrTest';
524
524
  export type { ChaoscomponentsDrTestPipelineInfo } from './schemas/ChaoscomponentsDrTestPipelineInfo';
525
525
  export type { ChaoscomponentsDrTestRunInfo } from './schemas/ChaoscomponentsDrTestRunInfo';
526
526
  export type { ChaoscomponentsDrTestSpec } from './schemas/ChaoscomponentsDrTestSpec';
527
+ export type { ChaoscomponentsGetChaosComponentVariableData } from './schemas/ChaoscomponentsGetChaosComponentVariableData';
528
+ export type { ChaoscomponentsGetChaosComponentVariableResponse } from './schemas/ChaoscomponentsGetChaosComponentVariableResponse';
527
529
  export type { ChaoscomponentsListDrTestsResponse } from './schemas/ChaoscomponentsListDrTestsResponse';
528
530
  export type { ChaoscomponentsRunChaosComponentRequest } from './schemas/ChaoscomponentsRunChaosComponentRequest';
529
531
  export type { ChaoscomponentsRunChaosComponentResponse } from './schemas/ChaoscomponentsRunChaosComponentResponse';
@@ -0,0 +1,5 @@
1
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
2
+ export interface ChaoscomponentsGetChaosComponentVariableData {
3
+ name?: string;
4
+ variables?: TemplateVariable[];
5
+ }
@@ -0,0 +1,4 @@
1
+ import type { ChaoscomponentsGetChaosComponentVariableData } from '../schemas/ChaoscomponentsGetChaosComponentVariableData';
2
+ export interface ChaoscomponentsGetChaosComponentVariableResponse {
3
+ items?: ChaoscomponentsGetChaosComponentVariableData[];
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.49.1-beta.2",
3
+ "version": "1.49.1-beta.3",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",