@harnessio/react-chaos-manager-client 1.32.0 → 1.33.1
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/useGetExperimentTemplateRevisionsQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListConditionQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentTemplateQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentsQuery.d.ts +35 -0
- package/dist/chaos-manager/src/services/hooks/useListExperimentsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultTemplateQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useListRuleQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/index.d.ts +10 -0
- package/dist/chaos-manager/src/services/index.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateCreateExperimentFromTemplateRequest.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/InfraV2KubernetesInfraV2FilterInput.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelDateRange.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/ModelDateRange.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelListWorkflowRequest.d.ts +25 -0
- package/dist/chaos-manager/src/services/schemas/ModelListWorkflowRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelListWorkflowResponse.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ModelListWorkflowResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelScenarioType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelScenarioType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflow.d.ts +97 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflow.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflowFilterInput.d.ts +46 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflowFilterInput.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflowSortInput.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflowSortInput.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflowSortingField.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflowSortingField.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TypesProbeVerdict.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
|
5
5
|
export interface ListConditionQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
7
7
|
correlationID?: string;
|
|
8
|
+
infrastructureType?: 'Kubernetes' | 'KubernetesV2' | 'Linux' | 'Windows';
|
|
8
9
|
/**
|
|
9
10
|
* @default 15
|
|
10
11
|
*/
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ModelListWorkflowResponse } from '../schemas/ModelListWorkflowResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import type { ModelListWorkflowRequest } from '../schemas/ModelListWorkflowRequest';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export interface ListExperimentsQueryQueryParams {
|
|
7
|
+
accountIdentifier: string;
|
|
8
|
+
organizationIdentifier: string;
|
|
9
|
+
projectIdentifier: string;
|
|
10
|
+
/**
|
|
11
|
+
* @default 0
|
|
12
|
+
*/
|
|
13
|
+
page?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @default 15
|
|
16
|
+
*/
|
|
17
|
+
limit?: number;
|
|
18
|
+
experimentName?: string;
|
|
19
|
+
}
|
|
20
|
+
export type ListExperimentsRequestBody = ModelListWorkflowRequest;
|
|
21
|
+
export type ListExperimentsOkResponse = ModelListWorkflowResponse;
|
|
22
|
+
export type ListExperimentsErrorResponse = ApiRestError;
|
|
23
|
+
export interface ListExperimentsProps extends Omit<FetcherOptions<ListExperimentsQueryQueryParams, ListExperimentsRequestBody>, 'url'> {
|
|
24
|
+
queryParams: ListExperimentsQueryQueryParams;
|
|
25
|
+
body: ListExperimentsRequestBody;
|
|
26
|
+
}
|
|
27
|
+
export interface ListExperimentsResponseContainer {
|
|
28
|
+
body: ListExperimentsOkResponse;
|
|
29
|
+
headers: Headers;
|
|
30
|
+
}
|
|
31
|
+
export declare function listExperiments(props: ListExperimentsProps): Promise<ListExperimentsResponseContainer>;
|
|
32
|
+
/**
|
|
33
|
+
* List experiments/experiments with filtering, sorting and pagination
|
|
34
|
+
*/
|
|
35
|
+
export declare function useListExperimentsQuery(props: ListExperimentsProps, options?: Omit<UseQueryOptions<ListExperimentsResponseContainer, ListExperimentsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListExperimentsResponseContainer, 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 listExperiments(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/v2/experiments`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List experiments/experiments with filtering, sorting and pagination
|
|
11
|
+
*/
|
|
12
|
+
export function useListExperimentsQuery(props, options) {
|
|
13
|
+
return useQuery(['listExperiments', props.queryParams, props.body], ({ signal }) => listExperiments(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -5,6 +5,7 @@ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
|
5
5
|
export interface ListRuleQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
7
7
|
correlationID?: string;
|
|
8
|
+
infrastructureType?: 'Kubernetes' | 'KubernetesV2' | 'Linux' | 'Windows';
|
|
8
9
|
/**
|
|
9
10
|
* @default 15
|
|
10
11
|
*/
|
|
@@ -240,6 +240,8 @@ export type { ListExperimentRunsOfFaultErrorResponse, ListExperimentRunsOfFaultO
|
|
|
240
240
|
export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
241
241
|
export type { ListExperimentTemplateErrorResponse, ListExperimentTemplateOkResponse, ListExperimentTemplateProps, ListExperimentTemplateQueryQueryParams, } from './hooks/useListExperimentTemplateQuery';
|
|
242
242
|
export { listExperimentTemplate, useListExperimentTemplateQuery, } from './hooks/useListExperimentTemplateQuery';
|
|
243
|
+
export type { ListExperimentsErrorResponse, ListExperimentsOkResponse, ListExperimentsProps, ListExperimentsQueryQueryParams, ListExperimentsRequestBody, } from './hooks/useListExperimentsQuery';
|
|
244
|
+
export { listExperiments, useListExperimentsQuery } from './hooks/useListExperimentsQuery';
|
|
243
245
|
export type { ListExperimentsWithActiveInfrasMinimalNotificationErrorResponse, ListExperimentsWithActiveInfrasMinimalNotificationOkResponse, ListExperimentsWithActiveInfrasMinimalNotificationProps, ListExperimentsWithActiveInfrasMinimalNotificationQueryQueryParams, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
244
246
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
245
247
|
export type { ListFaultErrorResponse, ListFaultOkResponse, ListFaultProps, ListFaultQueryQueryParams, } from './hooks/useListFaultQuery';
|
|
@@ -781,6 +783,7 @@ export type { K8sinfraUpdateEmissaryUrlRequest } from './schemas/K8sinfraUpdateE
|
|
|
781
783
|
export type { K8sinfraUpdateEmissaryUrlResponse } from './schemas/K8sinfraUpdateEmissaryUrlResponse';
|
|
782
784
|
export type { ModelClusterType } from './schemas/ModelClusterType';
|
|
783
785
|
export type { ModelConditionDetails } from './schemas/ModelConditionDetails';
|
|
786
|
+
export type { ModelDateRange } from './schemas/ModelDateRange';
|
|
784
787
|
export type { ModelEventMetadata } from './schemas/ModelEventMetadata';
|
|
785
788
|
export type { ModelGetInfraStatsResponse } from './schemas/ModelGetInfraStatsResponse';
|
|
786
789
|
export type { ModelInfraScope } from './schemas/ModelInfraScope';
|
|
@@ -791,6 +794,8 @@ export type { ModelInstallationType } from './schemas/ModelInstallationType';
|
|
|
791
794
|
export type { ModelKubernetesInfra } from './schemas/ModelKubernetesInfra';
|
|
792
795
|
export type { ModelListInfraRequest } from './schemas/ModelListInfraRequest';
|
|
793
796
|
export type { ModelListInfraResponse } from './schemas/ModelListInfraResponse';
|
|
797
|
+
export type { ModelListWorkflowRequest } from './schemas/ModelListWorkflowRequest';
|
|
798
|
+
export type { ModelListWorkflowResponse } from './schemas/ModelListWorkflowResponse';
|
|
794
799
|
export type { ModelProbeMap } from './schemas/ModelProbeMap';
|
|
795
800
|
export type { ModelReRunChaosWorkflowResponse } from './schemas/ModelReRunChaosWorkflowResponse';
|
|
796
801
|
export type { ModelRecentWorkflowRun } from './schemas/ModelRecentWorkflowRun';
|
|
@@ -798,6 +803,7 @@ export type { ModelRecurrence } from './schemas/ModelRecurrence';
|
|
|
798
803
|
export type { ModelRecurrenceSpec } from './schemas/ModelRecurrenceSpec';
|
|
799
804
|
export type { ModelRecurrenceType } from './schemas/ModelRecurrenceType';
|
|
800
805
|
export type { ModelRuleDetails } from './schemas/ModelRuleDetails';
|
|
806
|
+
export type { ModelScenarioType } from './schemas/ModelScenarioType';
|
|
801
807
|
export type { ModelSecurityGovernance } from './schemas/ModelSecurityGovernance';
|
|
802
808
|
export type { ModelSecurityGovernanceNodeData } from './schemas/ModelSecurityGovernanceNodeData';
|
|
803
809
|
export type { ModelSecurityGovernancePhase } from './schemas/ModelSecurityGovernancePhase';
|
|
@@ -808,8 +814,12 @@ export type { ModelUpdateStatus } from './schemas/ModelUpdateStatus';
|
|
|
808
814
|
export type { ModelUpgrade } from './schemas/ModelUpgrade';
|
|
809
815
|
export type { ModelUpgradeStatus } from './schemas/ModelUpgradeStatus';
|
|
810
816
|
export type { ModelWeightages } from './schemas/ModelWeightages';
|
|
817
|
+
export type { ModelWorkflow } from './schemas/ModelWorkflow';
|
|
818
|
+
export type { ModelWorkflowFilterInput } from './schemas/ModelWorkflowFilterInput';
|
|
811
819
|
export type { ModelWorkflowRun } from './schemas/ModelWorkflowRun';
|
|
812
820
|
export type { ModelWorkflowRunStatus } from './schemas/ModelWorkflowRunStatus';
|
|
821
|
+
export type { ModelWorkflowSortInput } from './schemas/ModelWorkflowSortInput';
|
|
822
|
+
export type { ModelWorkflowSortingField } from './schemas/ModelWorkflowSortingField';
|
|
813
823
|
export type { ModelWorkflowType } from './schemas/ModelWorkflowType';
|
|
814
824
|
export type { MongodbImportType } from './schemas/MongodbImportType';
|
|
815
825
|
export type { NetworkmapCanRetryExperimentCreationResponse } from './schemas/NetworkmapCanRetryExperimentCreationResponse';
|
|
@@ -119,6 +119,7 @@ export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/u
|
|
|
119
119
|
export { listCondition, useListConditionQuery } from './hooks/useListConditionQuery';
|
|
120
120
|
export { listExperimentRunsOfFault, useListExperimentRunsOfFaultQuery, } from './hooks/useListExperimentRunsOfFaultQuery';
|
|
121
121
|
export { listExperimentTemplate, useListExperimentTemplateQuery, } from './hooks/useListExperimentTemplateQuery';
|
|
122
|
+
export { listExperiments, useListExperimentsQuery } from './hooks/useListExperimentsQuery';
|
|
122
123
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
123
124
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
124
125
|
export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
|
|
@@ -3,7 +3,10 @@ export interface ChaosexperimenttemplateCreateExperimentFromTemplateRequest {
|
|
|
3
3
|
* account id to access the resource
|
|
4
4
|
*/
|
|
5
5
|
accountIdentifier: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
identity?: string;
|
|
6
8
|
infraRef?: string;
|
|
9
|
+
name: string;
|
|
7
10
|
/**
|
|
8
11
|
* organization id to access the resource
|
|
9
12
|
*/
|
|
@@ -12,4 +15,5 @@ export interface ChaosexperimenttemplateCreateExperimentFromTemplateRequest {
|
|
|
12
15
|
* project id to access the resource
|
|
13
16
|
*/
|
|
14
17
|
projectIdentifier?: string;
|
|
18
|
+
tags?: string[];
|
|
15
19
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ModelWorkflowFilterInput } from '../schemas/ModelWorkflowFilterInput';
|
|
2
|
+
import type { GithubComHarnessHceSaasGraphqlServerGraphModelPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelPagination';
|
|
3
|
+
import type { ModelWorkflowSortInput } from '../schemas/ModelWorkflowSortInput';
|
|
4
|
+
export interface ModelListWorkflowRequest {
|
|
5
|
+
/**
|
|
6
|
+
* Details for fetching filtered data
|
|
7
|
+
*/
|
|
8
|
+
filter?: ModelWorkflowFilterInput;
|
|
9
|
+
/**
|
|
10
|
+
* Array of identities for which details will be fetched
|
|
11
|
+
*/
|
|
12
|
+
identities?: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Details for fetching paginated data
|
|
15
|
+
*/
|
|
16
|
+
pagination?: GithubComHarnessHceSaasGraphqlServerGraphModelPagination;
|
|
17
|
+
/**
|
|
18
|
+
* Details for fetching sorted data
|
|
19
|
+
*/
|
|
20
|
+
sort?: ModelWorkflowSortInput;
|
|
21
|
+
/**
|
|
22
|
+
* Array of workflow IDs for which details will be fetched
|
|
23
|
+
*/
|
|
24
|
+
workflowIDs?: string[];
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ModelWorkflow } from '../schemas/ModelWorkflow';
|
|
2
|
+
export interface ModelListWorkflowResponse {
|
|
3
|
+
/**
|
|
4
|
+
* Total number of workflows
|
|
5
|
+
*/
|
|
6
|
+
totalNoOfWorkflows?: number;
|
|
7
|
+
/**
|
|
8
|
+
* Details related to the workflows
|
|
9
|
+
*/
|
|
10
|
+
workflows?: ModelWorkflow[];
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ModelScenarioType = 'ALL' | 'CRON' | 'GAMEDAY' | 'NON_CRON';
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
|
+
import type { ModelEventMetadata } from '../schemas/ModelEventMetadata';
|
|
3
|
+
import type { GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers';
|
|
4
|
+
import type { ModelInfrastructure } from '../schemas/ModelInfrastructure';
|
|
5
|
+
import type { ModelRecentWorkflowRun } from '../schemas/ModelRecentWorkflowRun';
|
|
6
|
+
import type { ModelWeightages } from '../schemas/ModelWeightages';
|
|
7
|
+
export interface ModelWorkflow {
|
|
8
|
+
/**
|
|
9
|
+
* Timestamp when the workflow was created
|
|
10
|
+
*/
|
|
11
|
+
createdAt?: string;
|
|
12
|
+
/**
|
|
13
|
+
* User who created the workflow
|
|
14
|
+
*/
|
|
15
|
+
createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
16
|
+
/**
|
|
17
|
+
* Cron syntax of the workflow schedule
|
|
18
|
+
*/
|
|
19
|
+
cronSyntax?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Description of the workflow
|
|
22
|
+
*/
|
|
23
|
+
description?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Array containing service identifier and environment identifier
|
|
26
|
+
* for SRM change source events
|
|
27
|
+
*/
|
|
28
|
+
eventsMetadata?: ModelEventMetadata[];
|
|
29
|
+
/**
|
|
30
|
+
* Harness identifiers
|
|
31
|
+
*/
|
|
32
|
+
identifiers?: GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers;
|
|
33
|
+
/**
|
|
34
|
+
* Identity of the experiment
|
|
35
|
+
*/
|
|
36
|
+
identity?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Target infra in which the workflow will run
|
|
39
|
+
*/
|
|
40
|
+
infra?: ModelInfrastructure;
|
|
41
|
+
/**
|
|
42
|
+
* If cron is enabled or disabled
|
|
43
|
+
*/
|
|
44
|
+
isCronEnabled?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Bool value indicating whether the workflow is a custom workflow or not
|
|
47
|
+
*/
|
|
48
|
+
isCustomWorkflow?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Bool value indicating if the workflow has removed
|
|
51
|
+
*/
|
|
52
|
+
isRemoved?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Flag to check if single run status is enabled or not
|
|
55
|
+
*/
|
|
56
|
+
isSingleRunCronEnabled?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Timestamp when the experiment was last executed
|
|
59
|
+
*/
|
|
60
|
+
lastExecutedAt?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Name of the workflow
|
|
63
|
+
*/
|
|
64
|
+
name?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Array of object containing details of recent workflow runs
|
|
67
|
+
*/
|
|
68
|
+
recentWorkflowRunDetails?: ModelRecentWorkflowRun[];
|
|
69
|
+
/**
|
|
70
|
+
* Tags of the workflow
|
|
71
|
+
*/
|
|
72
|
+
tags?: string[];
|
|
73
|
+
/**
|
|
74
|
+
* Timestamp when the workflow was last updated
|
|
75
|
+
*/
|
|
76
|
+
updatedAt?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Details of the user who updated the workflow
|
|
79
|
+
*/
|
|
80
|
+
updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
81
|
+
/**
|
|
82
|
+
* Array containing weightage and name of each chaos experiment in the workflow
|
|
83
|
+
*/
|
|
84
|
+
weightages?: ModelWeightages[];
|
|
85
|
+
/**
|
|
86
|
+
* ID of the workflow
|
|
87
|
+
*/
|
|
88
|
+
workflowID?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Manifest of the workflow
|
|
91
|
+
*/
|
|
92
|
+
workflowManifest?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Type of the workflow
|
|
95
|
+
*/
|
|
96
|
+
workflowType?: string;
|
|
97
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ModelDateRange } from '../schemas/ModelDateRange';
|
|
2
|
+
import type { ModelInfrastructureType } from '../schemas/ModelInfrastructureType';
|
|
3
|
+
import type { ModelScenarioType } from '../schemas/ModelScenarioType';
|
|
4
|
+
import type { ModelWorkflowRunStatus } from '../schemas/ModelWorkflowRunStatus';
|
|
5
|
+
export interface ModelWorkflowFilterInput {
|
|
6
|
+
/**
|
|
7
|
+
* Date range for filtering purpose
|
|
8
|
+
*/
|
|
9
|
+
dateRange?: ModelDateRange;
|
|
10
|
+
/**
|
|
11
|
+
* Bool value indicating if Chaos Infrastructure is active
|
|
12
|
+
*/
|
|
13
|
+
infraActive?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* IDs of the agent in which the workflow is running
|
|
16
|
+
*/
|
|
17
|
+
infraIDs?: string[];
|
|
18
|
+
/**
|
|
19
|
+
* Name of the infra in which the workflow is running
|
|
20
|
+
*/
|
|
21
|
+
infraName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Type of infras
|
|
24
|
+
*/
|
|
25
|
+
infraTypes?: ModelInfrastructureType[];
|
|
26
|
+
/**
|
|
27
|
+
* Bool value to filter data based on cron enabled state
|
|
28
|
+
*/
|
|
29
|
+
isCronEnabled?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Scenario type of the workflow i.e. CRON or NON_CRON
|
|
32
|
+
*/
|
|
33
|
+
scenarioType?: ModelScenarioType;
|
|
34
|
+
/**
|
|
35
|
+
* Status of the latest workflow run
|
|
36
|
+
*/
|
|
37
|
+
status?: ModelWorkflowRunStatus;
|
|
38
|
+
/**
|
|
39
|
+
* Tags based search
|
|
40
|
+
*/
|
|
41
|
+
tags?: string[];
|
|
42
|
+
/**
|
|
43
|
+
* Name of the workflow
|
|
44
|
+
*/
|
|
45
|
+
workflowName?: string;
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ModelWorkflowSortingField } from '../schemas/ModelWorkflowSortingField';
|
|
2
|
+
export interface ModelWorkflowSortInput {
|
|
3
|
+
/**
|
|
4
|
+
* Bool value indicating whether the sorting will be done in ascending order
|
|
5
|
+
*/
|
|
6
|
+
ascending?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Field in which sorting will be done
|
|
9
|
+
*/
|
|
10
|
+
field?: ModelWorkflowSortingField;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ModelWorkflowSortingField = 'LAST_EXECUTED' | 'LAST_MODIFIED' | 'NAME';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type TypesProbeVerdict = 'Awaited' | 'Failed' | 'NA' | 'Passed';
|
|
1
|
+
export type TypesProbeVerdict = 'Awaited' | 'Failed' | 'NA' | 'Passed' | 'Skipped';
|
package/package.json
CHANGED