@harnessio/react-sei-panorama-service-client 0.14.0 → 0.14.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/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownPRsQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownPRsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownQuery.d.ts +3 -3
- package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/index.d.ts +8 -5
- package/dist/sei-panorama-service/src/services/index.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/CodeChanges.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimeDrilldownResponse.d.ts +63 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimeDrilldownResponseWrapper.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownRequest.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownRequest.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponse.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponse.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponseWrapper.d.ts +15 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponseWrapper.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownRequest.d.ts +1 -1
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/schemas/CdDeploymentData.d.ts +0 -68
- package/dist/sei-panorama-service/src/services/schemas/CiPipelineData.d.ts +0 -56
- package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownResponse.d.ts +0 -42
- package/dist/sei-panorama-service/src/services/schemas/IssueManagementData.d.ts +0 -36
- package/dist/sei-panorama-service/src/services/schemas/IssueManagementData.js +0 -4
- package/dist/sei-panorama-service/src/services/schemas/ScmCommitData.d.ts +0 -42
- package/dist/sei-panorama-service/src/services/schemas/ScmCommitData.js +0 -4
- /package/dist/sei-panorama-service/src/services/schemas/{CdDeploymentData.js → CodeChanges.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{CiPipelineData.js → DoraLeadTimeDrilldownResponse.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{DoraMetricDrilldownResponse.js → DoraLeadTimeDrilldownResponseWrapper.js} +0 -0
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownPRsQuery.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraLeadTimePrDrilldownResponseWrapper } from '../schemas/DoraLeadTimePrDrilldownResponseWrapper';
|
3
|
+
import type { DoraLeadTimePrDrilldownRequest } from '../schemas/DoraLeadTimePrDrilldownRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface DoraControllerLeadTimeDrilldownPRsQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type DoraControllerLeadTimeDrilldownPRsRequestBody = DoraLeadTimePrDrilldownRequest;
|
12
|
+
export type DoraControllerLeadTimeDrilldownPRsOkResponse = ResponseWithPagination<DoraLeadTimePrDrilldownResponseWrapper>;
|
13
|
+
export type DoraControllerLeadTimeDrilldownPRsErrorResponse = string;
|
14
|
+
export interface DoraControllerLeadTimeDrilldownPRsProps extends Omit<FetcherOptions<DoraControllerLeadTimeDrilldownPRsQueryQueryParams, DoraControllerLeadTimeDrilldownPRsRequestBody>, 'url'> {
|
15
|
+
queryParams: DoraControllerLeadTimeDrilldownPRsQueryQueryParams;
|
16
|
+
body: DoraControllerLeadTimeDrilldownPRsRequestBody;
|
17
|
+
}
|
18
|
+
export declare function doraControllerLeadTimeDrilldownPRs(props: DoraControllerLeadTimeDrilldownPRsProps): Promise<DoraControllerLeadTimeDrilldownPRsOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get commits related to a PR for Lead Time to Change drilldown
|
21
|
+
*/
|
22
|
+
export declare function useDoraControllerLeadTimeDrilldownPRsQuery(props: DoraControllerLeadTimeDrilldownPRsProps, options?: Omit<UseQueryOptions<DoraControllerLeadTimeDrilldownPRsOkResponse, DoraControllerLeadTimeDrilldownPRsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerLeadTimeDrilldownPRsOkResponse, string>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownPRsQuery.js
ADDED
@@ -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 doraControllerLeadTimeDrilldownPRs(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime/drilldown/prs`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get commits related to a PR for Lead Time to Change drilldown
|
11
|
+
*/
|
12
|
+
export function useDoraControllerLeadTimeDrilldownPRsQuery(props, options) {
|
13
|
+
return useQuery(['DoraControllerLeadTimeDrilldownPRs', props.queryParams, props.body], ({ signal }) => doraControllerLeadTimeDrilldownPRs(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownQuery.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type {
|
2
|
+
import type { DoraLeadTimeDrilldownResponseWrapper } from '../schemas/DoraLeadTimeDrilldownResponseWrapper';
|
3
3
|
import type { DoraMetricDrilldownRequest } from '../schemas/DoraMetricDrilldownRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
@@ -9,7 +9,7 @@ export interface DoraControllerLeadTimeDrilldownQueryQueryParams {
|
|
9
9
|
orgIdentifier: string;
|
10
10
|
}
|
11
11
|
export type DoraControllerLeadTimeDrilldownRequestBody = DoraMetricDrilldownRequest;
|
12
|
-
export type DoraControllerLeadTimeDrilldownOkResponse = ResponseWithPagination<
|
12
|
+
export type DoraControllerLeadTimeDrilldownOkResponse = ResponseWithPagination<DoraLeadTimeDrilldownResponseWrapper>;
|
13
13
|
export type DoraControllerLeadTimeDrilldownErrorResponse = string;
|
14
14
|
export interface DoraControllerLeadTimeDrilldownProps extends Omit<FetcherOptions<DoraControllerLeadTimeDrilldownQueryQueryParams, DoraControllerLeadTimeDrilldownRequestBody>, 'url'> {
|
15
15
|
queryParams: DoraControllerLeadTimeDrilldownQueryQueryParams;
|
@@ -17,6 +17,6 @@ export interface DoraControllerLeadTimeDrilldownProps extends Omit<FetcherOption
|
|
17
17
|
}
|
18
18
|
export declare function doraControllerLeadTimeDrilldown(props: DoraControllerLeadTimeDrilldownProps): Promise<DoraControllerLeadTimeDrilldownOkResponse>;
|
19
19
|
/**
|
20
|
-
* Get detailed Lead Time to Change data with pagination support
|
20
|
+
* Get detailed Lead Time to Change data with pagination support
|
21
21
|
*/
|
22
22
|
export declare function useDoraControllerLeadTimeDrilldownQuery(props: DoraControllerLeadTimeDrilldownProps, options?: Omit<UseQueryOptions<DoraControllerLeadTimeDrilldownOkResponse, DoraControllerLeadTimeDrilldownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerLeadTimeDrilldownOkResponse, string>;
|
package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownQuery.js
CHANGED
@@ -7,7 +7,7 @@ export function doraControllerLeadTimeDrilldown(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/dora/leadtime/drilldown`, method: 'POST' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
|
-
* Get detailed Lead Time to Change data with pagination support
|
10
|
+
* Get detailed Lead Time to Change data with pagination support
|
11
11
|
*/
|
12
12
|
export function useDoraControllerLeadTimeDrilldownQuery(props, options) {
|
13
13
|
return useQuery(['DoraControllerLeadTimeDrilldown', props.queryParams, props.body], ({ signal }) => doraControllerLeadTimeDrilldown(Object.assign(Object.assign({}, props), { signal })), options);
|
@@ -31,6 +31,8 @@ export type { DoraControllerDeploymentFrequencyErrorResponse, DoraControllerDepl
|
|
31
31
|
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyQuery, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
32
32
|
export type { DoraControllerLeadTimeDrilldownFiltersErrorResponse, DoraControllerLeadTimeDrilldownFiltersOkResponse, DoraControllerLeadTimeDrilldownFiltersProps, DoraControllerLeadTimeDrilldownFiltersQueryQueryParams, DoraControllerLeadTimeDrilldownFiltersRequestBody, } from './hooks/useDoraControllerLeadTimeDrilldownFiltersQuery';
|
33
33
|
export { doraControllerLeadTimeDrilldownFilters, useDoraControllerLeadTimeDrilldownFiltersQuery, } from './hooks/useDoraControllerLeadTimeDrilldownFiltersQuery';
|
34
|
+
export type { DoraControllerLeadTimeDrilldownPRsErrorResponse, DoraControllerLeadTimeDrilldownPRsOkResponse, DoraControllerLeadTimeDrilldownPRsProps, DoraControllerLeadTimeDrilldownPRsQueryQueryParams, DoraControllerLeadTimeDrilldownPRsRequestBody, } from './hooks/useDoraControllerLeadTimeDrilldownPRsQuery';
|
35
|
+
export { doraControllerLeadTimeDrilldownPRs, useDoraControllerLeadTimeDrilldownPRsQuery, } from './hooks/useDoraControllerLeadTimeDrilldownPRsQuery';
|
34
36
|
export type { DoraControllerLeadTimeDrilldownErrorResponse, DoraControllerLeadTimeDrilldownOkResponse, DoraControllerLeadTimeDrilldownProps, DoraControllerLeadTimeDrilldownQueryQueryParams, DoraControllerLeadTimeDrilldownRequestBody, } from './hooks/useDoraControllerLeadTimeDrilldownQuery';
|
35
37
|
export { doraControllerLeadTimeDrilldown, useDoraControllerLeadTimeDrilldownQuery, } from './hooks/useDoraControllerLeadTimeDrilldownQuery';
|
36
38
|
export type { DoraControllerLeadTimeErrorResponse, DoraControllerLeadTimeOkResponse, DoraControllerLeadTimeProps, DoraControllerLeadTimeQueryQueryParams, DoraControllerLeadTimeRequestBody, } from './hooks/useDoraControllerLeadTimeQuery';
|
@@ -81,10 +83,9 @@ export type { ProductivityProfileControllerUpdateProfileErrorResponse, Productiv
|
|
81
83
|
export { productivityProfileControllerUpdateProfile, useProductivityProfileControllerUpdateProfileMutation, } from './hooks/useProductivityProfileControllerUpdateProfileMutation';
|
82
84
|
export type { AdditionalFilters } from './schemas/AdditionalFilters';
|
83
85
|
export type { Category } from './schemas/Category';
|
84
|
-
export type { CdDeploymentData } from './schemas/CdDeploymentData';
|
85
86
|
export type { ChangeFailureRateConfiguration } from './schemas/ChangeFailureRateConfiguration';
|
86
|
-
export type { CiPipelineData } from './schemas/CiPipelineData';
|
87
87
|
export type { CodeChangeStats } from './schemas/CodeChangeStats';
|
88
|
+
export type { CodeChanges } from './schemas/CodeChanges';
|
88
89
|
export type { CollectionEnriched } from './schemas/CollectionEnriched';
|
89
90
|
export type { CollectionFilter } from './schemas/CollectionFilter';
|
90
91
|
export type { CollectionTree } from './schemas/CollectionTree';
|
@@ -103,12 +104,16 @@ export type { DoraChangeFailureRateMetric } from './schemas/DoraChangeFailureRat
|
|
103
104
|
export type { DoraChangeFailureRateMetricBreakdown } from './schemas/DoraChangeFailureRateMetricBreakdown';
|
104
105
|
export type { DoraDeploymentFrequencyMetric } from './schemas/DoraDeploymentFrequencyMetric';
|
105
106
|
export type { DoraDeploymentFrequencyMetricBreakdown } from './schemas/DoraDeploymentFrequencyMetricBreakdown';
|
107
|
+
export type { DoraLeadTimeDrilldownResponse } from './schemas/DoraLeadTimeDrilldownResponse';
|
108
|
+
export type { DoraLeadTimeDrilldownResponseWrapper } from './schemas/DoraLeadTimeDrilldownResponseWrapper';
|
109
|
+
export type { DoraLeadTimePrDrilldownRequest } from './schemas/DoraLeadTimePrDrilldownRequest';
|
110
|
+
export type { DoraLeadTimePrDrilldownResponse } from './schemas/DoraLeadTimePrDrilldownResponse';
|
111
|
+
export type { DoraLeadTimePrDrilldownResponseWrapper } from './schemas/DoraLeadTimePrDrilldownResponseWrapper';
|
106
112
|
export type { DoraLttcMttrMetric } from './schemas/DoraLttcMttrMetric';
|
107
113
|
export type { DoraLttcMttrMetricBreakdown } from './schemas/DoraLttcMttrMetricBreakdown';
|
108
114
|
export type { DoraMetadata } from './schemas/DoraMetadata';
|
109
115
|
export type { DoraMetricDrilldownFiltersResponse } from './schemas/DoraMetricDrilldownFiltersResponse';
|
110
116
|
export type { DoraMetricDrilldownRequest } from './schemas/DoraMetricDrilldownRequest';
|
111
|
-
export type { DoraMetricDrilldownResponse } from './schemas/DoraMetricDrilldownResponse';
|
112
117
|
export type { DoraRequest } from './schemas/DoraRequest';
|
113
118
|
export type { DoraStage } from './schemas/DoraStage';
|
114
119
|
export type { DoraSummaryMetric } from './schemas/DoraSummaryMetric';
|
@@ -131,7 +136,6 @@ export type { InsightProductivitySettingsDto } from './schemas/InsightProductivi
|
|
131
136
|
export type { InsightSettingsCreateRequestDto } from './schemas/InsightSettingsCreateRequestDto';
|
132
137
|
export type { InsightSettingsResponseDto } from './schemas/InsightSettingsResponseDto';
|
133
138
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
134
|
-
export type { IssueManagementData } from './schemas/IssueManagementData';
|
135
139
|
export type { MetricConfiguration } from './schemas/MetricConfiguration';
|
136
140
|
export type { PaginationInfo } from './schemas/PaginationInfo';
|
137
141
|
export type { PaginationRequest } from './schemas/PaginationRequest';
|
@@ -151,7 +155,6 @@ export type { ProductivityProfileResponseDto } from './schemas/ProductivityProfi
|
|
151
155
|
export type { ProductivityRequestDto } from './schemas/ProductivityRequestDto';
|
152
156
|
export type { ProductivitySection } from './schemas/ProductivitySection';
|
153
157
|
export type { Resolution } from './schemas/Resolution';
|
154
|
-
export type { ScmCommitData } from './schemas/ScmCommitData';
|
155
158
|
export type { Stage } from './schemas/Stage';
|
156
159
|
export type { SummaryCard } from './schemas/SummaryCard';
|
157
160
|
export type { SummaryValue } from './schemas/SummaryValue';
|
@@ -14,6 +14,7 @@ export { doraControllerChangeFailureRate, useDoraControllerChangeFailureRateQuer
|
|
14
14
|
export { doraControllerDeploymentFrequencyBreakdown, useDoraControllerDeploymentFrequencyBreakdownQuery, } from './hooks/useDoraControllerDeploymentFrequencyBreakdownQuery';
|
15
15
|
export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyQuery, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
|
16
16
|
export { doraControllerLeadTimeDrilldownFilters, useDoraControllerLeadTimeDrilldownFiltersQuery, } from './hooks/useDoraControllerLeadTimeDrilldownFiltersQuery';
|
17
|
+
export { doraControllerLeadTimeDrilldownPRs, useDoraControllerLeadTimeDrilldownPRsQuery, } from './hooks/useDoraControllerLeadTimeDrilldownPRsQuery';
|
17
18
|
export { doraControllerLeadTimeDrilldown, useDoraControllerLeadTimeDrilldownQuery, } from './hooks/useDoraControllerLeadTimeDrilldownQuery';
|
18
19
|
export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
|
19
20
|
export { doraControllerLeadTimeStages, useDoraControllerLeadTimeStagesQuery, } from './hooks/useDoraControllerLeadTimeStagesQuery';
|
@@ -0,0 +1,63 @@
|
|
1
|
+
/**
|
2
|
+
* Response containing drilldown data for Lead Time to Change metrics
|
3
|
+
*/
|
4
|
+
export interface DoraLeadTimeDrilldownResponse {
|
5
|
+
/**
|
6
|
+
* Build identifier
|
7
|
+
*/
|
8
|
+
buildId?: string;
|
9
|
+
/**
|
10
|
+
* Commit SHA
|
11
|
+
*/
|
12
|
+
commitSha?: string;
|
13
|
+
/**
|
14
|
+
* Deployment identifier
|
15
|
+
*/
|
16
|
+
deploymentId?: string;
|
17
|
+
/**
|
18
|
+
* Lead time for CI phase
|
19
|
+
* @format int64
|
20
|
+
*/
|
21
|
+
leadTimeBuild?: number;
|
22
|
+
/**
|
23
|
+
* Lead time for commit phase
|
24
|
+
* @format int64
|
25
|
+
*/
|
26
|
+
leadTimeCoding?: number;
|
27
|
+
/**
|
28
|
+
* Lead time for deployment phase
|
29
|
+
* @format int64
|
30
|
+
*/
|
31
|
+
leadTimeDeploy?: number;
|
32
|
+
/**
|
33
|
+
* Lead time for merge phase
|
34
|
+
* @format int64
|
35
|
+
*/
|
36
|
+
leadTimeMerge?: number;
|
37
|
+
/**
|
38
|
+
* Lead time for planning phase
|
39
|
+
* @format int64
|
40
|
+
*/
|
41
|
+
leadTimePlanning?: number;
|
42
|
+
/**
|
43
|
+
* Lead time total
|
44
|
+
* @format int64
|
45
|
+
*/
|
46
|
+
leadTimeTotal?: number;
|
47
|
+
/**
|
48
|
+
* Pull request identifier
|
49
|
+
*/
|
50
|
+
prId?: string;
|
51
|
+
/**
|
52
|
+
* PR merged branch
|
53
|
+
*/
|
54
|
+
prMergedBranch?: string;
|
55
|
+
/**
|
56
|
+
* Pull request number
|
57
|
+
*/
|
58
|
+
prNumber?: string;
|
59
|
+
/**
|
60
|
+
* Ticket identifier
|
61
|
+
*/
|
62
|
+
ticketId?: string;
|
63
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimeDrilldownResponseWrapper.d.ts
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
import type { DoraLeadTimeDrilldownResponse } from '../schemas/DoraLeadTimeDrilldownResponse';
|
2
|
+
import type { PaginationInfo } from '../schemas/PaginationInfo';
|
3
|
+
/**
|
4
|
+
* Wrapper containing drilldown data list for Lead Time to Change metrics with pagination
|
5
|
+
*/
|
6
|
+
export interface DoraLeadTimeDrilldownResponseWrapper {
|
7
|
+
/**
|
8
|
+
* List of drilldown responses
|
9
|
+
*/
|
10
|
+
data?: DoraLeadTimeDrilldownResponse[];
|
11
|
+
/**
|
12
|
+
* Table headers for display
|
13
|
+
*/
|
14
|
+
headers?: string[];
|
15
|
+
/**
|
16
|
+
* Pagination information
|
17
|
+
*/
|
18
|
+
pagination?: PaginationInfo;
|
19
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import type { CodeChanges } from '../schemas/CodeChanges';
|
2
|
+
/**
|
3
|
+
* Response containing drilldown data for PRs in Lead Time to Change metrics
|
4
|
+
*/
|
5
|
+
export interface DoraLeadTimePrDrilldownResponse {
|
6
|
+
/**
|
7
|
+
* author
|
8
|
+
*/
|
9
|
+
author?: string;
|
10
|
+
/**
|
11
|
+
* code changes
|
12
|
+
*/
|
13
|
+
codeChanges?: CodeChanges;
|
14
|
+
/**
|
15
|
+
* Commit identifier
|
16
|
+
*/
|
17
|
+
commitId?: string;
|
18
|
+
/**
|
19
|
+
* Commit identifier
|
20
|
+
*/
|
21
|
+
commitSha?: string;
|
22
|
+
/**
|
23
|
+
* Comitted at
|
24
|
+
* @format date-time
|
25
|
+
*/
|
26
|
+
committedAt?: string;
|
27
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponseWrapper.d.ts
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
import type { DoraLeadTimePrDrilldownResponse } from '../schemas/DoraLeadTimePrDrilldownResponse';
|
2
|
+
import type { PaginationInfo } from '../schemas/PaginationInfo';
|
3
|
+
/**
|
4
|
+
* Wrapper containing PR drilldown data list for Lead Time to Change metrics with pagination
|
5
|
+
*/
|
6
|
+
export interface DoraLeadTimePrDrilldownResponseWrapper {
|
7
|
+
/**
|
8
|
+
* List of PR drilldown responses
|
9
|
+
*/
|
10
|
+
data?: DoraLeadTimePrDrilldownResponse[];
|
11
|
+
/**
|
12
|
+
* Pagination information
|
13
|
+
*/
|
14
|
+
pagination?: PaginationInfo;
|
15
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponseWrapper.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
3
|
-
"version": "0.14.
|
3
|
+
"version": "0.14.1",
|
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",
|
@@ -1,68 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Data structure for CD deployments
|
3
|
-
*/
|
4
|
-
export interface CdDeploymentData {
|
5
|
-
/**
|
6
|
-
* Artifact ID
|
7
|
-
*/
|
8
|
-
artifactId?: string;
|
9
|
-
/**
|
10
|
-
* Artifact Name
|
11
|
-
*/
|
12
|
-
artifactName?: string;
|
13
|
-
/**
|
14
|
-
* Artifact Tags
|
15
|
-
*/
|
16
|
-
artifactTags?: string[];
|
17
|
-
/**
|
18
|
-
* Artifact Version
|
19
|
-
*/
|
20
|
-
artifactVersion?: string;
|
21
|
-
/**
|
22
|
-
* Deployment Environment
|
23
|
-
*/
|
24
|
-
deploymentEnvironment?: string;
|
25
|
-
/**
|
26
|
-
* Execution End Time
|
27
|
-
* @format date-time
|
28
|
-
*/
|
29
|
-
executionEnd?: string;
|
30
|
-
/**
|
31
|
-
* Execution Start Time
|
32
|
-
* @format date-time
|
33
|
-
*/
|
34
|
-
executionStart?: string;
|
35
|
-
/**
|
36
|
-
* Associated JIRA Ticket ID
|
37
|
-
*/
|
38
|
-
jiraTicketId?: string;
|
39
|
-
/**
|
40
|
-
* Pipeline Execution ID
|
41
|
-
*/
|
42
|
-
pipelineExecutionId?: string;
|
43
|
-
/**
|
44
|
-
* Pipeline ID
|
45
|
-
*/
|
46
|
-
pipelineId?: string;
|
47
|
-
/**
|
48
|
-
* Pipeline Name
|
49
|
-
*/
|
50
|
-
pipelineName?: string;
|
51
|
-
/**
|
52
|
-
* Associated PR ID
|
53
|
-
*/
|
54
|
-
prId?: string;
|
55
|
-
/**
|
56
|
-
* Service ID
|
57
|
-
*/
|
58
|
-
serviceId?: string;
|
59
|
-
/**
|
60
|
-
* Service Name
|
61
|
-
*/
|
62
|
-
serviceName?: string;
|
63
|
-
/**
|
64
|
-
* Time in Approval (in seconds)
|
65
|
-
* @format double
|
66
|
-
*/
|
67
|
-
timeInApproval?: number;
|
68
|
-
}
|
@@ -1,56 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Data structure for CI pipeline executions
|
3
|
-
*/
|
4
|
-
export interface CiPipelineData {
|
5
|
-
/**
|
6
|
-
* Artifact ID
|
7
|
-
*/
|
8
|
-
artifactId?: string;
|
9
|
-
/**
|
10
|
-
* Artifact Name
|
11
|
-
*/
|
12
|
-
artifactName?: string;
|
13
|
-
/**
|
14
|
-
* Artifact Tags
|
15
|
-
*/
|
16
|
-
artifactTags?: string[];
|
17
|
-
/**
|
18
|
-
* Artifact Version
|
19
|
-
*/
|
20
|
-
artifactVersion?: string;
|
21
|
-
/**
|
22
|
-
* Execution End Time
|
23
|
-
* @format date-time
|
24
|
-
*/
|
25
|
-
executionEnd?: string;
|
26
|
-
/**
|
27
|
-
* Execution Start Time
|
28
|
-
* @format date-time
|
29
|
-
*/
|
30
|
-
executionStart?: string;
|
31
|
-
/**
|
32
|
-
* Associated JIRA Ticket ID
|
33
|
-
*/
|
34
|
-
jiraTicketId?: string;
|
35
|
-
/**
|
36
|
-
* Pipeline Execution ID
|
37
|
-
*/
|
38
|
-
pipelineExecutionId?: string;
|
39
|
-
/**
|
40
|
-
* Pipeline ID
|
41
|
-
*/
|
42
|
-
pipelineId?: string;
|
43
|
-
/**
|
44
|
-
* Pipeline Name
|
45
|
-
*/
|
46
|
-
pipelineName?: string;
|
47
|
-
/**
|
48
|
-
* Associated PR ID
|
49
|
-
*/
|
50
|
-
prId?: string;
|
51
|
-
/**
|
52
|
-
* Time in Approval (in seconds)
|
53
|
-
* @format double
|
54
|
-
*/
|
55
|
-
timeInApproval?: number;
|
56
|
-
}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
import type { CdDeploymentData } from '../schemas/CdDeploymentData';
|
2
|
-
import type { CiPipelineData } from '../schemas/CiPipelineData';
|
3
|
-
import type { IssueManagementData } from '../schemas/IssueManagementData';
|
4
|
-
import type { PaginationInfo } from '../schemas/PaginationInfo';
|
5
|
-
import type { ScmCommitData } from '../schemas/ScmCommitData';
|
6
|
-
/**
|
7
|
-
* Response containing drilldown data for Lead Time to Change metrics
|
8
|
-
*/
|
9
|
-
export interface DoraMetricDrilldownResponse {
|
10
|
-
/**
|
11
|
-
* Type of application (IM, SCM, CI, CD)
|
12
|
-
*/
|
13
|
-
application?: 'CD' | 'CI' | 'IM' | 'SCM';
|
14
|
-
/**
|
15
|
-
* Type of application (JIRA, GITHUB, GITLAB, etc.)
|
16
|
-
*/
|
17
|
-
applicationType?: 'AZURE_DEVOPS' | 'BITBUCKET' | 'CIRCLE_CI' | 'GITHUB' | 'GITHUB_ACTIONS' | 'GITLAB' | 'JENKINS' | 'JIRA' | 'TEAMCITY' | 'TRAVIS_CI';
|
18
|
-
/**
|
19
|
-
* CD data rows, present when application is CD
|
20
|
-
*/
|
21
|
-
cdData?: CdDeploymentData[];
|
22
|
-
/**
|
23
|
-
* CI data rows, present when application is CI
|
24
|
-
*/
|
25
|
-
ciData?: CiPipelineData[];
|
26
|
-
/**
|
27
|
-
* Table headers for display
|
28
|
-
*/
|
29
|
-
headers?: string[];
|
30
|
-
/**
|
31
|
-
* Jira data rows, present when application is IM
|
32
|
-
*/
|
33
|
-
imData?: IssueManagementData[];
|
34
|
-
/**
|
35
|
-
* Pagination information
|
36
|
-
*/
|
37
|
-
pagination?: PaginationInfo;
|
38
|
-
/**
|
39
|
-
* SCM data rows, present when application is SCM
|
40
|
-
*/
|
41
|
-
scmData?: ScmCommitData[];
|
42
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Data structure for issue management
|
3
|
-
*/
|
4
|
-
export interface IssueManagementData {
|
5
|
-
/**
|
6
|
-
* Issue assignee
|
7
|
-
*/
|
8
|
-
assignee?: string[];
|
9
|
-
/**
|
10
|
-
* Created date
|
11
|
-
* @format date-time
|
12
|
-
*/
|
13
|
-
createdDate?: string;
|
14
|
-
/**
|
15
|
-
* Issue key
|
16
|
-
*/
|
17
|
-
issueKey?: string;
|
18
|
-
/**
|
19
|
-
* Issue type
|
20
|
-
*/
|
21
|
-
issueType?: string;
|
22
|
-
/**
|
23
|
-
* Lead time in seconds
|
24
|
-
* @format double
|
25
|
-
*/
|
26
|
-
leadTimeInSeconds?: number;
|
27
|
-
/**
|
28
|
-
* Issue Story points
|
29
|
-
* @format double
|
30
|
-
*/
|
31
|
-
storyPoint?: number;
|
32
|
-
/**
|
33
|
-
* Issue summary
|
34
|
-
*/
|
35
|
-
summary?: string;
|
36
|
-
}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Data structure for SCM commits
|
3
|
-
*/
|
4
|
-
export interface ScmCommitData {
|
5
|
-
/**
|
6
|
-
* Associated Jira Ticket ID
|
7
|
-
*/
|
8
|
-
jiraTicketId?: string;
|
9
|
-
/**
|
10
|
-
* PR Approved Time
|
11
|
-
* @format double
|
12
|
-
*/
|
13
|
-
prApprovedTime?: number;
|
14
|
-
/**
|
15
|
-
* PR Creation Time
|
16
|
-
* @format double
|
17
|
-
*/
|
18
|
-
prCreationTime?: number;
|
19
|
-
/**
|
20
|
-
* SCM PR ID
|
21
|
-
*/
|
22
|
-
prId?: string;
|
23
|
-
/**
|
24
|
-
* PR Merged Time
|
25
|
-
* @format double
|
26
|
-
*/
|
27
|
-
prMergedTime?: number;
|
28
|
-
/**
|
29
|
-
* PR Title
|
30
|
-
*/
|
31
|
-
prTitle?: string;
|
32
|
-
/**
|
33
|
-
* Time to First Comment
|
34
|
-
* @format double
|
35
|
-
*/
|
36
|
-
timeToFirstComment?: number;
|
37
|
-
/**
|
38
|
-
* Time to First Commit
|
39
|
-
* @format double
|
40
|
-
*/
|
41
|
-
timeToFirstCommit?: number;
|
42
|
-
}
|
/package/dist/sei-panorama-service/src/services/schemas/{CdDeploymentData.js → CodeChanges.js}
RENAMED
File without changes
|
File without changes
|