@harnessio/react-idp-service-client 0.44.2 → 0.45.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/idp-service/src/services/hooks/useGetCheckGraphQuery.d.ts +23 -0
- package/dist/idp-service/src/services/hooks/useGetCheckGraphQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetCheckStatsQuery.d.ts +23 -0
- package/dist/idp-service/src/services/hooks/useGetCheckStatsQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetScorecardStatsQuery.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/useGetScorecardStatsQuery.js +14 -0
- package/dist/idp-service/src/services/hooks/useGetStatusInfoByTypeQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetStatusInfoTypeV2Query.d.ts +19 -0
- package/dist/idp-service/src/services/hooks/useGetStatusInfoTypeV2Query.js +14 -0
- package/dist/idp-service/src/services/index.d.ts +20 -0
- package/dist/idp-service/src/services/index.js +4 -0
- package/dist/idp-service/src/services/responses/CheckGraphResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/CheckGraphResponseResponse.js +1 -0
- package/dist/idp-service/src/services/responses/CheckStatsResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/CheckStatsResponseResponse.js +1 -0
- package/dist/idp-service/src/services/responses/ScorecardStatsResponseResponse.d.ts +2 -0
- package/dist/idp-service/src/services/responses/ScorecardStatsResponseResponse.js +1 -0
- package/dist/idp-service/src/services/responses/StatusInfoResponseV2Response.d.ts +2 -0
- package/dist/idp-service/src/services/responses/StatusInfoResponseV2Response.js +1 -0
- package/dist/idp-service/src/services/schemas/CheckGraph.d.ts +7 -0
- package/dist/idp-service/src/services/schemas/CheckGraph.js +4 -0
- package/dist/idp-service/src/services/schemas/CheckListItem.d.ts +4 -0
- package/dist/idp-service/src/services/schemas/CheckStats.d.ts +11 -0
- package/dist/idp-service/src/services/schemas/CheckStats.js +4 -0
- package/dist/idp-service/src/services/schemas/CheckStatsResponse.d.ts +8 -0
- package/dist/idp-service/src/services/schemas/CheckStatsResponse.js +1 -0
- package/dist/idp-service/src/services/schemas/CheckStatus.d.ts +2 -0
- package/dist/idp-service/src/services/schemas/DataPoint.d.ts +2 -0
- package/dist/idp-service/src/services/schemas/DataPoint.js +0 -3
- package/dist/idp-service/src/services/schemas/InputDetails.d.ts +5 -0
- package/dist/idp-service/src/services/schemas/InputDetails.js +4 -0
- package/dist/idp-service/src/services/schemas/InputValue.d.ts +4 -0
- package/dist/idp-service/src/services/schemas/InputValue.js +4 -0
- package/dist/idp-service/src/services/schemas/Rule.d.ts +3 -0
- package/dist/idp-service/src/services/schemas/Rule.js +0 -3
- package/dist/idp-service/src/services/schemas/Scorecard.d.ts +5 -0
- package/dist/idp-service/src/services/schemas/ScorecardStats.d.ts +11 -0
- package/dist/idp-service/src/services/schemas/ScorecardStats.js +4 -0
- package/dist/idp-service/src/services/schemas/ScorecardStatsResponse.d.ts +8 -0
- package/dist/idp-service/src/services/schemas/ScorecardStatsResponse.js +1 -0
- package/dist/idp-service/src/services/schemas/StatusInfoV2.d.ts +4 -0
- package/dist/idp-service/src/services/schemas/StatusInfoV2.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { CheckGraphResponseResponse } from '../responses/CheckGraphResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetCheckGraphQueryPathParams {
|
|
6
|
+
'check-id': string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetCheckGraphQueryQueryParams {
|
|
9
|
+
custom?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface GetCheckGraphQueryHeaderParams {
|
|
12
|
+
'Harness-Account'?: string;
|
|
13
|
+
}
|
|
14
|
+
export type GetCheckGraphOkResponse = ResponseWithPagination<CheckGraphResponseResponse>;
|
|
15
|
+
export type GetCheckGraphErrorResponse = unknown;
|
|
16
|
+
export interface GetCheckGraphProps extends GetCheckGraphQueryPathParams, Omit<FetcherOptions<GetCheckGraphQueryQueryParams, unknown, GetCheckGraphQueryHeaderParams>, 'url'> {
|
|
17
|
+
queryParams: GetCheckGraphQueryQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export declare function getCheckGraph(props: GetCheckGraphProps): Promise<GetCheckGraphOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Get check graph data for given checkId
|
|
22
|
+
*/
|
|
23
|
+
export declare function useGetCheckGraphQuery(props: GetCheckGraphProps, options?: Omit<UseQueryOptions<GetCheckGraphOkResponse, GetCheckGraphErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCheckGraphOkResponse, 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 getCheckGraph(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/checks/${props['check-id']}/graph`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get check graph data for given checkId
|
|
11
|
+
*/
|
|
12
|
+
export function useGetCheckGraphQuery(props, options) {
|
|
13
|
+
return useQuery(['get-check-graph', props['check-id'], props.queryParams], ({ signal }) => getCheckGraph(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { CheckStatsResponseResponse } from '../responses/CheckStatsResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetCheckStatsQueryPathParams {
|
|
6
|
+
'check-id': string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetCheckStatsQueryQueryParams {
|
|
9
|
+
custom?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface GetCheckStatsQueryHeaderParams {
|
|
12
|
+
'Harness-Account'?: string;
|
|
13
|
+
}
|
|
14
|
+
export type GetCheckStatsOkResponse = ResponseWithPagination<CheckStatsResponseResponse>;
|
|
15
|
+
export type GetCheckStatsErrorResponse = unknown;
|
|
16
|
+
export interface GetCheckStatsProps extends GetCheckStatsQueryPathParams, Omit<FetcherOptions<GetCheckStatsQueryQueryParams, unknown, GetCheckStatsQueryHeaderParams>, 'url'> {
|
|
17
|
+
queryParams: GetCheckStatsQueryQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export declare function getCheckStats(props: GetCheckStatsProps): Promise<GetCheckStatsOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Get check stats for given checkId
|
|
22
|
+
*/
|
|
23
|
+
export declare function useGetCheckStatsQuery(props: GetCheckStatsProps, options?: Omit<UseQueryOptions<GetCheckStatsOkResponse, GetCheckStatsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCheckStatsOkResponse, 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 getCheckStats(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/checks/${props['check-id']}/stats`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get check stats for given checkId
|
|
11
|
+
*/
|
|
12
|
+
export function useGetCheckStatsQuery(props, options) {
|
|
13
|
+
return useQuery(['get-check-stats', props['check-id'], props.queryParams], ({ signal }) => getCheckStats(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ScorecardStatsResponseResponse } from '../responses/ScorecardStatsResponseResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetScorecardStatsQueryPathParams {
|
|
6
|
+
'scorecard-id': string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetScorecardStatsQueryHeaderParams {
|
|
9
|
+
'Harness-Account'?: string;
|
|
10
|
+
}
|
|
11
|
+
export type GetScorecardStatsOkResponse = ResponseWithPagination<ScorecardStatsResponseResponse>;
|
|
12
|
+
export type GetScorecardStatsErrorResponse = unknown;
|
|
13
|
+
export interface GetScorecardStatsProps extends GetScorecardStatsQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetScorecardStatsQueryHeaderParams>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function getScorecardStats(props: GetScorecardStatsProps): Promise<GetScorecardStatsOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Get scorecard stats for given scorecardId
|
|
18
|
+
*/
|
|
19
|
+
export declare function useGetScorecardStatsQuery(props: GetScorecardStatsProps, options?: Omit<UseQueryOptions<GetScorecardStatsOkResponse, GetScorecardStatsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetScorecardStatsOkResponse, 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 getScorecardStats(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/scorecards/${props['scorecard-id']}/stats`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get scorecard stats for given scorecardId
|
|
11
|
+
*/
|
|
12
|
+
export function useGetScorecardStatsQuery(props, options) {
|
|
13
|
+
return useQuery(['get-scorecard-stats', props['scorecard-id']], ({ signal }) => getScorecardStats(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -3,7 +3,7 @@ import type { StatusInfoResponseResponse } from '../responses/StatusInfoResponse
|
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
5
|
export interface GetStatusInfoByTypeQueryPathParams {
|
|
6
|
-
type: 'infra' | 'onboarding';
|
|
6
|
+
type: 'infra' | 'infra_onboarding' | 'onboarding';
|
|
7
7
|
}
|
|
8
8
|
export interface GetStatusInfoByTypeQueryHeaderParams {
|
|
9
9
|
'Harness-Account'?: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { StatusInfoResponseV2Response } from '../responses/StatusInfoResponseV2Response';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetStatusInfoTypeV2QueryPathParams {
|
|
6
|
+
type: 'infra' | 'infra_onboarding' | 'onboarding';
|
|
7
|
+
}
|
|
8
|
+
export interface GetStatusInfoTypeV2QueryHeaderParams {
|
|
9
|
+
'Harness-Account'?: string;
|
|
10
|
+
}
|
|
11
|
+
export type GetStatusInfoTypeV2OkResponse = ResponseWithPagination<StatusInfoResponseV2Response>;
|
|
12
|
+
export type GetStatusInfoTypeV2ErrorResponse = unknown;
|
|
13
|
+
export interface GetStatusInfoTypeV2Props extends GetStatusInfoTypeV2QueryPathParams, Omit<FetcherOptions<unknown, unknown, GetStatusInfoTypeV2QueryHeaderParams>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function getStatusInfoTypeV2(props: GetStatusInfoTypeV2Props): Promise<GetStatusInfoTypeV2OkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Get Status Info for the given type
|
|
18
|
+
*/
|
|
19
|
+
export declare function useGetStatusInfoTypeV2Query(props: GetStatusInfoTypeV2Props, options?: Omit<UseQueryOptions<GetStatusInfoTypeV2OkResponse, GetStatusInfoTypeV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetStatusInfoTypeV2OkResponse, 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 getStatusInfoTypeV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/status-info/${props.type}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get Status Info for the given type
|
|
11
|
+
*/
|
|
12
|
+
export function useGetStatusInfoTypeV2Query(props, options) {
|
|
13
|
+
return useQuery(['get-status-info-type-v2', props.type], ({ signal }) => getStatusInfoTypeV2(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -23,8 +23,12 @@ export type { GetAuthInfoAuthIdErrorResponse, GetAuthInfoAuthIdOkResponse, GetAu
|
|
|
23
23
|
export { getAuthInfoAuthId, useGetAuthInfoAuthIdQuery } from './hooks/useGetAuthInfoAuthIdQuery';
|
|
24
24
|
export type { GetBackstagePermissionsErrorResponse, GetBackstagePermissionsOkResponse, GetBackstagePermissionsProps, } from './hooks/useGetBackstagePermissionsQuery';
|
|
25
25
|
export { getBackstagePermissions, useGetBackstagePermissionsQuery, } from './hooks/useGetBackstagePermissionsQuery';
|
|
26
|
+
export type { GetCheckGraphErrorResponse, GetCheckGraphOkResponse, GetCheckGraphProps, GetCheckGraphQueryPathParams, GetCheckGraphQueryQueryParams, } from './hooks/useGetCheckGraphQuery';
|
|
27
|
+
export { getCheckGraph, useGetCheckGraphQuery } from './hooks/useGetCheckGraphQuery';
|
|
26
28
|
export type { GetCheckErrorResponse, GetCheckOkResponse, GetCheckProps, GetCheckQueryPathParams, GetCheckQueryQueryParams, } from './hooks/useGetCheckQuery';
|
|
27
29
|
export { getCheck, useGetCheckQuery } from './hooks/useGetCheckQuery';
|
|
30
|
+
export type { GetCheckStatsErrorResponse, GetCheckStatsOkResponse, GetCheckStatsProps, GetCheckStatsQueryPathParams, GetCheckStatsQueryQueryParams, } from './hooks/useGetCheckStatsQuery';
|
|
31
|
+
export { getCheckStats, useGetCheckStatsQuery } from './hooks/useGetCheckStatsQuery';
|
|
28
32
|
export type { GetChecksErrorResponse, GetChecksOkResponse, GetChecksProps, GetChecksQueryQueryParams, } from './hooks/useGetChecksQuery';
|
|
29
33
|
export { getChecks, useGetChecksQuery } from './hooks/useGetChecksQuery';
|
|
30
34
|
export type { GetConnectorInfoErrorResponse, GetConnectorInfoOkResponse, GetConnectorInfoProps, } from './hooks/useGetConnectorInfoQuery';
|
|
@@ -49,10 +53,14 @@ export type { GetPluginsErrorResponse, GetPluginsOkResponse, GetPluginsProps, }
|
|
|
49
53
|
export { getPlugins, useGetPluginsQuery } from './hooks/useGetPluginsQuery';
|
|
50
54
|
export type { GetScorecardErrorResponse, GetScorecardOkResponse, GetScorecardProps, GetScorecardQueryPathParams, } from './hooks/useGetScorecardQuery';
|
|
51
55
|
export { getScorecard, useGetScorecardQuery } from './hooks/useGetScorecardQuery';
|
|
56
|
+
export type { GetScorecardStatsErrorResponse, GetScorecardStatsOkResponse, GetScorecardStatsProps, GetScorecardStatsQueryPathParams, } from './hooks/useGetScorecardStatsQuery';
|
|
57
|
+
export { getScorecardStats, useGetScorecardStatsQuery } from './hooks/useGetScorecardStatsQuery';
|
|
52
58
|
export type { GetScorecardsErrorResponse, GetScorecardsOkResponse, GetScorecardsProps, } from './hooks/useGetScorecardsQuery';
|
|
53
59
|
export { getScorecards, useGetScorecardsQuery } from './hooks/useGetScorecardsQuery';
|
|
54
60
|
export type { GetStatusInfoByTypeErrorResponse, GetStatusInfoByTypeOkResponse, GetStatusInfoByTypeProps, GetStatusInfoByTypeQueryPathParams, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
55
61
|
export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
62
|
+
export type { GetStatusInfoTypeV2ErrorResponse, GetStatusInfoTypeV2OkResponse, GetStatusInfoTypeV2Props, GetStatusInfoTypeV2QueryPathParams, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
63
|
+
export { getStatusInfoTypeV2, useGetStatusInfoTypeV2Query, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
56
64
|
export type { ImportHarnessEntitiesErrorResponse, ImportHarnessEntitiesOkResponse, ImportHarnessEntitiesProps, ImportHarnessEntitiesRequestBody, } from './hooks/useImportHarnessEntitiesMutation';
|
|
57
65
|
export { importHarnessEntities, useImportHarnessEntitiesMutation, } from './hooks/useImportHarnessEntitiesMutation';
|
|
58
66
|
export type { LayoutIngestErrorResponse, LayoutIngestOkResponse, LayoutIngestProps, LayoutIngestRequestBody, } from './hooks/useLayoutIngestMutation';
|
|
@@ -96,7 +104,9 @@ export type { AuthInfoResponseResponse } from './responses/AuthInfoResponseRespo
|
|
|
96
104
|
export type { BackstageEnvVariableResponseListResponse } from './responses/BackstageEnvVariableResponseListResponse';
|
|
97
105
|
export type { BackstagePermissionsResponseResponse } from './responses/BackstagePermissionsResponseResponse';
|
|
98
106
|
export type { CheckDetailsResponseResponse } from './responses/CheckDetailsResponseResponse';
|
|
107
|
+
export type { CheckGraphResponseResponse } from './responses/CheckGraphResponseResponse';
|
|
99
108
|
export type { CheckResponseListResponse } from './responses/CheckResponseListResponse';
|
|
109
|
+
export type { CheckStatsResponseResponse } from './responses/CheckStatsResponseResponse';
|
|
100
110
|
export type { ConfigurationEntitiesResponseResponse } from './responses/ConfigurationEntitiesResponseResponse';
|
|
101
111
|
export type { ConnectorInfoResponseResponse } from './responses/ConnectorInfoResponseResponse';
|
|
102
112
|
export type { DataSourceDataPointsMapResponseResponse } from './responses/DataSourceDataPointsMapResponseResponse';
|
|
@@ -115,7 +125,9 @@ export type { PluginInfoResponseListResponse } from './responses/PluginInfoRespo
|
|
|
115
125
|
export type { ScorecardDetailsResponseResponse } from './responses/ScorecardDetailsResponseResponse';
|
|
116
126
|
export type { ScorecardRecalibrateResponseResponse } from './responses/ScorecardRecalibrateResponseResponse';
|
|
117
127
|
export type { ScorecardResponseListResponse } from './responses/ScorecardResponseListResponse';
|
|
128
|
+
export type { ScorecardStatsResponseResponse } from './responses/ScorecardStatsResponseResponse';
|
|
118
129
|
export type { StatusInfoResponseResponse } from './responses/StatusInfoResponseResponse';
|
|
130
|
+
export type { StatusInfoResponseV2Response } from './responses/StatusInfoResponseV2Response';
|
|
119
131
|
export type { AllowListRequest } from './schemas/AllowListRequest';
|
|
120
132
|
export type { AllowListResponse } from './schemas/AllowListResponse';
|
|
121
133
|
export type { AppConfig } from './schemas/AppConfig';
|
|
@@ -135,8 +147,11 @@ export type { Check } from './schemas/Check';
|
|
|
135
147
|
export type { CheckDetails } from './schemas/CheckDetails';
|
|
136
148
|
export type { CheckDetailsRequest } from './schemas/CheckDetailsRequest';
|
|
137
149
|
export type { CheckDetailsResponse } from './schemas/CheckDetailsResponse';
|
|
150
|
+
export type { CheckGraph } from './schemas/CheckGraph';
|
|
138
151
|
export type { CheckListItem } from './schemas/CheckListItem';
|
|
139
152
|
export type { CheckResponse } from './schemas/CheckResponse';
|
|
153
|
+
export type { CheckStats } from './schemas/CheckStats';
|
|
154
|
+
export type { CheckStatsResponse } from './schemas/CheckStatsResponse';
|
|
140
155
|
export type { CheckStatus } from './schemas/CheckStatus';
|
|
141
156
|
export type { ConfigurationEntities } from './schemas/ConfigurationEntities';
|
|
142
157
|
export type { ConnectorDetails } from './schemas/ConnectorDetails';
|
|
@@ -161,6 +176,8 @@ export type { HarnessEntitiesResponse } from './schemas/HarnessEntitiesResponse'
|
|
|
161
176
|
export type { HostInfo } from './schemas/HostInfo';
|
|
162
177
|
export type { ImportEntitiesBase } from './schemas/ImportEntitiesBase';
|
|
163
178
|
export type { ImportEntitiesResponse } from './schemas/ImportEntitiesResponse';
|
|
179
|
+
export type { InputDetails } from './schemas/InputDetails';
|
|
180
|
+
export type { InputValue } from './schemas/InputValue';
|
|
164
181
|
export type { LayoutIngestRequest } from './schemas/LayoutIngestRequest';
|
|
165
182
|
export type { LayoutRequest } from './schemas/LayoutRequest';
|
|
166
183
|
export type { LayoutResponse } from './schemas/LayoutResponse';
|
|
@@ -185,6 +202,9 @@ export type { ScorecardRecalibrateIdentifiers } from './schemas/ScorecardRecalib
|
|
|
185
202
|
export type { ScorecardRecalibrateRequest } from './schemas/ScorecardRecalibrateRequest';
|
|
186
203
|
export type { ScorecardRecalibrateResponse } from './schemas/ScorecardRecalibrateResponse';
|
|
187
204
|
export type { ScorecardResponse } from './schemas/ScorecardResponse';
|
|
205
|
+
export type { ScorecardStats } from './schemas/ScorecardStats';
|
|
206
|
+
export type { ScorecardStatsResponse } from './schemas/ScorecardStatsResponse';
|
|
188
207
|
export type { ScorecardSummaryInfo } from './schemas/ScorecardSummaryInfo';
|
|
189
208
|
export type { StatusInfo } from './schemas/StatusInfo';
|
|
190
209
|
export type { StatusInfoResponse } from './schemas/StatusInfoResponse';
|
|
210
|
+
export type { StatusInfoV2 } from './schemas/StatusInfoV2';
|
|
@@ -10,7 +10,9 @@ export { getAllLayouts, useGetAllLayoutsQuery } from './hooks/useGetAllLayoutsQu
|
|
|
10
10
|
export { getAllowList, useGetAllowListQuery } from './hooks/useGetAllowListQuery';
|
|
11
11
|
export { getAuthInfoAuthId, useGetAuthInfoAuthIdQuery } from './hooks/useGetAuthInfoAuthIdQuery';
|
|
12
12
|
export { getBackstagePermissions, useGetBackstagePermissionsQuery, } from './hooks/useGetBackstagePermissionsQuery';
|
|
13
|
+
export { getCheckGraph, useGetCheckGraphQuery } from './hooks/useGetCheckGraphQuery';
|
|
13
14
|
export { getCheck, useGetCheckQuery } from './hooks/useGetCheckQuery';
|
|
15
|
+
export { getCheckStats, useGetCheckStatsQuery } from './hooks/useGetCheckStatsQuery';
|
|
14
16
|
export { getChecks, useGetChecksQuery } from './hooks/useGetChecksQuery';
|
|
15
17
|
export { getConnectorInfo, useGetConnectorInfoQuery } from './hooks/useGetConnectorInfoQuery';
|
|
16
18
|
export { getDataPointsForDataSource, useGetDataPointsForDataSourceQuery, } from './hooks/useGetDataPointsForDataSourceQuery';
|
|
@@ -23,8 +25,10 @@ export { getMergedPluginsConfig, useGetMergedPluginsConfigQuery, } from './hooks
|
|
|
23
25
|
export { getPluginsInfoPluginId, useGetPluginsInfoPluginIdQuery, } from './hooks/useGetPluginsInfoPluginIdQuery';
|
|
24
26
|
export { getPlugins, useGetPluginsQuery } from './hooks/useGetPluginsQuery';
|
|
25
27
|
export { getScorecard, useGetScorecardQuery } from './hooks/useGetScorecardQuery';
|
|
28
|
+
export { getScorecardStats, useGetScorecardStatsQuery } from './hooks/useGetScorecardStatsQuery';
|
|
26
29
|
export { getScorecards, useGetScorecardsQuery } from './hooks/useGetScorecardsQuery';
|
|
27
30
|
export { getStatusInfoByType, useGetStatusInfoByTypeQuery, } from './hooks/useGetStatusInfoByTypeQuery';
|
|
31
|
+
export { getStatusInfoTypeV2, useGetStatusInfoTypeV2Query, } from './hooks/useGetStatusInfoTypeV2Query';
|
|
28
32
|
export { importHarnessEntities, useImportHarnessEntitiesMutation, } from './hooks/useImportHarnessEntitiesMutation';
|
|
29
33
|
export { layoutIngest, useLayoutIngestMutation } from './hooks/useLayoutIngestMutation';
|
|
30
34
|
export { onboardingGenerateYaml, useOnboardingGenerateYamlMutation, } from './hooks/useOnboardingGenerateYamlMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { InputDetails } from '../schemas/InputDetails';
|
|
1
2
|
/**
|
|
2
3
|
* Conatins detail for single data point
|
|
3
4
|
*/
|
|
@@ -6,6 +7,7 @@ export interface DataPoint {
|
|
|
6
7
|
data_point_identifier: string;
|
|
7
8
|
description: string;
|
|
8
9
|
detailed_description: string;
|
|
10
|
+
input_details?: InputDetails[];
|
|
9
11
|
is_conditional: boolean;
|
|
10
12
|
name: string;
|
|
11
13
|
type: string;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type { InputValue } from '../schemas/InputValue';
|
|
1
2
|
export interface Rule {
|
|
2
3
|
conditional_input_value?: string;
|
|
3
4
|
data_point_identifier: string;
|
|
4
5
|
data_source_identifier: string;
|
|
6
|
+
identifier?: string;
|
|
7
|
+
input_values?: InputValue[];
|
|
5
8
|
operator: string;
|
|
6
9
|
value: string;
|
|
7
10
|
}
|
|
@@ -2,8 +2,13 @@ import type { Check } from '../schemas/Check';
|
|
|
2
2
|
export interface Scorecard {
|
|
3
3
|
checks: Check[];
|
|
4
4
|
checks_missing?: string[];
|
|
5
|
+
components?: number;
|
|
5
6
|
description?: string;
|
|
6
7
|
identifier: string;
|
|
7
8
|
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* @format double
|
|
11
|
+
*/
|
|
12
|
+
percentage?: number;
|
|
8
13
|
published?: boolean;
|
|
9
14
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|