@harnessio/react-chaos-manager-client 1.18.1-beta.1 → 1.18.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.
- package/dist/chaos-manager/src/services/hooks/useListRecommendationsQuery.d.ts +8 -0
- 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/RecommendationsFilters.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/RecommendationsListRecommendationsResponse.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsPipelineAddExperimentResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsPipelineAddExperimentResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesListChaosPipelineRuns.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,6 +6,14 @@ export interface ListRecommendationsQueryQueryParams {
|
|
|
6
6
|
accountIdentifier: string;
|
|
7
7
|
organizationIdentifier: string;
|
|
8
8
|
projectIdentifier: string;
|
|
9
|
+
/**
|
|
10
|
+
* @default 0
|
|
11
|
+
*/
|
|
12
|
+
page: number;
|
|
13
|
+
/**
|
|
14
|
+
* @default 15
|
|
15
|
+
*/
|
|
16
|
+
limit: number;
|
|
9
17
|
}
|
|
10
18
|
export type ListRecommendationsRequestBody = RecommendationsListRecommendationsRequest;
|
|
11
19
|
export type ListRecommendationsOkResponse = RecommendationsListRecommendationsResponse;
|
package/dist/chaos-manager/src/services/hooks/usePipelineAddExperimentRecommendationMutation.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RecommendationsPipelineAddExperimentResponse } from '../schemas/RecommendationsPipelineAddExperimentResponse';
|
|
2
3
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
3
4
|
export interface PipelineAddExperimentRecommendationMutationQueryParams {
|
|
4
5
|
accountIdentifier: string;
|
|
@@ -6,7 +7,7 @@ export interface PipelineAddExperimentRecommendationMutationQueryParams {
|
|
|
6
7
|
projectIdentifier: string;
|
|
7
8
|
recommendationID: string;
|
|
8
9
|
}
|
|
9
|
-
export type PipelineAddExperimentRecommendationOkResponse =
|
|
10
|
+
export type PipelineAddExperimentRecommendationOkResponse = RecommendationsPipelineAddExperimentResponse;
|
|
10
11
|
export type PipelineAddExperimentRecommendationErrorResponse = unknown;
|
|
11
12
|
export interface PipelineAddExperimentRecommendationProps extends Omit<FetcherOptions<PipelineAddExperimentRecommendationMutationQueryParams, unknown>, 'url'> {
|
|
12
13
|
queryParams: PipelineAddExperimentRecommendationMutationQueryParams;
|
|
@@ -733,6 +733,7 @@ export type { RecommendationsCreateActionResponse } from './schemas/Recommendati
|
|
|
733
733
|
export type { RecommendationsFilters } from './schemas/RecommendationsFilters';
|
|
734
734
|
export type { RecommendationsListRecommendationsRequest } from './schemas/RecommendationsListRecommendationsRequest';
|
|
735
735
|
export type { RecommendationsListRecommendationsResponse } from './schemas/RecommendationsListRecommendationsResponse';
|
|
736
|
+
export type { RecommendationsPipelineAddExperimentResponse } from './schemas/RecommendationsPipelineAddExperimentResponse';
|
|
736
737
|
export type { RecommendationsRunActionResponse } from './schemas/RecommendationsRunActionResponse';
|
|
737
738
|
export type { ResourceQuantity } from './schemas/ResourceQuantity';
|
|
738
739
|
export type { SecurityGovernanceApplicationSpec } from './schemas/SecurityGovernanceApplicationSpec';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RecommendationRecommendationSource } from '../schemas/RecommendationRecommendationSource';
|
|
2
2
|
import type { RecommendationRecommendationStatus } from '../schemas/RecommendationRecommendationStatus';
|
|
3
3
|
export interface RecommendationsFilters {
|
|
4
|
-
category?: string;
|
|
4
|
+
category?: string[];
|
|
5
5
|
source?: RecommendationRecommendationSource;
|
|
6
6
|
status?: RecommendationRecommendationStatus;
|
|
7
7
|
}
|
package/dist/chaos-manager/src/services/schemas/RecommendationsListRecommendationsResponse.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
1
2
|
import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation';
|
|
2
3
|
export interface RecommendationsListRecommendationsResponse {
|
|
4
|
+
pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
|
|
3
5
|
recommendations?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation[];
|
|
4
6
|
}
|
package/package.json
CHANGED