@harnessio/react-chaos-manager-client 1.18.1-beta.4 → 1.19.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/usePipelineAddExperimentRecommendationMutation.d.ts +2 -1
- package/dist/chaos-manager/src/services/index.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ApiResponseErrorCode.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ApiResponseErrorCode.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ApiRestError.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ApiRestError.js +0 -3
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation.d.ts +1 -0
- package/package.json +1 -1
package/dist/chaos-manager/src/services/hooks/usePipelineAddExperimentRecommendationMutation.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RecommendationsPipelineAddExperimentResponse } from '../schemas/RecommendationsPipelineAddExperimentResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
4
5
|
export interface PipelineAddExperimentRecommendationMutationQueryParams {
|
|
5
6
|
accountIdentifier: string;
|
|
@@ -8,7 +9,7 @@ export interface PipelineAddExperimentRecommendationMutationQueryParams {
|
|
|
8
9
|
recommendationID: string;
|
|
9
10
|
}
|
|
10
11
|
export type PipelineAddExperimentRecommendationOkResponse = RecommendationsPipelineAddExperimentResponse;
|
|
11
|
-
export type PipelineAddExperimentRecommendationErrorResponse = unknown;
|
|
12
|
+
export type PipelineAddExperimentRecommendationErrorResponse = unknown | ApiRestError;
|
|
12
13
|
export interface PipelineAddExperimentRecommendationProps extends Omit<FetcherOptions<PipelineAddExperimentRecommendationMutationQueryParams, unknown>, 'url'> {
|
|
13
14
|
queryParams: PipelineAddExperimentRecommendationMutationQueryParams;
|
|
14
15
|
}
|
|
@@ -324,6 +324,7 @@ export type { ActionsUserDetails } from './schemas/ActionsUserDetails';
|
|
|
324
324
|
export type { ApiGetHarnessInfrastructureResponse } from './schemas/ApiGetHarnessInfrastructureResponse';
|
|
325
325
|
export type { ApiHarnessInfrastructure } from './schemas/ApiHarnessInfrastructure';
|
|
326
326
|
export type { ApiListHarnessInfrastructureResponse } from './schemas/ApiListHarnessInfrastructureResponse';
|
|
327
|
+
export type { ApiResponseErrorCode } from './schemas/ApiResponseErrorCode';
|
|
327
328
|
export type { ApiRestError } from './schemas/ApiRestError';
|
|
328
329
|
export type { ApplicationchaostargetListApplicationResponse } from './schemas/ApplicationchaostargetListApplicationResponse';
|
|
329
330
|
export type { ApplicationchaostargetListFunctionResponse } from './schemas/ApplicationchaostargetListFunctionResponse';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ApiResponseErrorCode = 'PIPELINE_NOT_FOUND';
|
package/package.json
CHANGED