@harnessio/react-sei-panorama-service-client 0.13.0 → 0.13.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.
Files changed (26) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownPRsQuery.d.ts +22 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownPRsQuery.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownQuery.d.ts +2 -2
  4. package/dist/sei-panorama-service/src/services/index.d.ts +8 -5
  5. package/dist/sei-panorama-service/src/services/index.js +1 -0
  6. package/dist/sei-panorama-service/src/services/schemas/CodeChanges.d.ts +14 -0
  7. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimeDrilldownResponse.d.ts +63 -0
  8. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimeDrilldownResponseWrapper.d.ts +19 -0
  9. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownRequest.d.ts +5 -0
  10. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownRequest.js +1 -0
  11. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponse.d.ts +23 -0
  12. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponse.js +1 -0
  13. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponseWrapper.d.ts +15 -0
  14. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponseWrapper.js +1 -0
  15. package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownRequest.d.ts +0 -1
  16. package/package.json +1 -1
  17. package/dist/sei-panorama-service/src/services/schemas/CdDeploymentData.d.ts +0 -68
  18. package/dist/sei-panorama-service/src/services/schemas/CiPipelineData.d.ts +0 -56
  19. package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownResponse.d.ts +0 -42
  20. package/dist/sei-panorama-service/src/services/schemas/IssueManagementData.d.ts +0 -36
  21. package/dist/sei-panorama-service/src/services/schemas/IssueManagementData.js +0 -4
  22. package/dist/sei-panorama-service/src/services/schemas/ScmCommitData.d.ts +0 -42
  23. package/dist/sei-panorama-service/src/services/schemas/ScmCommitData.js +0 -4
  24. /package/dist/sei-panorama-service/src/services/schemas/{CdDeploymentData.js → CodeChanges.js} +0 -0
  25. /package/dist/sei-panorama-service/src/services/schemas/{CiPipelineData.js → DoraLeadTimeDrilldownResponse.js} +0 -0
  26. /package/dist/sei-panorama-service/src/services/schemas/{DoraMetricDrilldownResponse.js → DoraLeadTimeDrilldownResponseWrapper.js} +0 -0
@@ -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 detailed Lead Time to Change PR data with pagination support
21
+ */
22
+ export declare function useDoraControllerLeadTimeDrilldownPRsQuery(props: DoraControllerLeadTimeDrilldownPRsProps, options?: Omit<UseQueryOptions<DoraControllerLeadTimeDrilldownPRsOkResponse, DoraControllerLeadTimeDrilldownPRsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DoraControllerLeadTimeDrilldownPRsOkResponse, string>;
@@ -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 detailed Lead Time to Change PR data with pagination support
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
+ }
@@ -1,5 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { DoraMetricDrilldownResponse } from '../schemas/DoraMetricDrilldownResponse';
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<DoraMetricDrilldownResponse>;
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;
@@ -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';
@@ -79,10 +81,9 @@ export type { ProductivityProfileControllerUpdateProfileErrorResponse, Productiv
79
81
  export { productivityProfileControllerUpdateProfile, useProductivityProfileControllerUpdateProfileMutation, } from './hooks/useProductivityProfileControllerUpdateProfileMutation';
80
82
  export type { AdditionalFilters } from './schemas/AdditionalFilters';
81
83
  export type { Category } from './schemas/Category';
82
- export type { CdDeploymentData } from './schemas/CdDeploymentData';
83
84
  export type { ChangeFailureRateConfiguration } from './schemas/ChangeFailureRateConfiguration';
84
- export type { CiPipelineData } from './schemas/CiPipelineData';
85
85
  export type { CodeChangeStats } from './schemas/CodeChangeStats';
86
+ export type { CodeChanges } from './schemas/CodeChanges';
86
87
  export type { CollectionEnriched } from './schemas/CollectionEnriched';
87
88
  export type { CollectionFilter } from './schemas/CollectionFilter';
88
89
  export type { CollectionTree } from './schemas/CollectionTree';
@@ -101,12 +102,16 @@ export type { DoraChangeFailureRateMetric } from './schemas/DoraChangeFailureRat
101
102
  export type { DoraChangeFailureRateMetricBreakdown } from './schemas/DoraChangeFailureRateMetricBreakdown';
102
103
  export type { DoraDeploymentFrequencyMetric } from './schemas/DoraDeploymentFrequencyMetric';
103
104
  export type { DoraDeploymentFrequencyMetricBreakdown } from './schemas/DoraDeploymentFrequencyMetricBreakdown';
105
+ export type { DoraLeadTimeDrilldownResponse } from './schemas/DoraLeadTimeDrilldownResponse';
106
+ export type { DoraLeadTimeDrilldownResponseWrapper } from './schemas/DoraLeadTimeDrilldownResponseWrapper';
107
+ export type { DoraLeadTimePrDrilldownRequest } from './schemas/DoraLeadTimePrDrilldownRequest';
108
+ export type { DoraLeadTimePrDrilldownResponse } from './schemas/DoraLeadTimePrDrilldownResponse';
109
+ export type { DoraLeadTimePrDrilldownResponseWrapper } from './schemas/DoraLeadTimePrDrilldownResponseWrapper';
104
110
  export type { DoraLttcMttrMetric } from './schemas/DoraLttcMttrMetric';
105
111
  export type { DoraLttcMttrMetricBreakdown } from './schemas/DoraLttcMttrMetricBreakdown';
106
112
  export type { DoraMetadata } from './schemas/DoraMetadata';
107
113
  export type { DoraMetricDrilldownFiltersResponse } from './schemas/DoraMetricDrilldownFiltersResponse';
108
114
  export type { DoraMetricDrilldownRequest } from './schemas/DoraMetricDrilldownRequest';
109
- export type { DoraMetricDrilldownResponse } from './schemas/DoraMetricDrilldownResponse';
110
115
  export type { DoraRequest } from './schemas/DoraRequest';
111
116
  export type { DoraStage } from './schemas/DoraStage';
112
117
  export type { DoraSummaryMetric } from './schemas/DoraSummaryMetric';
@@ -126,7 +131,6 @@ export type { InsightProductivitySettingsDto } from './schemas/InsightProductivi
126
131
  export type { InsightSettingsCreateRequestDto } from './schemas/InsightSettingsCreateRequestDto';
127
132
  export type { InsightSettingsResponseDto } from './schemas/InsightSettingsResponseDto';
128
133
  export type { IntegrationObject } from './schemas/IntegrationObject';
129
- export type { IssueManagementData } from './schemas/IssueManagementData';
130
134
  export type { MetricConfiguration } from './schemas/MetricConfiguration';
131
135
  export type { PaginationInfo } from './schemas/PaginationInfo';
132
136
  export type { PaginationRequest } from './schemas/PaginationRequest';
@@ -145,7 +149,6 @@ export type { ProductivityProfileCreateRequestDto } from './schemas/Productivity
145
149
  export type { ProductivityProfileResponseDto } from './schemas/ProductivityProfileResponseDto';
146
150
  export type { ProductivitySection } from './schemas/ProductivitySection';
147
151
  export type { Resolution } from './schemas/Resolution';
148
- export type { ScmCommitData } from './schemas/ScmCommitData';
149
152
  export type { Stage } from './schemas/Stage';
150
153
  export type { SummaryCard } from './schemas/SummaryCard';
151
154
  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,14 @@
1
+ export interface CodeChanges {
2
+ /**
3
+ * @format int64
4
+ */
5
+ additions?: number;
6
+ /**
7
+ * @format int64
8
+ */
9
+ deletions?: number;
10
+ /**
11
+ * @format int64
12
+ */
13
+ totalChanges?: number;
14
+ }
@@ -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 identifier
11
+ */
12
+ commitId?: 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
+ }
@@ -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,5 @@
1
+ import type { PaginationRequest } from '../schemas/PaginationRequest';
2
+ export interface DoraLeadTimePrDrilldownRequest {
3
+ pagination?: PaginationRequest;
4
+ prId: string;
5
+ }
@@ -0,0 +1,23 @@
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
+ * Comitted at
20
+ * @format date-time
21
+ */
22
+ committedAt?: string;
23
+ }
@@ -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
+ }
@@ -10,5 +10,4 @@ export interface DoraMetricDrilldownRequest {
10
10
  */
11
11
  dateStart: string;
12
12
  pagination?: PaginationRequest;
13
- stageName: string;
14
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.13.0",
3
+ "version": "0.13.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,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};
@@ -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
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- export {};