@harnessio/react-sei-panorama-service-client 0.10.18 → 0.10.19
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/sei-panorama-service/src/services/hooks/{useDoraControllerLeadTimeDrilldownFiltersMutation.d.ts → useDoraControllerLeadTimeDrilldownFiltersQuery.d.ts} +5 -5
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerLeadTimeDrilldownFiltersMutation.js → useDoraControllerLeadTimeDrilldownFiltersQuery.js} +3 -3
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerLeadTimeDrilldownMutation.d.ts → useDoraControllerLeadTimeDrilldownQuery.d.ts} +5 -5
- package/dist/sei-panorama-service/src/services/hooks/{useDoraControllerLeadTimeDrilldownMutation.js → useDoraControllerLeadTimeDrilldownQuery.js} +3 -3
- package/dist/sei-panorama-service/src/services/index.d.ts +4 -4
- package/dist/sei-panorama-service/src/services/index.js +2 -2
- package/package.json +1 -1
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
2
|
import type { DoraMetricDrilldownFiltersResponse } from '../schemas/DoraMetricDrilldownFiltersResponse';
|
3
3
|
import type { DoraMetricDrilldownRequest } from '../schemas/DoraMetricDrilldownRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface
|
6
|
+
export interface DoraControllerLeadTimeDrilldownFiltersQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
@@ -11,12 +11,12 @@ export interface DoraControllerLeadTimeDrilldownFiltersMutationQueryParams {
|
|
11
11
|
export type DoraControllerLeadTimeDrilldownFiltersRequestBody = DoraMetricDrilldownRequest;
|
12
12
|
export type DoraControllerLeadTimeDrilldownFiltersOkResponse = ResponseWithPagination<DoraMetricDrilldownFiltersResponse>;
|
13
13
|
export type DoraControllerLeadTimeDrilldownFiltersErrorResponse = string;
|
14
|
-
export interface DoraControllerLeadTimeDrilldownFiltersProps extends Omit<FetcherOptions<
|
15
|
-
queryParams:
|
14
|
+
export interface DoraControllerLeadTimeDrilldownFiltersProps extends Omit<FetcherOptions<DoraControllerLeadTimeDrilldownFiltersQueryQueryParams, DoraControllerLeadTimeDrilldownFiltersRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerLeadTimeDrilldownFiltersQueryQueryParams;
|
16
16
|
body: DoraControllerLeadTimeDrilldownFiltersRequestBody;
|
17
17
|
}
|
18
18
|
export declare function doraControllerLeadTimeDrilldownFilters(props: DoraControllerLeadTimeDrilldownFiltersProps): Promise<DoraControllerLeadTimeDrilldownFiltersOkResponse>;
|
19
19
|
/**
|
20
20
|
* Get filter information for Lead Time to Change drilldown data
|
21
21
|
*/
|
22
|
-
export declare function
|
22
|
+
export declare function useDoraControllerLeadTimeDrilldownFiltersQuery(props: DoraControllerLeadTimeDrilldownFiltersProps, options?: Omit<UseQueryOptions<DoraControllerLeadTimeDrilldownFiltersOkResponse, DoraControllerLeadTimeDrilldownFiltersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerLeadTimeDrilldownFiltersOkResponse, string>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/* eslint-disable */
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
3
3
|
// Please do not modify this code directly.
|
4
|
-
import {
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function doraControllerLeadTimeDrilldownFilters(props) {
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime/drilldown/filters`, method: 'POST' }, props));
|
@@ -9,6 +9,6 @@ export function doraControllerLeadTimeDrilldownFilters(props) {
|
|
9
9
|
/**
|
10
10
|
* Get filter information for Lead Time to Change drilldown data
|
11
11
|
*/
|
12
|
-
export function
|
13
|
-
return
|
12
|
+
export function useDoraControllerLeadTimeDrilldownFiltersQuery(props, options) {
|
13
|
+
return useQuery(['DoraControllerLeadTimeDrilldownFilters', props.queryParams, props.body], ({ signal }) => doraControllerLeadTimeDrilldownFilters(Object.assign(Object.assign({}, props), { signal })), options);
|
14
14
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
2
|
import type { DoraMetricDrilldownResponse } from '../schemas/DoraMetricDrilldownResponse';
|
3
3
|
import type { DoraMetricDrilldownRequest } from '../schemas/DoraMetricDrilldownRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface
|
6
|
+
export interface DoraControllerLeadTimeDrilldownQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
@@ -11,12 +11,12 @@ export interface DoraControllerLeadTimeDrilldownMutationQueryParams {
|
|
11
11
|
export type DoraControllerLeadTimeDrilldownRequestBody = DoraMetricDrilldownRequest;
|
12
12
|
export type DoraControllerLeadTimeDrilldownOkResponse = ResponseWithPagination<DoraMetricDrilldownResponse>;
|
13
13
|
export type DoraControllerLeadTimeDrilldownErrorResponse = string;
|
14
|
-
export interface DoraControllerLeadTimeDrilldownProps extends Omit<FetcherOptions<
|
15
|
-
queryParams:
|
14
|
+
export interface DoraControllerLeadTimeDrilldownProps extends Omit<FetcherOptions<DoraControllerLeadTimeDrilldownQueryQueryParams, DoraControllerLeadTimeDrilldownRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerLeadTimeDrilldownQueryQueryParams;
|
16
16
|
body: DoraControllerLeadTimeDrilldownRequestBody;
|
17
17
|
}
|
18
18
|
export declare function doraControllerLeadTimeDrilldown(props: DoraControllerLeadTimeDrilldownProps): Promise<DoraControllerLeadTimeDrilldownOkResponse>;
|
19
19
|
/**
|
20
20
|
* Get detailed Lead Time to Change data with pagination support and data source filtering
|
21
21
|
*/
|
22
|
-
export declare function
|
22
|
+
export declare function useDoraControllerLeadTimeDrilldownQuery(props: DoraControllerLeadTimeDrilldownProps, options?: Omit<UseQueryOptions<DoraControllerLeadTimeDrilldownOkResponse, DoraControllerLeadTimeDrilldownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerLeadTimeDrilldownOkResponse, string>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/* eslint-disable */
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
3
3
|
// Please do not modify this code directly.
|
4
|
-
import {
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function doraControllerLeadTimeDrilldown(props) {
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime/drilldown`, method: 'POST' }, props));
|
@@ -9,6 +9,6 @@ export function doraControllerLeadTimeDrilldown(props) {
|
|
9
9
|
/**
|
10
10
|
* Get detailed Lead Time to Change data with pagination support and data source filtering
|
11
11
|
*/
|
12
|
-
export function
|
13
|
-
return
|
12
|
+
export function useDoraControllerLeadTimeDrilldownQuery(props, options) {
|
13
|
+
return useQuery(['DoraControllerLeadTimeDrilldown', props.queryParams, props.body], ({ signal }) => doraControllerLeadTimeDrilldown(Object.assign(Object.assign({}, props), { signal })), options);
|
14
14
|
}
|
@@ -29,10 +29,10 @@ export type { DoraControllerDeploymentFrequencyBreakdownErrorResponse, DoraContr
|
|
29
29
|
export { doraControllerDeploymentFrequencyBreakdown, useDoraControllerDeploymentFrequencyBreakdownQuery, } from './hooks/useDoraControllerDeploymentFrequencyBreakdownQuery';
|
30
30
|
export type { DoraControllerDeploymentFrequencyErrorResponse, DoraControllerDeploymentFrequencyOkResponse, DoraControllerDeploymentFrequencyProps, DoraControllerDeploymentFrequencyQueryQueryParams, DoraControllerDeploymentFrequencyRequestBody, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
31
31
|
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyQuery, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
32
|
-
export type { DoraControllerLeadTimeDrilldownFiltersErrorResponse,
|
33
|
-
export { doraControllerLeadTimeDrilldownFilters,
|
34
|
-
export type { DoraControllerLeadTimeDrilldownErrorResponse,
|
35
|
-
export { doraControllerLeadTimeDrilldown,
|
32
|
+
export type { DoraControllerLeadTimeDrilldownFiltersErrorResponse, DoraControllerLeadTimeDrilldownFiltersOkResponse, DoraControllerLeadTimeDrilldownFiltersProps, DoraControllerLeadTimeDrilldownFiltersQueryQueryParams, DoraControllerLeadTimeDrilldownFiltersRequestBody, } from './hooks/useDoraControllerLeadTimeDrilldownFiltersQuery';
|
33
|
+
export { doraControllerLeadTimeDrilldownFilters, useDoraControllerLeadTimeDrilldownFiltersQuery, } from './hooks/useDoraControllerLeadTimeDrilldownFiltersQuery';
|
34
|
+
export type { DoraControllerLeadTimeDrilldownErrorResponse, DoraControllerLeadTimeDrilldownOkResponse, DoraControllerLeadTimeDrilldownProps, DoraControllerLeadTimeDrilldownQueryQueryParams, DoraControllerLeadTimeDrilldownRequestBody, } from './hooks/useDoraControllerLeadTimeDrilldownQuery';
|
35
|
+
export { doraControllerLeadTimeDrilldown, useDoraControllerLeadTimeDrilldownQuery, } from './hooks/useDoraControllerLeadTimeDrilldownQuery';
|
36
36
|
export type { DoraControllerLeadTimeErrorResponse, DoraControllerLeadTimeOkResponse, DoraControllerLeadTimeProps, DoraControllerLeadTimeQueryQueryParams, DoraControllerLeadTimeRequestBody, } from './hooks/useDoraControllerLeadTimeQuery';
|
37
37
|
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
38
38
|
export type { DoraControllerLeadTimeStagesErrorResponse, DoraControllerLeadTimeStagesOkResponse, DoraControllerLeadTimeStagesProps, DoraControllerLeadTimeStagesQueryQueryParams, DoraControllerLeadTimeStagesRequestBody, } from './hooks/useDoraControllerLeadTimeStagesQuery';
|
@@ -13,8 +13,8 @@ export { doraControllerChangeFailureRateBreakdown, useDoraControllerChangeFailur
|
|
13
13
|
export { doraControllerChangeFailureRate, useDoraControllerChangeFailureRateQuery, } from './hooks/useDoraControllerChangeFailureRateQuery';
|
14
14
|
export { doraControllerDeploymentFrequencyBreakdown, useDoraControllerDeploymentFrequencyBreakdownQuery, } from './hooks/useDoraControllerDeploymentFrequencyBreakdownQuery';
|
15
15
|
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyQuery, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
16
|
-
export { doraControllerLeadTimeDrilldownFilters,
|
17
|
-
export { doraControllerLeadTimeDrilldown,
|
16
|
+
export { doraControllerLeadTimeDrilldownFilters, useDoraControllerLeadTimeDrilldownFiltersQuery, } from './hooks/useDoraControllerLeadTimeDrilldownFiltersQuery';
|
17
|
+
export { doraControllerLeadTimeDrilldown, useDoraControllerLeadTimeDrilldownQuery, } from './hooks/useDoraControllerLeadTimeDrilldownQuery';
|
18
18
|
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
19
19
|
export { doraControllerLeadTimeStages, useDoraControllerLeadTimeStagesQuery, } from './hooks/useDoraControllerLeadTimeStagesQuery';
|
20
20
|
export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreQuery, } from './hooks/useDoraControllerMeanTimeRestoreQuery';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
3
|
-
"version": "0.10.
|
3
|
+
"version": "0.10.19",
|
4
4
|
"description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
|
5
5
|
"author": "Harness Inc",
|
6
6
|
"license": "MIT",
|