@harnessio/react-chaos-manager-client 1.6.0 → 1.8.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/chaos-manager/src/services/hooks/useCompareFaultTemplateRevisionsQuery.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useCompareFaultTemplateRevisionsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useCreateFaultTemplateMutation.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useCreateFaultTemplateMutation.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useCreateV2OnboardingMutation.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useDeleteFaultTemplateMutation.d.ts +2 -1
- package/dist/chaos-manager/src/services/hooks/useDeleteFaultTemplateMutation.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateQuery.d.ts +5 -3
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateQuery.js +2 -2
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionsQuery.d.ts +36 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateVariablesQuery.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateVariablesQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateYamlQuery.d.ts +29 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateYamlQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetOnboardingExperimentsQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetV2OnboardingQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListV2OnboardingQuery.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmDiscoveryMutation.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentCreationMutation.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentRunMutation.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmNetworkMapMutation.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useStopOnboardingExperimentsMutation.d.ts +1 -1
- package/dist/chaos-manager/src/services/hooks/useUpdateFaultTemplateMutation.d.ts +2 -1
- package/dist/chaos-manager/src/services/hooks/useUpdateFaultTemplateMutation.js +1 -1
- package/dist/chaos-manager/src/services/index.d.ts +23 -20
- package/dist/chaos-manager/src/services/index.js +4 -3
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +4 -4
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.d.ts +5 -4
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultData.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateChaosFaultTemplate.d.ts +30 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCompareRevisions.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +4 -3
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +6 -5
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateFaultTemplateVariables.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateFaultTemplateYaml.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateGetFaultTemplateResponse.d.ts +5 -5
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateListFaultTemplateResponse.d.ts +3 -3
- package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +6 -5
- package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepStatus.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ExperimentFaultRef.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/{K8sfaultApplicationTarget.d.ts → FaulttemplateApplicationTarget.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/{K8sfaultChaosSpec.d.ts → FaulttemplateChaosKubernetesSpec.d.ts} +9 -12
- package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosParameter.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateChaosSpec.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/{K8sfaultConfigMapVolume.d.ts → FaulttemplateConfigMapVolume.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/{K8sfaultK8SFault.d.ts → FaulttemplateFaultTemplate.d.ts} +5 -4
- package/dist/chaos-manager/src/services/schemas/{K8sfaultHostPathVolume.d.ts → FaulttemplateHostPathVolume.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/{K8sfaultK8STarget.d.ts → FaulttemplateKubernetesTarget.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/{K8sfaultResourceRequirements.d.ts → FaulttemplateResourceRequirements.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/{K8sfaultSecretVolume.d.ts → FaulttemplateSecretVolume.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/FaulttemplateSpec.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateTarget.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/FaulttemplateTarget.js +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflowRun.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/V1AppdMetrics.d.ts +4 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionDifferenceQuery.d.ts +0 -28
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionDifferenceQuery.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateRevisionsQuery.d.ts +0 -34
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateRevisionsQuery.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useListVariablesInFaultTemplateQuery.d.ts +0 -27
- package/dist/chaos-manager/src/services/hooks/useListVariablesInFaultTemplateQuery.js +0 -14
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepStatus.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepType.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosfaulttemplateChaosFaultTemplate.d.ts +0 -54
- package/dist/chaos-manager/src/services/schemas/K8sfaultChaosParameter.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/K8sfaultK8SFaultSpec.d.ts +0 -6
- package/dist/chaos-manager/src/services/schemas/K8sfaultTarget.d.ts +0 -6
- /package/dist/chaos-manager/src/services/schemas/{GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosfaulttemplateChaosFaultTemplate.js → ChaosfaulttemplateChaosFaultTemplate.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosExecutionNodesChaosStepStatus.js → ChaosfaulttemplateCompareRevisions.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ChaosExecutionNodesChaosStepType.js → ChaosfaulttemplateFaultTemplateYaml.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{K8sfaultApplicationTarget.js → FaulttemplateApplicationTarget.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{K8sfaultChaosSpec.js → FaulttemplateChaosKubernetesSpec.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{K8sfaultChaosParameter.js → FaulttemplateChaosParameter.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{K8sfaultHostPathVolume.js → FaulttemplateChaosSpec.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{K8sfaultConfigMapVolume.js → FaulttemplateConfigMapVolume.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{K8sfaultK8SFault.js → FaulttemplateFaultTemplate.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{K8sfaultK8SFaultSpec.js → FaulttemplateHostPathVolume.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{K8sfaultK8STarget.js → FaulttemplateKubernetesTarget.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{K8sfaultResourceRequirements.js → FaulttemplateResourceRequirements.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{K8sfaultSecretVolume.js → FaulttemplateSecretVolume.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{K8sfaultTarget.js → FaulttemplateSpec.js} +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosfaulttemplateCompareRevisions } from '../schemas/ChaosfaulttemplateCompareRevisions';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface CompareFaultTemplateRevisionsQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface CompareFaultTemplateRevisionsQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
organizationIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
hubIdentity: string;
|
|
13
|
+
correlationID?: string;
|
|
14
|
+
revision1: string;
|
|
15
|
+
revision2: string;
|
|
16
|
+
}
|
|
17
|
+
export type CompareFaultTemplateRevisionsOkResponse = ChaosfaulttemplateCompareRevisions;
|
|
18
|
+
export type CompareFaultTemplateRevisionsErrorResponse = ApiRestError;
|
|
19
|
+
export interface CompareFaultTemplateRevisionsProps extends CompareFaultTemplateRevisionsQueryPathParams, Omit<FetcherOptions<CompareFaultTemplateRevisionsQueryQueryParams, unknown>, 'url'> {
|
|
20
|
+
queryParams: CompareFaultTemplateRevisionsQueryQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export interface CompareFaultTemplateRevisionsResponseContainer {
|
|
23
|
+
body: CompareFaultTemplateRevisionsOkResponse;
|
|
24
|
+
headers: Headers;
|
|
25
|
+
}
|
|
26
|
+
export declare function compareFaultTemplateRevisions(props: CompareFaultTemplateRevisionsProps): Promise<CompareFaultTemplateRevisionsResponseContainer>;
|
|
27
|
+
/**
|
|
28
|
+
* Get the difference between 2 revisions of a fault template in a hub
|
|
29
|
+
*/
|
|
30
|
+
export declare function useCompareFaultTemplateRevisionsQuery(props: CompareFaultTemplateRevisionsProps, options?: Omit<UseQueryOptions<CompareFaultTemplateRevisionsResponseContainer, CompareFaultTemplateRevisionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CompareFaultTemplateRevisionsResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function compareFaultTemplateRevisions(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faulttemplates/${props.identity}/compare`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get the difference between 2 revisions of a fault template in a hub
|
|
11
|
+
*/
|
|
12
|
+
export function useCompareFaultTemplateRevisionsQuery(props, options) {
|
|
13
|
+
return useQuery(['compareFaultTemplateRevisions', props.identity, props.queryParams], ({ signal }) => compareFaultTemplateRevisions(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -8,6 +8,7 @@ export interface CreateFaultTemplateMutationQueryParams {
|
|
|
8
8
|
organizationIdentifier: string;
|
|
9
9
|
projectIdentifier: string;
|
|
10
10
|
hubIdentity: string;
|
|
11
|
+
correlationID?: string;
|
|
11
12
|
}
|
|
12
13
|
export type CreateFaultTemplateRequestBody = ChaosfaulttemplateCreateFaultTemplateRequest;
|
|
13
14
|
export type CreateFaultTemplateOkResponse = ChaosfaulttemplateCreateFaultTemplateResponse;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function createFaultTemplate(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faulttemplates`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Create fault templates in a hub based on tag
|
|
@@ -4,7 +4,7 @@ import type { ApiRestError } from '../schemas/ApiRestError';
|
|
|
4
4
|
import type { V2OnboardingV2OnboardingRequest } from '../schemas/V2OnboardingV2OnboardingRequest';
|
|
5
5
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export interface CreateV2OnboardingMutationQueryParams {
|
|
7
|
-
|
|
7
|
+
correlationID?: string;
|
|
8
8
|
accountIdentifier: string;
|
|
9
9
|
organizationIdentifier: string;
|
|
10
10
|
projectIdentifier: string;
|
|
@@ -3,13 +3,14 @@ import type { GithubComHarnessHceSaasGraphqlServerApiEmpty } from '../schemas/Gi
|
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface DeleteFaultTemplateMutationPathParams {
|
|
6
|
-
|
|
6
|
+
identity: string;
|
|
7
7
|
}
|
|
8
8
|
export interface DeleteFaultTemplateMutationQueryParams {
|
|
9
9
|
accountIdentifier: string;
|
|
10
10
|
organizationIdentifier: string;
|
|
11
11
|
projectIdentifier: string;
|
|
12
12
|
hubIdentity: string;
|
|
13
|
+
correlationID?: string;
|
|
13
14
|
}
|
|
14
15
|
export type DeleteFaultTemplateOkResponse = GithubComHarnessHceSaasGraphqlServerApiEmpty;
|
|
15
16
|
export type DeleteFaultTemplateErrorResponse = ApiRestError;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function deleteFaultTemplate(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faulttemplates/${props.identity}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Delete the fault templates in a hub based on tag
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ChaosfaulttemplateGetFaultTemplateResponse } from '../schemas/ChaosfaulttemplateGetFaultTemplateResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
4
5
|
export interface GetFaultTemplateQueryPathParams {
|
|
5
|
-
|
|
6
|
+
identity: string;
|
|
6
7
|
}
|
|
7
8
|
export interface GetFaultTemplateQueryQueryParams {
|
|
8
9
|
accountIdentifier: string;
|
|
9
10
|
organizationIdentifier: string;
|
|
10
11
|
projectIdentifier: string;
|
|
11
12
|
hubIdentity: string;
|
|
13
|
+
correlationID?: string;
|
|
12
14
|
revision: string;
|
|
13
15
|
}
|
|
14
16
|
export type GetFaultTemplateOkResponse = ChaosfaulttemplateGetFaultTemplateResponse;
|
|
15
|
-
export type GetFaultTemplateErrorResponse =
|
|
17
|
+
export type GetFaultTemplateErrorResponse = ApiRestError;
|
|
16
18
|
export interface GetFaultTemplateProps extends GetFaultTemplateQueryPathParams, Omit<FetcherOptions<GetFaultTemplateQueryQueryParams, unknown>, 'url'> {
|
|
17
19
|
queryParams: GetFaultTemplateQueryQueryParams;
|
|
18
20
|
}
|
|
@@ -24,4 +26,4 @@ export declare function getFaultTemplate(props: GetFaultTemplateProps): Promise<
|
|
|
24
26
|
/**
|
|
25
27
|
* Lists all the fault templates in a hub based on tag
|
|
26
28
|
*/
|
|
27
|
-
export declare function useGetFaultTemplateQuery(props: GetFaultTemplateProps, options?: Omit<UseQueryOptions<GetFaultTemplateResponseContainer, GetFaultTemplateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultTemplateResponseContainer,
|
|
29
|
+
export declare function useGetFaultTemplateQuery(props: GetFaultTemplateProps, options?: Omit<UseQueryOptions<GetFaultTemplateResponseContainer, GetFaultTemplateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultTemplateResponseContainer, ApiRestError>;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function getFaultTemplate(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faulttemplates/${props.identity}`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Lists all the fault templates in a hub based on tag
|
|
11
11
|
*/
|
|
12
12
|
export function useGetFaultTemplateQuery(props, options) {
|
|
13
|
-
return useQuery(['getFaultTemplate', props.
|
|
13
|
+
return useQuery(['getFaultTemplate', props.identity, props.queryParams], ({ signal }) => getFaultTemplate(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosfaulttemplateListFaultTemplateResponse } from '../schemas/ChaosfaulttemplateListFaultTemplateResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetFaultTemplateRevisionsQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetFaultTemplateRevisionsQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
organizationIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
hubIdentity: string;
|
|
13
|
+
correlationID?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page: number;
|
|
18
|
+
/**
|
|
19
|
+
* @default 15
|
|
20
|
+
*/
|
|
21
|
+
limit: number;
|
|
22
|
+
}
|
|
23
|
+
export type GetFaultTemplateRevisionsOkResponse = ChaosfaulttemplateListFaultTemplateResponse;
|
|
24
|
+
export type GetFaultTemplateRevisionsErrorResponse = ApiRestError;
|
|
25
|
+
export interface GetFaultTemplateRevisionsProps extends GetFaultTemplateRevisionsQueryPathParams, Omit<FetcherOptions<GetFaultTemplateRevisionsQueryQueryParams, unknown>, 'url'> {
|
|
26
|
+
queryParams: GetFaultTemplateRevisionsQueryQueryParams;
|
|
27
|
+
}
|
|
28
|
+
export interface GetFaultTemplateRevisionsResponseContainer {
|
|
29
|
+
body: GetFaultTemplateRevisionsOkResponse;
|
|
30
|
+
headers: Headers;
|
|
31
|
+
}
|
|
32
|
+
export declare function getFaultTemplateRevisions(props: GetFaultTemplateRevisionsProps): Promise<GetFaultTemplateRevisionsResponseContainer>;
|
|
33
|
+
/**
|
|
34
|
+
* Lists all the revision of a fault template in a hub
|
|
35
|
+
*/
|
|
36
|
+
export declare function useGetFaultTemplateRevisionsQuery(props: GetFaultTemplateRevisionsProps, options?: Omit<UseQueryOptions<GetFaultTemplateRevisionsResponseContainer, GetFaultTemplateRevisionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultTemplateRevisionsResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function getFaultTemplateRevisions(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faulttemplates/${props.identity}/revisions`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Lists all the revision of a fault template in a hub
|
|
11
|
+
*/
|
|
12
|
+
export function useGetFaultTemplateRevisionsQuery(props, options) {
|
|
13
|
+
return useQuery(['getFaultTemplateRevisions', props.identity, props.queryParams], ({ signal }) => getFaultTemplateRevisions(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosfaulttemplateFaultTemplateVariables } from '../schemas/ChaosfaulttemplateFaultTemplateVariables';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetFaultTemplateVariablesQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetFaultTemplateVariablesQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
organizationIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
hubIdentity: string;
|
|
13
|
+
correlationID?: string;
|
|
14
|
+
revision: string;
|
|
15
|
+
}
|
|
16
|
+
export type GetFaultTemplateVariablesOkResponse = ChaosfaulttemplateFaultTemplateVariables;
|
|
17
|
+
export type GetFaultTemplateVariablesErrorResponse = ApiRestError;
|
|
18
|
+
export interface GetFaultTemplateVariablesProps extends GetFaultTemplateVariablesQueryPathParams, Omit<FetcherOptions<GetFaultTemplateVariablesQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetFaultTemplateVariablesQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export interface GetFaultTemplateVariablesResponseContainer {
|
|
22
|
+
body: GetFaultTemplateVariablesOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function getFaultTemplateVariables(props: GetFaultTemplateVariablesProps): Promise<GetFaultTemplateVariablesResponseContainer>;
|
|
26
|
+
/**
|
|
27
|
+
* Get the list of variables in a fault template based on revision
|
|
28
|
+
*/
|
|
29
|
+
export declare function useGetFaultTemplateVariablesQuery(props: GetFaultTemplateVariablesProps, options?: Omit<UseQueryOptions<GetFaultTemplateVariablesResponseContainer, GetFaultTemplateVariablesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultTemplateVariablesResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function getFaultTemplateVariables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faulttemplates/${props.identity}/variables`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get the list of variables in a fault template based on revision
|
|
11
|
+
*/
|
|
12
|
+
export function useGetFaultTemplateVariablesQuery(props, options) {
|
|
13
|
+
return useQuery(['getFaultTemplateVariables', props.identity, props.queryParams], ({ signal }) => getFaultTemplateVariables(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosfaulttemplateFaultTemplateYaml } from '../schemas/ChaosfaulttemplateFaultTemplateYaml';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetFaultTemplateYamlQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetFaultTemplateYamlQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
organizationIdentifier: string;
|
|
11
|
+
projectIdentifier: string;
|
|
12
|
+
hubIdentity: string;
|
|
13
|
+
correlationID?: string;
|
|
14
|
+
revision: string;
|
|
15
|
+
}
|
|
16
|
+
export type GetFaultTemplateYamlOkResponse = ChaosfaulttemplateFaultTemplateYaml;
|
|
17
|
+
export type GetFaultTemplateYamlErrorResponse = ApiRestError;
|
|
18
|
+
export interface GetFaultTemplateYamlProps extends GetFaultTemplateYamlQueryPathParams, Omit<FetcherOptions<GetFaultTemplateYamlQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetFaultTemplateYamlQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export interface GetFaultTemplateYamlResponseContainer {
|
|
22
|
+
body: GetFaultTemplateYamlOkResponse;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
}
|
|
25
|
+
export declare function getFaultTemplateYaml(props: GetFaultTemplateYamlProps): Promise<GetFaultTemplateYamlResponseContainer>;
|
|
26
|
+
/**
|
|
27
|
+
* Get the list of variables in a fault template based on revision
|
|
28
|
+
*/
|
|
29
|
+
export declare function useGetFaultTemplateYamlQuery(props: GetFaultTemplateYamlProps, options?: Omit<UseQueryOptions<GetFaultTemplateYamlResponseContainer, GetFaultTemplateYamlErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultTemplateYamlResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function getFaultTemplateYaml(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faulttemplates/${props.identity}/yaml`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get the list of variables in a fault template based on revision
|
|
11
|
+
*/
|
|
12
|
+
export function useGetFaultTemplateYamlQuery(props, options) {
|
|
13
|
+
return useQuery(['getFaultTemplateYaml', props.identity, props.queryParams], ({ signal }) => getFaultTemplateYaml(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -6,7 +6,7 @@ export interface GetOnboardingExperimentsQueryPathParams {
|
|
|
6
6
|
onboardingid: string;
|
|
7
7
|
}
|
|
8
8
|
export interface GetOnboardingExperimentsQueryQueryParams {
|
|
9
|
-
|
|
9
|
+
correlationID?: string;
|
|
10
10
|
accountIdentifier?: string;
|
|
11
11
|
organizationIdentifier?: string;
|
|
12
12
|
projectIdentifier?: string;
|
|
@@ -6,7 +6,7 @@ export interface GetV2OnboardingQueryPathParams {
|
|
|
6
6
|
onboardingid: string;
|
|
7
7
|
}
|
|
8
8
|
export interface GetV2OnboardingQueryQueryParams {
|
|
9
|
-
|
|
9
|
+
correlationID?: string;
|
|
10
10
|
accountIdentifier: string;
|
|
11
11
|
organizationIdentifier: string;
|
|
12
12
|
projectIdentifier: string;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function listFaultTemplate(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faulttemplates`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Lists all the fault templates in a hub based on tag
|
|
@@ -6,7 +6,7 @@ export interface OnboardingConfirmDiscoveryMutationPathParams {
|
|
|
6
6
|
onboardingid: string;
|
|
7
7
|
}
|
|
8
8
|
export interface OnboardingConfirmDiscoveryMutationQueryParams {
|
|
9
|
-
|
|
9
|
+
correlationID?: string;
|
|
10
10
|
accountIdentifier: string;
|
|
11
11
|
organizationIdentifier: string;
|
|
12
12
|
projectIdentifier: string;
|
package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentCreationMutation.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export interface OnboardingConfirmExperimentCreationMutationPathParams {
|
|
|
7
7
|
onboardingid: string;
|
|
8
8
|
}
|
|
9
9
|
export interface OnboardingConfirmExperimentCreationMutationQueryParams {
|
|
10
|
-
|
|
10
|
+
correlationID?: string;
|
|
11
11
|
accountIdentifier: string;
|
|
12
12
|
organizationIdentifier: string;
|
|
13
13
|
projectIdentifier: string;
|
package/dist/chaos-manager/src/services/hooks/useOnboardingConfirmExperimentRunMutation.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface OnboardingConfirmExperimentRunMutationPathParams {
|
|
|
6
6
|
onboardingid: string;
|
|
7
7
|
}
|
|
8
8
|
export interface OnboardingConfirmExperimentRunMutationQueryParams {
|
|
9
|
-
|
|
9
|
+
correlationID?: string;
|
|
10
10
|
accountIdentifier: string;
|
|
11
11
|
organizationIdentifier: string;
|
|
12
12
|
projectIdentifier: string;
|
|
@@ -7,7 +7,7 @@ export interface OnboardingConfirmNetworkMapMutationPathParams {
|
|
|
7
7
|
onboardingid: string;
|
|
8
8
|
}
|
|
9
9
|
export interface OnboardingConfirmNetworkMapMutationQueryParams {
|
|
10
|
-
|
|
10
|
+
correlationID?: string;
|
|
11
11
|
accountIdentifier: string;
|
|
12
12
|
organizationIdentifier: string;
|
|
13
13
|
projectIdentifier: string;
|
|
@@ -5,7 +5,7 @@ export interface StopOnboardingExperimentsMutationPathParams {
|
|
|
5
5
|
onboardingid: string;
|
|
6
6
|
}
|
|
7
7
|
export interface StopOnboardingExperimentsMutationQueryParams {
|
|
8
|
-
|
|
8
|
+
correlationID?: string;
|
|
9
9
|
accountIdentifier?: string;
|
|
10
10
|
organizationIdentifier?: string;
|
|
11
11
|
projectIdentifier?: string;
|
|
@@ -3,13 +3,14 @@ import type { ChaosfaulttemplateUpdateFaultTemplateResponse } from '../schemas/C
|
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface UpdateFaultTemplateMutationPathParams {
|
|
6
|
-
|
|
6
|
+
identity: string;
|
|
7
7
|
}
|
|
8
8
|
export interface UpdateFaultTemplateMutationQueryParams {
|
|
9
9
|
accountIdentifier: string;
|
|
10
10
|
organizationIdentifier: string;
|
|
11
11
|
projectIdentifier: string;
|
|
12
12
|
hubIdentity: string;
|
|
13
|
+
correlationID?: string;
|
|
13
14
|
}
|
|
14
15
|
export type UpdateFaultTemplateOkResponse = ChaosfaulttemplateUpdateFaultTemplateResponse;
|
|
15
16
|
export type UpdateFaultTemplateErrorResponse = ApiRestError;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function updateFaultTemplate(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faulttemplates/${props.identity}`, method: 'PUT' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Update the fault templates in a hub based on tag
|
|
@@ -6,6 +6,8 @@ export type { BulkExperimentTagAddErrorResponse, BulkExperimentTagAddMutationPro
|
|
|
6
6
|
export { bulkExperimentTagAdd, useBulkExperimentTagAddMutation, } from './hooks/useBulkExperimentTagAddMutation';
|
|
7
7
|
export type { CanRetryExperimentCreationErrorResponse, CanRetryExperimentCreationOkResponse, CanRetryExperimentCreationProps, CanRetryExperimentCreationQueryPathParams, CanRetryExperimentCreationQueryQueryParams, } from './hooks/useCanRetryExperimentCreationQuery';
|
|
8
8
|
export { canRetryExperimentCreation, useCanRetryExperimentCreationQuery, } from './hooks/useCanRetryExperimentCreationQuery';
|
|
9
|
+
export type { CompareFaultTemplateRevisionsErrorResponse, CompareFaultTemplateRevisionsOkResponse, CompareFaultTemplateRevisionsProps, CompareFaultTemplateRevisionsQueryPathParams, CompareFaultTemplateRevisionsQueryQueryParams, } from './hooks/useCompareFaultTemplateRevisionsQuery';
|
|
10
|
+
export { compareFaultTemplateRevisions, useCompareFaultTemplateRevisionsQuery, } from './hooks/useCompareFaultTemplateRevisionsQuery';
|
|
9
11
|
export type { CreateActionErrorResponse, CreateActionMutationProps, CreateActionMutationQueryParams, CreateActionOkResponse, CreateActionProps, CreateActionRequestBody, } from './hooks/useCreateActionMutation';
|
|
10
12
|
export { createAction, useCreateActionMutation } from './hooks/useCreateActionMutation';
|
|
11
13
|
export type { CreateActionTemplateErrorResponse, CreateActionTemplateMutationProps, CreateActionTemplateMutationQueryParams, CreateActionTemplateOkResponse, CreateActionTemplateProps, CreateActionTemplateRequestBody, } from './hooks/useCreateActionTemplateMutation';
|
|
@@ -98,8 +100,12 @@ export type { GetExperimentRunsOverviewStatsErrorResponse, GetExperimentRunsOver
|
|
|
98
100
|
export { getExperimentRunsOverviewStats, useGetExperimentRunsOverviewStatsQuery, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
|
|
99
101
|
export type { GetFaultTemplateErrorResponse, GetFaultTemplateOkResponse, GetFaultTemplateProps, GetFaultTemplateQueryPathParams, GetFaultTemplateQueryQueryParams, } from './hooks/useGetFaultTemplateQuery';
|
|
100
102
|
export { getFaultTemplate, useGetFaultTemplateQuery } from './hooks/useGetFaultTemplateQuery';
|
|
101
|
-
export type {
|
|
102
|
-
export {
|
|
103
|
+
export type { GetFaultTemplateRevisionsErrorResponse, GetFaultTemplateRevisionsOkResponse, GetFaultTemplateRevisionsProps, GetFaultTemplateRevisionsQueryPathParams, GetFaultTemplateRevisionsQueryQueryParams, } from './hooks/useGetFaultTemplateRevisionsQuery';
|
|
104
|
+
export { getFaultTemplateRevisions, useGetFaultTemplateRevisionsQuery, } from './hooks/useGetFaultTemplateRevisionsQuery';
|
|
105
|
+
export type { GetFaultTemplateVariablesErrorResponse, GetFaultTemplateVariablesOkResponse, GetFaultTemplateVariablesProps, GetFaultTemplateVariablesQueryPathParams, GetFaultTemplateVariablesQueryQueryParams, } from './hooks/useGetFaultTemplateVariablesQuery';
|
|
106
|
+
export { getFaultTemplateVariables, useGetFaultTemplateVariablesQuery, } from './hooks/useGetFaultTemplateVariablesQuery';
|
|
107
|
+
export type { GetFaultTemplateYamlErrorResponse, GetFaultTemplateYamlOkResponse, GetFaultTemplateYamlProps, GetFaultTemplateYamlQueryPathParams, GetFaultTemplateYamlQueryQueryParams, } from './hooks/useGetFaultTemplateYamlQuery';
|
|
108
|
+
export { getFaultTemplateYaml, useGetFaultTemplateYamlQuery, } from './hooks/useGetFaultTemplateYamlQuery';
|
|
103
109
|
export type { GetGamedayRunV2ErrorResponse, GetGamedayRunV2OkResponse, GetGamedayRunV2Props, GetGamedayRunV2QueryPathParams, GetGamedayRunV2QueryQueryParams, } from './hooks/useGetGamedayRunV2Query';
|
|
104
110
|
export { getGamedayRunV2, useGetGamedayRunV2Query } from './hooks/useGetGamedayRunV2Query';
|
|
105
111
|
export type { GetGamedayV2ErrorResponse, GetGamedayV2OkResponse, GetGamedayV2Props, GetGamedayV2QueryPathParams, GetGamedayV2QueryQueryParams, } from './hooks/useGetGamedayV2Query';
|
|
@@ -164,8 +170,6 @@ export type { ListFaultErrorResponse, ListFaultOkResponse, ListFaultProps, ListF
|
|
|
164
170
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
165
171
|
export type { ListFaultTemplateErrorResponse, ListFaultTemplateOkResponse, ListFaultTemplateProps, ListFaultTemplateQueryQueryParams, } from './hooks/useListFaultTemplateQuery';
|
|
166
172
|
export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
|
|
167
|
-
export type { ListFaultTemplateRevisionsErrorResponse, ListFaultTemplateRevisionsOkResponse, ListFaultTemplateRevisionsProps, ListFaultTemplateRevisionsQueryPathParams, ListFaultTemplateRevisionsQueryQueryParams, } from './hooks/useListFaultTemplateRevisionsQuery';
|
|
168
|
-
export { listFaultTemplateRevisions, useListFaultTemplateRevisionsQuery, } from './hooks/useListFaultTemplateRevisionsQuery';
|
|
169
173
|
export type { ListFunctionErrorResponse, ListFunctionOkResponse, ListFunctionProps, ListFunctionQueryPathParams, ListFunctionQueryQueryParams, } from './hooks/useListFunctionQuery';
|
|
170
174
|
export { listFunction, useListFunctionQuery } from './hooks/useListFunctionQuery';
|
|
171
175
|
export type { ListGamedayRunV2ErrorResponse, ListGamedayRunV2OkResponse, ListGamedayRunV2Props, ListGamedayRunV2QueryPathParams, ListGamedayRunV2QueryQueryParams, } from './hooks/useListGamedayRunV2Query';
|
|
@@ -194,8 +198,6 @@ export type { ListV2OnboardingErrorResponse, ListV2OnboardingOkResponse, ListV2O
|
|
|
194
198
|
export { listV2Onboarding, useListV2OnboardingQuery } from './hooks/useListV2OnboardingQuery';
|
|
195
199
|
export type { ListVariablesInActionTemplateErrorResponse, ListVariablesInActionTemplateOkResponse, ListVariablesInActionTemplateProps, ListVariablesInActionTemplateQueryPathParams, ListVariablesInActionTemplateQueryQueryParams, } from './hooks/useListVariablesInActionTemplateQuery';
|
|
196
200
|
export { listVariablesInActionTemplate, useListVariablesInActionTemplateQuery, } from './hooks/useListVariablesInActionTemplateQuery';
|
|
197
|
-
export type { ListVariablesInFaultTemplateErrorResponse, ListVariablesInFaultTemplateOkResponse, ListVariablesInFaultTemplateProps, ListVariablesInFaultTemplateQueryPathParams, ListVariablesInFaultTemplateQueryQueryParams, } from './hooks/useListVariablesInFaultTemplateQuery';
|
|
198
|
-
export { listVariablesInFaultTemplate, useListVariablesInFaultTemplateQuery, } from './hooks/useListVariablesInFaultTemplateQuery';
|
|
199
201
|
export type { ListVariablesInProbeTemplateErrorResponse, ListVariablesInProbeTemplateOkResponse, ListVariablesInProbeTemplateProps, ListVariablesInProbeTemplateQueryPathParams, ListVariablesInProbeTemplateQueryQueryParams, } from './hooks/useListVariablesInProbeTemplateQuery';
|
|
200
202
|
export { listVariablesInProbeTemplate, useListVariablesInProbeTemplateQuery, } from './hooks/useListVariablesInProbeTemplateQuery';
|
|
201
203
|
export type { OnboardingConfirmDiscoveryErrorResponse, OnboardingConfirmDiscoveryMutationPathParams, OnboardingConfirmDiscoveryMutationProps, OnboardingConfirmDiscoveryMutationQueryParams, OnboardingConfirmDiscoveryOkResponse, OnboardingConfirmDiscoveryProps, } from './hooks/useOnboardingConfirmDiscoveryMutation';
|
|
@@ -287,8 +289,6 @@ export type { ChaosExecutionNodesActionData } from './schemas/ChaosExecutionNode
|
|
|
287
289
|
export type { ChaosExecutionNodesChaosData } from './schemas/ChaosExecutionNodesChaosData';
|
|
288
290
|
export type { ChaosExecutionNodesChaosExecutionNode } from './schemas/ChaosExecutionNodesChaosExecutionNode';
|
|
289
291
|
export type { ChaosExecutionNodesChaosExecutionResponse } from './schemas/ChaosExecutionNodesChaosExecutionResponse';
|
|
290
|
-
export type { ChaosExecutionNodesChaosStepStatus } from './schemas/ChaosExecutionNodesChaosStepStatus';
|
|
291
|
-
export type { ChaosExecutionNodesChaosStepType } from './schemas/ChaosExecutionNodesChaosStepType';
|
|
292
292
|
export type { ChaosExecutionNodesCommandProbe } from './schemas/ChaosExecutionNodesCommandProbe';
|
|
293
293
|
export type { ChaosExecutionNodesErrorData } from './schemas/ChaosExecutionNodesErrorData';
|
|
294
294
|
export type { ChaosExecutionNodesFaultData } from './schemas/ChaosExecutionNodesFaultData';
|
|
@@ -327,9 +327,12 @@ export type { ChaosexperimentpipelineGetChaosPipelineNodesResponse } from './sch
|
|
|
327
327
|
export type { ChaosexperimentpipelineReferenceEntities } from './schemas/ChaosexperimentpipelineReferenceEntities';
|
|
328
328
|
export type { ChaosfaulttemplateActionTemplate } from './schemas/ChaosfaulttemplateActionTemplate';
|
|
329
329
|
export type { ChaosfaulttemplateActionTemplateVariables } from './schemas/ChaosfaulttemplateActionTemplateVariables';
|
|
330
|
+
export type { ChaosfaulttemplateChaosFaultTemplate } from './schemas/ChaosfaulttemplateChaosFaultTemplate';
|
|
331
|
+
export type { ChaosfaulttemplateCompareRevisions } from './schemas/ChaosfaulttemplateCompareRevisions';
|
|
330
332
|
export type { ChaosfaulttemplateCreateFaultTemplateRequest } from './schemas/ChaosfaulttemplateCreateFaultTemplateRequest';
|
|
331
333
|
export type { ChaosfaulttemplateCreateFaultTemplateResponse } from './schemas/ChaosfaulttemplateCreateFaultTemplateResponse';
|
|
332
334
|
export type { ChaosfaulttemplateFaultTemplateVariables } from './schemas/ChaosfaulttemplateFaultTemplateVariables';
|
|
335
|
+
export type { ChaosfaulttemplateFaultTemplateYaml } from './schemas/ChaosfaulttemplateFaultTemplateYaml';
|
|
333
336
|
export type { ChaosfaulttemplateGetActionTemplateResponse } from './schemas/ChaosfaulttemplateGetActionTemplateResponse';
|
|
334
337
|
export type { ChaosfaulttemplateGetFaultTemplateResponse } from './schemas/ChaosfaulttemplateGetFaultTemplateResponse';
|
|
335
338
|
export type { ChaosfaulttemplateListActionTemplateResponse } from './schemas/ChaosfaulttemplateListActionTemplateResponse';
|
|
@@ -419,6 +422,18 @@ export type { ExperimentStatusCheckTimeout } from './schemas/ExperimentStatusChe
|
|
|
419
422
|
export type { ExperimentTargets } from './schemas/ExperimentTargets';
|
|
420
423
|
export type { ExperimentWorkload } from './schemas/ExperimentWorkload';
|
|
421
424
|
export type { ExperimentWorkloadKind } from './schemas/ExperimentWorkloadKind';
|
|
425
|
+
export type { FaulttemplateApplicationTarget } from './schemas/FaulttemplateApplicationTarget';
|
|
426
|
+
export type { FaulttemplateChaosKubernetesSpec } from './schemas/FaulttemplateChaosKubernetesSpec';
|
|
427
|
+
export type { FaulttemplateChaosParameter } from './schemas/FaulttemplateChaosParameter';
|
|
428
|
+
export type { FaulttemplateChaosSpec } from './schemas/FaulttemplateChaosSpec';
|
|
429
|
+
export type { FaulttemplateConfigMapVolume } from './schemas/FaulttemplateConfigMapVolume';
|
|
430
|
+
export type { FaulttemplateFaultTemplate } from './schemas/FaulttemplateFaultTemplate';
|
|
431
|
+
export type { FaulttemplateHostPathVolume } from './schemas/FaulttemplateHostPathVolume';
|
|
432
|
+
export type { FaulttemplateKubernetesTarget } from './schemas/FaulttemplateKubernetesTarget';
|
|
433
|
+
export type { FaulttemplateResourceRequirements } from './schemas/FaulttemplateResourceRequirements';
|
|
434
|
+
export type { FaulttemplateSecretVolume } from './schemas/FaulttemplateSecretVolume';
|
|
435
|
+
export type { FaulttemplateSpec } from './schemas/FaulttemplateSpec';
|
|
436
|
+
export type { FaulttemplateTarget } from './schemas/FaulttemplateTarget';
|
|
422
437
|
export type { Gamedayrunv2ApprovalStatus } from './schemas/Gamedayrunv2ApprovalStatus';
|
|
423
438
|
export type { Gamedayrunv2PrerequisiteStatus } from './schemas/Gamedayrunv2PrerequisiteStatus';
|
|
424
439
|
export type { Gamedayv2GamedayRunStatus } from './schemas/Gamedayv2GamedayRunStatus';
|
|
@@ -432,7 +447,6 @@ export type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '
|
|
|
432
447
|
export type { GithubComHarnessHceSaasGraphqlServerPkgActionsAction } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction';
|
|
433
448
|
export type { GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesProbeVerdict } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesProbeVerdict';
|
|
434
449
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction';
|
|
435
|
-
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosfaulttemplateChaosFaultTemplate } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosfaulttemplateChaosFaultTemplate';
|
|
436
450
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate';
|
|
437
451
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs';
|
|
438
452
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics';
|
|
@@ -513,17 +527,6 @@ export type { InputsetsUpdateInputSetResponse } from './schemas/InputsetsUpdateI
|
|
|
513
527
|
export type { IntstrIntOrString } from './schemas/IntstrIntOrString';
|
|
514
528
|
export type { IntstrType } from './schemas/IntstrType';
|
|
515
529
|
export type { K8sIoApimachineryPkgApisMetaV1ConditionStatus } from './schemas/K8sIoApimachineryPkgApisMetaV1ConditionStatus';
|
|
516
|
-
export type { K8sfaultApplicationTarget } from './schemas/K8sfaultApplicationTarget';
|
|
517
|
-
export type { K8sfaultChaosParameter } from './schemas/K8sfaultChaosParameter';
|
|
518
|
-
export type { K8sfaultChaosSpec } from './schemas/K8sfaultChaosSpec';
|
|
519
|
-
export type { K8sfaultConfigMapVolume } from './schemas/K8sfaultConfigMapVolume';
|
|
520
|
-
export type { K8sfaultHostPathVolume } from './schemas/K8sfaultHostPathVolume';
|
|
521
|
-
export type { K8sfaultK8SFault } from './schemas/K8sfaultK8SFault';
|
|
522
|
-
export type { K8sfaultK8SFaultSpec } from './schemas/K8sfaultK8SFaultSpec';
|
|
523
|
-
export type { K8sfaultK8STarget } from './schemas/K8sfaultK8STarget';
|
|
524
|
-
export type { K8sfaultResourceRequirements } from './schemas/K8sfaultResourceRequirements';
|
|
525
|
-
export type { K8sfaultSecretVolume } from './schemas/K8sfaultSecretVolume';
|
|
526
|
-
export type { K8sfaultTarget } from './schemas/K8sfaultTarget';
|
|
527
530
|
export type { K8sinfraGetInfraTokenResponse } from './schemas/K8sinfraGetInfraTokenResponse';
|
|
528
531
|
export type { K8sinfraUpdateEmissaryUrlRequest } from './schemas/K8sinfraUpdateEmissaryUrlRequest';
|
|
529
532
|
export type { K8sinfraUpdateEmissaryUrlResponse } from './schemas/K8sinfraUpdateEmissaryUrlResponse';
|
|
@@ -2,6 +2,7 @@ export { addNote, useAddNoteMutation } from './hooks/useAddNoteMutation';
|
|
|
2
2
|
export { bulkExperimentDelete, useBulkExperimentDeleteMutation, } from './hooks/useBulkExperimentDeleteMutation';
|
|
3
3
|
export { bulkExperimentTagAdd, useBulkExperimentTagAddMutation, } from './hooks/useBulkExperimentTagAddMutation';
|
|
4
4
|
export { canRetryExperimentCreation, useCanRetryExperimentCreationQuery, } from './hooks/useCanRetryExperimentCreationQuery';
|
|
5
|
+
export { compareFaultTemplateRevisions, useCompareFaultTemplateRevisionsQuery, } from './hooks/useCompareFaultTemplateRevisionsQuery';
|
|
5
6
|
export { createAction, useCreateActionMutation } from './hooks/useCreateActionMutation';
|
|
6
7
|
export { createActionTemplate, useCreateActionTemplateMutation, } from './hooks/useCreateActionTemplateMutation';
|
|
7
8
|
export { createChaosExperimentExecutionNode, useCreateChaosExperimentExecutionNodeMutation, } from './hooks/useCreateChaosExperimentExecutionNodeMutation';
|
|
@@ -48,7 +49,9 @@ export { getExperimentHelperImageVersion, useGetExperimentHelperImageVersionQuer
|
|
|
48
49
|
export { getExperimentRunTimelineView, useGetExperimentRunTimelineViewQuery, } from './hooks/useGetExperimentRunTimelineViewQuery';
|
|
49
50
|
export { getExperimentRunsOverviewStats, useGetExperimentRunsOverviewStatsQuery, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
|
|
50
51
|
export { getFaultTemplate, useGetFaultTemplateQuery } from './hooks/useGetFaultTemplateQuery';
|
|
51
|
-
export {
|
|
52
|
+
export { getFaultTemplateRevisions, useGetFaultTemplateRevisionsQuery, } from './hooks/useGetFaultTemplateRevisionsQuery';
|
|
53
|
+
export { getFaultTemplateVariables, useGetFaultTemplateVariablesQuery, } from './hooks/useGetFaultTemplateVariablesQuery';
|
|
54
|
+
export { getFaultTemplateYaml, useGetFaultTemplateYamlQuery, } from './hooks/useGetFaultTemplateYamlQuery';
|
|
52
55
|
export { getGamedayRunV2, useGetGamedayRunV2Query } from './hooks/useGetGamedayRunV2Query';
|
|
53
56
|
export { getGamedayV2, useGetGamedayV2Query } from './hooks/useGetGamedayV2Query';
|
|
54
57
|
export { getImageRegistry, useGetImageRegistryQuery } from './hooks/useGetImageRegistryQuery';
|
|
@@ -81,7 +84,6 @@ export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/u
|
|
|
81
84
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
82
85
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
83
86
|
export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
|
|
84
|
-
export { listFaultTemplateRevisions, useListFaultTemplateRevisionsQuery, } from './hooks/useListFaultTemplateRevisionsQuery';
|
|
85
87
|
export { listFunction, useListFunctionQuery } from './hooks/useListFunctionQuery';
|
|
86
88
|
export { listGamedayRunV2, useListGamedayRunV2Query } from './hooks/useListGamedayRunV2Query';
|
|
87
89
|
export { listGamedayV2, useListGamedayV2Query } from './hooks/useListGamedayV2Query';
|
|
@@ -96,7 +98,6 @@ export { listService, useListServiceQuery } from './hooks/useListServiceQuery';
|
|
|
96
98
|
export { listTargetNetworkMaps, useListTargetNetworkMapsQuery, } from './hooks/useListTargetNetworkMapsQuery';
|
|
97
99
|
export { listV2Onboarding, useListV2OnboardingQuery } from './hooks/useListV2OnboardingQuery';
|
|
98
100
|
export { listVariablesInActionTemplate, useListVariablesInActionTemplateQuery, } from './hooks/useListVariablesInActionTemplateQuery';
|
|
99
|
-
export { listVariablesInFaultTemplate, useListVariablesInFaultTemplateQuery, } from './hooks/useListVariablesInFaultTemplateQuery';
|
|
100
101
|
export { listVariablesInProbeTemplate, useListVariablesInProbeTemplateQuery, } from './hooks/useListVariablesInProbeTemplateQuery';
|
|
101
102
|
export { onboardingConfirmDiscovery, useOnboardingConfirmDiscoveryMutation, } from './hooks/useOnboardingConfirmDiscoveryMutation';
|
|
102
103
|
export { onboardingConfirmExperimentCreation, useOnboardingConfirmExperimentCreationMutation, } from './hooks/useOnboardingConfirmExperimentCreationMutation';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChaosExecutionNodesChaosData } from '../schemas/ChaosExecutionNodesChaosData';
|
|
2
2
|
import type { ChaosExecutionNodesErrorData } from '../schemas/ChaosExecutionNodesErrorData';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
|
|
4
|
+
import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
|
|
5
5
|
export interface ChaosExecutionNodesChaosExecutionNode {
|
|
6
6
|
accountID: string;
|
|
7
7
|
chaosData?: ChaosExecutionNodesChaosData;
|
|
@@ -17,8 +17,8 @@ export interface ChaosExecutionNodesChaosExecutionNode {
|
|
|
17
17
|
projectID?: string;
|
|
18
18
|
spec?: string;
|
|
19
19
|
startedAt?: number;
|
|
20
|
-
status?:
|
|
20
|
+
status?: ExecutionChaosStepStatus;
|
|
21
21
|
stepName?: string;
|
|
22
|
-
stepType?:
|
|
22
|
+
stepType?: ExecutionChaosStepType;
|
|
23
23
|
streamID?: string;
|
|
24
24
|
}
|