@harnessio/react-ssca-manager-client 0.84.7 → 0.84.9
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/ssca-manager/src/services/hooks/useGetArtifactComponentDependenciesByPurlQuery.d.ts +25 -0
- package/dist/ssca-manager/src/services/hooks/useGetArtifactComponentDependenciesByPurlQuery.js +20 -0
- package/dist/ssca-manager/src/services/hooks/useGetAutoPrPresetsQuery.d.ts +16 -0
- package/dist/ssca-manager/src/services/hooks/useGetAutoPrPresetsQuery.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useGetComponentDetailsByPurlQuery.d.ts +1 -5
- package/dist/ssca-manager/src/services/hooks/useGetComponentDetailsByPurlQuery.js +2 -2
- package/dist/ssca-manager/src/services/hooks/useGetComponentVulnerabilitiesByPurlQuery.d.ts +1 -5
- package/dist/ssca-manager/src/services/hooks/useGetComponentVulnerabilitiesByPurlQuery.js +2 -2
- package/dist/ssca-manager/src/services/index.d.ts +8 -2
- package/dist/ssca-manager/src/services/index.js +2 -0
- package/dist/ssca-manager/src/services/schemas/AutoPrPresetConfig.d.ts +16 -0
- package/dist/ssca-manager/src/services/schemas/AutoPrPresetConfig.js +1 -0
- package/dist/ssca-manager/src/services/schemas/AutoPrPresetsResponse.d.ts +7 -0
- package/dist/ssca-manager/src/services/schemas/AutoPrPresetsResponse.js +1 -0
- package/package.json +1 -1
package/dist/ssca-manager/src/services/hooks/useGetArtifactComponentDependenciesByPurlQuery.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ComponentDependenciesResponseBodyResponse } from '../responses/ComponentDependenciesResponseBodyResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetArtifactComponentDependenciesByPurlQueryPathParams {
|
|
6
|
+
org: string;
|
|
7
|
+
project: string;
|
|
8
|
+
artifact: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetArtifactComponentDependenciesByPurlQueryQueryParams {
|
|
11
|
+
purl: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetArtifactComponentDependenciesByPurlQueryHeaderParams {
|
|
14
|
+
'Harness-Account': string;
|
|
15
|
+
}
|
|
16
|
+
export type GetArtifactComponentDependenciesByPurlOkResponse = ResponseWithPagination<ComponentDependenciesResponseBodyResponse>;
|
|
17
|
+
export type GetArtifactComponentDependenciesByPurlErrorResponse = unknown;
|
|
18
|
+
export interface GetArtifactComponentDependenciesByPurlProps extends GetArtifactComponentDependenciesByPurlQueryPathParams, Omit<FetcherOptions<GetArtifactComponentDependenciesByPurlQueryQueryParams, unknown, GetArtifactComponentDependenciesByPurlQueryHeaderParams>, 'url'> {
|
|
19
|
+
queryParams: GetArtifactComponentDependenciesByPurlQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getArtifactComponentDependenciesByPurl(props: GetArtifactComponentDependenciesByPurlProps): Promise<GetArtifactComponentDependenciesByPurlOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Get the list of parent components and dependencies of a component identified by its PURL
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetArtifactComponentDependenciesByPurlQuery(props: GetArtifactComponentDependenciesByPurlProps, options?: Omit<UseQueryOptions<GetArtifactComponentDependenciesByPurlOkResponse, GetArtifactComponentDependenciesByPurlErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetArtifactComponentDependenciesByPurlOkResponse, unknown>;
|
package/dist/ssca-manager/src/services/hooks/useGetArtifactComponentDependenciesByPurlQuery.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
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 '../../../../fetcher/index.js';
|
|
6
|
+
export function getArtifactComponentDependenciesByPurl(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/artifacts/${props.artifact}/component/dependencies`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get the list of parent components and dependencies of a component identified by its PURL
|
|
11
|
+
*/
|
|
12
|
+
export function useGetArtifactComponentDependenciesByPurlQuery(props, options) {
|
|
13
|
+
return useQuery([
|
|
14
|
+
'getArtifactComponentDependenciesByPurl',
|
|
15
|
+
props.org,
|
|
16
|
+
props.project,
|
|
17
|
+
props.artifact,
|
|
18
|
+
props.queryParams,
|
|
19
|
+
], ({ signal }) => getArtifactComponentDependenciesByPurl(Object.assign(Object.assign({}, props), { signal })), options);
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AutoPrPresetsResponse } from '../schemas/AutoPrPresetsResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetAutoPrPresetsQueryHeaderParams {
|
|
6
|
+
'Harness-Account': string;
|
|
7
|
+
}
|
|
8
|
+
export type GetAutoPrPresetsOkResponse = ResponseWithPagination<AutoPrPresetsResponse>;
|
|
9
|
+
export type GetAutoPrPresetsErrorResponse = unknown;
|
|
10
|
+
export interface GetAutoPrPresetsProps extends Omit<FetcherOptions<unknown, unknown, GetAutoPrPresetsQueryHeaderParams>, 'url'> {
|
|
11
|
+
}
|
|
12
|
+
export declare function getAutoPrPresets(props: GetAutoPrPresetsProps): Promise<GetAutoPrPresetsOkResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Returns all available Auto PR preset configurations with their default rule values
|
|
15
|
+
*/
|
|
16
|
+
export declare function useGetAutoPrPresetsQuery(props: GetAutoPrPresetsProps, options?: Omit<UseQueryOptions<GetAutoPrPresetsOkResponse, GetAutoPrPresetsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAutoPrPresetsOkResponse, unknown>;
|
|
@@ -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 '../../../../fetcher/index.js';
|
|
6
|
+
export function getAutoPrPresets(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/ssca-config/auto-pr-config/presets`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns all available Auto PR preset configurations with their default rule values
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAutoPrPresetsQuery(props, options) {
|
|
13
|
+
return useQuery(['getAutoPrPresets'], ({ signal }) => getAutoPrPresets(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -2,10 +2,6 @@ import { UseQueryOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ArtifactComponentOverviewResponseBodyResponse } from '../responses/ArtifactComponentOverviewResponseBodyResponse';
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
-
export interface GetComponentDetailsByPurlQueryPathParams {
|
|
6
|
-
org: string;
|
|
7
|
-
project: string;
|
|
8
|
-
}
|
|
9
5
|
export interface GetComponentDetailsByPurlQueryQueryParams {
|
|
10
6
|
purl: string;
|
|
11
7
|
}
|
|
@@ -14,7 +10,7 @@ export interface GetComponentDetailsByPurlQueryHeaderParams {
|
|
|
14
10
|
}
|
|
15
11
|
export type GetComponentDetailsByPurlOkResponse = ResponseWithPagination<ArtifactComponentOverviewResponseBodyResponse>;
|
|
16
12
|
export type GetComponentDetailsByPurlErrorResponse = unknown;
|
|
17
|
-
export interface GetComponentDetailsByPurlProps extends
|
|
13
|
+
export interface GetComponentDetailsByPurlProps extends Omit<FetcherOptions<GetComponentDetailsByPurlQueryQueryParams, unknown, GetComponentDetailsByPurlQueryHeaderParams>, 'url'> {
|
|
18
14
|
queryParams: GetComponentDetailsByPurlQueryQueryParams;
|
|
19
15
|
}
|
|
20
16
|
export declare function getComponentDetailsByPurl(props: GetComponentDetailsByPurlProps): Promise<GetComponentDetailsByPurlOkResponse>;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function getComponentDetailsByPurl(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v1/
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/components/details`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Get component details by PURL
|
|
11
11
|
*/
|
|
12
12
|
export function useGetComponentDetailsByPurlQuery(props, options) {
|
|
13
|
-
return useQuery(['getComponentDetailsByPurl', props.
|
|
13
|
+
return useQuery(['getComponentDetailsByPurl', props.queryParams], ({ signal }) => getComponentDetailsByPurl(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -2,10 +2,6 @@ import { UseQueryOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ComponentVulnerabilityListResponseBodyResponse } from '../responses/ComponentVulnerabilityListResponseBodyResponse';
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
-
export interface GetComponentVulnerabilitiesByPurlQueryPathParams {
|
|
6
|
-
org: string;
|
|
7
|
-
project: string;
|
|
8
|
-
}
|
|
9
5
|
export interface GetComponentVulnerabilitiesByPurlQueryQueryParams {
|
|
10
6
|
purl: string;
|
|
11
7
|
/**
|
|
@@ -28,7 +24,7 @@ export interface GetComponentVulnerabilitiesByPurlQueryHeaderParams {
|
|
|
28
24
|
}
|
|
29
25
|
export type GetComponentVulnerabilitiesByPurlOkResponse = ResponseWithPagination<ComponentVulnerabilityListResponseBodyResponse>;
|
|
30
26
|
export type GetComponentVulnerabilitiesByPurlErrorResponse = unknown;
|
|
31
|
-
export interface GetComponentVulnerabilitiesByPurlProps extends
|
|
27
|
+
export interface GetComponentVulnerabilitiesByPurlProps extends Omit<FetcherOptions<GetComponentVulnerabilitiesByPurlQueryQueryParams, unknown, GetComponentVulnerabilitiesByPurlQueryHeaderParams>, 'url'> {
|
|
32
28
|
queryParams: GetComponentVulnerabilitiesByPurlQueryQueryParams;
|
|
33
29
|
}
|
|
34
30
|
export declare function getComponentVulnerabilitiesByPurl(props: GetComponentVulnerabilitiesByPurlProps): Promise<GetComponentVulnerabilitiesByPurlOkResponse>;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function getComponentVulnerabilitiesByPurl(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v1/
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/components/vulnerabilities`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Get component vulnerabilities by PURL
|
|
11
11
|
*/
|
|
12
12
|
export function useGetComponentVulnerabilitiesByPurlQuery(props, options) {
|
|
13
|
-
return useQuery(['getComponentVulnerabilitiesByPurl', props.
|
|
13
|
+
return useQuery(['getComponentVulnerabilitiesByPurl', props.queryParams], ({ signal }) => getComponentVulnerabilitiesByPurl(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -45,6 +45,8 @@ export type { GetAllRepositoriesSummaryErrorResponse, GetAllRepositoriesSummaryO
|
|
|
45
45
|
export { getAllRepositoriesSummary, useGetAllRepositoriesSummaryQuery, } from './hooks/useGetAllRepositoriesSummaryQuery';
|
|
46
46
|
export type { GetArtifactChainOfCustodyV2ErrorResponse, GetArtifactChainOfCustodyV2OkResponse, GetArtifactChainOfCustodyV2Props, GetArtifactChainOfCustodyV2QueryPathParams, } from './hooks/useGetArtifactChainOfCustodyV2Query';
|
|
47
47
|
export { getArtifactChainOfCustodyV2, useGetArtifactChainOfCustodyV2Query, } from './hooks/useGetArtifactChainOfCustodyV2Query';
|
|
48
|
+
export type { GetArtifactComponentDependenciesByPurlErrorResponse, GetArtifactComponentDependenciesByPurlOkResponse, GetArtifactComponentDependenciesByPurlProps, GetArtifactComponentDependenciesByPurlQueryPathParams, GetArtifactComponentDependenciesByPurlQueryQueryParams, } from './hooks/useGetArtifactComponentDependenciesByPurlQuery';
|
|
49
|
+
export { getArtifactComponentDependenciesByPurl, useGetArtifactComponentDependenciesByPurlQuery, } from './hooks/useGetArtifactComponentDependenciesByPurlQuery';
|
|
48
50
|
export type { GetArtifactComponentOverviewByPurlErrorResponse, GetArtifactComponentOverviewByPurlOkResponse, GetArtifactComponentOverviewByPurlProps, GetArtifactComponentOverviewByPurlQueryPathParams, GetArtifactComponentOverviewByPurlQueryQueryParams, } from './hooks/useGetArtifactComponentOverviewByPurlQuery';
|
|
49
51
|
export { getArtifactComponentOverviewByPurl, useGetArtifactComponentOverviewByPurlQuery, } from './hooks/useGetArtifactComponentOverviewByPurlQuery';
|
|
50
52
|
export type { GetArtifactComponentRemediationByPurlErrorResponse, GetArtifactComponentRemediationByPurlOkResponse, GetArtifactComponentRemediationByPurlProps, GetArtifactComponentRemediationByPurlQueryPathParams, GetArtifactComponentRemediationByPurlQueryQueryParams, } from './hooks/useGetArtifactComponentRemediationByPurlQuery';
|
|
@@ -63,6 +65,8 @@ export type { GetArtifactV2OverviewErrorResponse, GetArtifactV2OverviewOkRespons
|
|
|
63
65
|
export { getArtifactV2Overview, useGetArtifactV2OverviewQuery, } from './hooks/useGetArtifactV2OverviewQuery';
|
|
64
66
|
export type { GetAutoPrConfigErrorResponse, GetAutoPrConfigOkResponse, GetAutoPrConfigProps, GetAutoPrConfigQueryQueryParams, } from './hooks/useGetAutoPrConfigQuery';
|
|
65
67
|
export { getAutoPrConfig, useGetAutoPrConfigQuery } from './hooks/useGetAutoPrConfigQuery';
|
|
68
|
+
export type { GetAutoPrPresetsErrorResponse, GetAutoPrPresetsOkResponse, GetAutoPrPresetsProps, } from './hooks/useGetAutoPrPresetsQuery';
|
|
69
|
+
export { getAutoPrPresets, useGetAutoPrPresetsQuery } from './hooks/useGetAutoPrPresetsQuery';
|
|
66
70
|
export type { GetBaselineForArtifactErrorResponse, GetBaselineForArtifactOkResponse, GetBaselineForArtifactProps, GetBaselineForArtifactQueryPathParams, } from './hooks/useGetBaselineForArtifactQuery';
|
|
67
71
|
export { getBaselineForArtifact, useGetBaselineForArtifactQuery, } from './hooks/useGetBaselineForArtifactQuery';
|
|
68
72
|
export type { GetCicdOverviewErrorResponse, GetCicdOverviewOkResponse, GetCicdOverviewProps, GetCicdOverviewQueryPathParams, } from './hooks/useGetCicdOverviewQuery';
|
|
@@ -85,13 +89,13 @@ export type { GetComplianceStandardsFiltersErrorResponse, GetComplianceStandards
|
|
|
85
89
|
export { getComplianceStandardsFilters, useGetComplianceStandardsFiltersQuery, } from './hooks/useGetComplianceStandardsFiltersQuery';
|
|
86
90
|
export type { GetComplianceStandardsErrorResponse, GetComplianceStandardsMutationPathParams, GetComplianceStandardsMutationQueryParams, GetComplianceStandardsOkResponse, GetComplianceStandardsProps, GetComplianceStandardsRequestBody, } from './hooks/useGetComplianceStandardsMutation';
|
|
87
91
|
export { getComplianceStandards, useGetComplianceStandardsMutation, } from './hooks/useGetComplianceStandardsMutation';
|
|
88
|
-
export type { GetComponentDetailsByPurlErrorResponse, GetComponentDetailsByPurlOkResponse, GetComponentDetailsByPurlProps,
|
|
92
|
+
export type { GetComponentDetailsByPurlErrorResponse, GetComponentDetailsByPurlOkResponse, GetComponentDetailsByPurlProps, GetComponentDetailsByPurlQueryQueryParams, } from './hooks/useGetComponentDetailsByPurlQuery';
|
|
89
93
|
export { getComponentDetailsByPurl, useGetComponentDetailsByPurlQuery, } from './hooks/useGetComponentDetailsByPurlQuery';
|
|
90
94
|
export type { GetComponentDriftErrorResponse, GetComponentDriftOkResponse, GetComponentDriftProps, GetComponentDriftQueryPathParams, GetComponentDriftQueryQueryParams, } from './hooks/useGetComponentDriftQuery';
|
|
91
95
|
export { getComponentDrift, useGetComponentDriftQuery } from './hooks/useGetComponentDriftQuery';
|
|
92
96
|
export type { GetComponentTicketErrorResponse, GetComponentTicketOkResponse, GetComponentTicketProps, GetComponentTicketQueryPathParams, GetComponentTicketQueryQueryParams, } from './hooks/useGetComponentTicketQuery';
|
|
93
97
|
export { getComponentTicket, useGetComponentTicketQuery } from './hooks/useGetComponentTicketQuery';
|
|
94
|
-
export type { GetComponentVulnerabilitiesByPurlErrorResponse, GetComponentVulnerabilitiesByPurlOkResponse, GetComponentVulnerabilitiesByPurlProps,
|
|
98
|
+
export type { GetComponentVulnerabilitiesByPurlErrorResponse, GetComponentVulnerabilitiesByPurlOkResponse, GetComponentVulnerabilitiesByPurlProps, GetComponentVulnerabilitiesByPurlQueryQueryParams, } from './hooks/useGetComponentVulnerabilitiesByPurlQuery';
|
|
95
99
|
export { getComponentVulnerabilitiesByPurl, useGetComponentVulnerabilitiesByPurlQuery, } from './hooks/useGetComponentVulnerabilitiesByPurlQuery';
|
|
96
100
|
export type { GetComponentsErrorResponse, GetComponentsOkResponse, GetComponentsProps, GetComponentsQueryPathParams, GetComponentsQueryQueryParams, } from './hooks/useGetComponentsQuery';
|
|
97
101
|
export { getComponents, useGetComponentsQuery } from './hooks/useGetComponentsQuery';
|
|
@@ -323,6 +327,8 @@ export type { AutoPrConfigResponseBody } from './schemas/AutoPrConfigResponseBod
|
|
|
323
327
|
export type { AutoPrConfigUpdates } from './schemas/AutoPrConfigUpdates';
|
|
324
328
|
export type { AutoPrDependencySafetyRule } from './schemas/AutoPrDependencySafetyRule';
|
|
325
329
|
export type { AutoPrPreset } from './schemas/AutoPrPreset';
|
|
330
|
+
export type { AutoPrPresetConfig } from './schemas/AutoPrPresetConfig';
|
|
331
|
+
export type { AutoPrPresetsResponse } from './schemas/AutoPrPresetsResponse';
|
|
326
332
|
export type { AutoPrSchedule } from './schemas/AutoPrSchedule';
|
|
327
333
|
export type { AutoPrScheduleType } from './schemas/AutoPrScheduleType';
|
|
328
334
|
export type { AutoPrSecurityRule } from './schemas/AutoPrSecurityRule';
|
|
@@ -21,6 +21,7 @@ export { getAiWorkflowExecutionSteps, useGetAiWorkflowExecutionStepsQuery, } fro
|
|
|
21
21
|
export { getAiWorkflowExecutions, useGetAiWorkflowExecutionsQuery, } from './hooks/useGetAiWorkflowExecutionsQuery';
|
|
22
22
|
export { getAllRepositoriesSummary, useGetAllRepositoriesSummaryQuery, } from './hooks/useGetAllRepositoriesSummaryQuery';
|
|
23
23
|
export { getArtifactChainOfCustodyV2, useGetArtifactChainOfCustodyV2Query, } from './hooks/useGetArtifactChainOfCustodyV2Query';
|
|
24
|
+
export { getArtifactComponentDependenciesByPurl, useGetArtifactComponentDependenciesByPurlQuery, } from './hooks/useGetArtifactComponentDependenciesByPurlQuery';
|
|
24
25
|
export { getArtifactComponentOverviewByPurl, useGetArtifactComponentOverviewByPurlQuery, } from './hooks/useGetArtifactComponentOverviewByPurlQuery';
|
|
25
26
|
export { getArtifactComponentRemediationByPurl, useGetArtifactComponentRemediationByPurlQuery, } from './hooks/useGetArtifactComponentRemediationByPurlQuery';
|
|
26
27
|
export { getArtifactInRemediationDetails, useGetArtifactInRemediationDetailsQuery, } from './hooks/useGetArtifactInRemediationDetailsQuery';
|
|
@@ -30,6 +31,7 @@ export { getArtifactV2DetailComponentView, useGetArtifactV2DetailComponentViewQu
|
|
|
30
31
|
export { getArtifactV2DetailDeploymentView, useGetArtifactV2DetailDeploymentViewQuery, } from './hooks/useGetArtifactV2DetailDeploymentViewQuery';
|
|
31
32
|
export { getArtifactV2Overview, useGetArtifactV2OverviewQuery, } from './hooks/useGetArtifactV2OverviewQuery';
|
|
32
33
|
export { getAutoPrConfig, useGetAutoPrConfigQuery } from './hooks/useGetAutoPrConfigQuery';
|
|
34
|
+
export { getAutoPrPresets, useGetAutoPrPresetsQuery } from './hooks/useGetAutoPrPresetsQuery';
|
|
33
35
|
export { getBaselineForArtifact, useGetBaselineForArtifactQuery, } from './hooks/useGetBaselineForArtifactQuery';
|
|
34
36
|
export { getCicdOverview, useGetCicdOverviewQuery } from './hooks/useGetCicdOverviewQuery';
|
|
35
37
|
export { getCicdRulesEvaluationTrend, useGetCicdRulesEvaluationTrendQuery, } from './hooks/useGetCicdRulesEvaluationTrendQuery';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { AutoPrAdvancedRule } from '../schemas/AutoPrAdvancedRule';
|
|
2
|
+
import type { AutoPrSchedule } from '../schemas/AutoPrSchedule';
|
|
3
|
+
import type { AutoPrComplianceRule } from '../schemas/AutoPrComplianceRule';
|
|
4
|
+
import type { AutoPrDependencySafetyRule } from '../schemas/AutoPrDependencySafetyRule';
|
|
5
|
+
import type { AutoPrPreset } from '../schemas/AutoPrPreset';
|
|
6
|
+
import type { AutoPrSecurityRule } from '../schemas/AutoPrSecurityRule';
|
|
7
|
+
import type { AutoPrVersioningRule } from '../schemas/AutoPrVersioningRule';
|
|
8
|
+
export interface AutoPrPresetConfig {
|
|
9
|
+
advanced_rule?: AutoPrAdvancedRule;
|
|
10
|
+
auto_pr_schedule?: AutoPrSchedule;
|
|
11
|
+
compliance_rule?: AutoPrComplianceRule;
|
|
12
|
+
dependency_safety_rule?: AutoPrDependencySafetyRule;
|
|
13
|
+
preset?: AutoPrPreset;
|
|
14
|
+
security_rule?: AutoPrSecurityRule;
|
|
15
|
+
versioning_rule?: AutoPrVersioningRule;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|