@harnessio/react-sei-panorama-service-client 0.10.20 → 0.10.22
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/useProductivityControllerGetFeatureBreakdownQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/index.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDto.d.ts +21 -2
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDto.js +3 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureRequestDto.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ProductivityRequestDto.d.ts +16 -0
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDataPoint.d.ts +0 -23
- /package/dist/sei-panorama-service/src/services/schemas/{ProductivityFeatureBreakdownResponseDataPoint.js → ProductivityRequestDto.js} +0 -0
@@ -1,12 +1,12 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
2
|
import type { ProductivityFeatureBreakdownResponseDto } from '../schemas/ProductivityFeatureBreakdownResponseDto';
|
3
|
-
import type {
|
3
|
+
import type { ProductivityRequestDto } from '../schemas/ProductivityRequestDto';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
6
|
export interface ProductivityControllerGetFeatureBreakdownQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
}
|
9
|
-
export type ProductivityControllerGetFeatureBreakdownRequestBody =
|
9
|
+
export type ProductivityControllerGetFeatureBreakdownRequestBody = ProductivityRequestDto;
|
10
10
|
export type ProductivityControllerGetFeatureBreakdownOkResponse = ResponseWithPagination<ProductivityFeatureBreakdownResponseDto>;
|
11
11
|
export type ProductivityControllerGetFeatureBreakdownErrorResponse = string;
|
12
12
|
export interface ProductivityControllerGetFeatureBreakdownProps extends Omit<FetcherOptions<ProductivityControllerGetFeatureBreakdownQueryQueryParams, ProductivityControllerGetFeatureBreakdownRequestBody>, 'url'> {
|
@@ -80,10 +80,10 @@ export type { IssueManagementData } from './schemas/IssueManagementData';
|
|
80
80
|
export type { PaginationInfo } from './schemas/PaginationInfo';
|
81
81
|
export type { PaginationRequest } from './schemas/PaginationRequest';
|
82
82
|
export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
|
83
|
-
export type { ProductivityFeatureBreakdownResponseDataPoint } from './schemas/ProductivityFeatureBreakdownResponseDataPoint';
|
84
83
|
export type { ProductivityFeatureBreakdownResponseDto } from './schemas/ProductivityFeatureBreakdownResponseDto';
|
85
84
|
export type { ProductivityFeatureRequestDto } from './schemas/ProductivityFeatureRequestDto';
|
86
85
|
export type { ProductivityFeatureResponseDto } from './schemas/ProductivityFeatureResponseDto';
|
86
|
+
export type { ProductivityRequestDto } from './schemas/ProductivityRequestDto';
|
87
87
|
export type { ScmCommitData } from './schemas/ScmCommitData';
|
88
88
|
export type { Stage } from './schemas/Stage';
|
89
89
|
export type { SummaryCard } from './schemas/SummaryCard';
|
package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureBreakdownResponseDto.d.ts
CHANGED
@@ -1,4 +1,23 @@
|
|
1
|
-
import type { ProductivityFeatureBreakdownResponseDataPoint } from '../schemas/ProductivityFeatureBreakdownResponseDataPoint';
|
2
1
|
export interface ProductivityFeatureBreakdownResponseDto {
|
3
|
-
|
2
|
+
/**
|
3
|
+
* @format int64
|
4
|
+
*/
|
5
|
+
collectionId?: number;
|
6
|
+
collectionName?: string;
|
7
|
+
/**
|
8
|
+
* @format date-time
|
9
|
+
*/
|
10
|
+
endDate?: string;
|
11
|
+
stackBy?: 'PRIORITY' | 'PR_SIZE' | 'TICKET_SIZE' | 'WORK_TYPE';
|
12
|
+
stacks?: {
|
13
|
+
[key: string]: number;
|
14
|
+
};
|
15
|
+
/**
|
16
|
+
* @format date-time
|
17
|
+
*/
|
18
|
+
startDate?: string;
|
19
|
+
/**
|
20
|
+
* @format int64
|
21
|
+
*/
|
22
|
+
totalCount?: number;
|
4
23
|
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export interface ProductivityRequestDto {
|
2
|
+
/**
|
3
|
+
* @format date-time
|
4
|
+
*/
|
5
|
+
endDate?: string;
|
6
|
+
featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_BUGS' | 'NUMBER_OF_COMMENTS_PER_PR' | 'NUMBER_OF_STORIES' | 'PR_VELOCITY';
|
7
|
+
granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
|
8
|
+
integrationIds?: number[];
|
9
|
+
integrationUserIds?: string[];
|
10
|
+
section?: 'COLLABORATION' | 'OUTPUT' | 'VOLUME';
|
11
|
+
stackBy?: 'PRIORITY' | 'PR_SIZE' | 'TICKET_SIZE' | 'WORK_TYPE';
|
12
|
+
/**
|
13
|
+
* @format date-time
|
14
|
+
*/
|
15
|
+
startDate?: string;
|
16
|
+
}
|
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.22",
|
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,23 +0,0 @@
|
|
1
|
-
export interface ProductivityFeatureBreakdownResponseDataPoint {
|
2
|
-
/**
|
3
|
-
* @format int64
|
4
|
-
*/
|
5
|
-
collectionId?: number;
|
6
|
-
collectionName?: string;
|
7
|
-
/**
|
8
|
-
* @format date-time
|
9
|
-
*/
|
10
|
-
endDate?: string;
|
11
|
-
stackBy?: 'PRIORITY' | 'PR_SIZE' | 'TICKET_SIZE' | 'WORK_TYPE';
|
12
|
-
stacks?: {
|
13
|
-
[key: string]: number;
|
14
|
-
};
|
15
|
-
/**
|
16
|
-
* @format date-time
|
17
|
-
*/
|
18
|
-
startDate?: string;
|
19
|
-
/**
|
20
|
-
* @format int64
|
21
|
-
*/
|
22
|
-
totalCount?: number;
|
23
|
-
}
|