@harnessio/react-sei-panorama-service-client 0.10.16 → 0.10.17
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/useProductivityControllerGetFeatureMetricsQuery.d.ts +4 -4
- package/dist/sei-panorama-service/src/services/index.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/ProductivityDataPoint.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/{ProductivityControllerRequest.d.ts → ProductivityFeatureRequestDto.d.ts} +2 -3
- package/dist/sei-panorama-service/src/services/schemas/{ProductivityResponseDto.d.ts → ProductivityFeatureResponseDto.d.ts} +2 -2
- package/package.json +1 -1
- /package/dist/sei-panorama-service/src/services/schemas/{ProductivityControllerRequest.js → ProductivityFeatureRequestDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{ProductivityResponseDto.js → ProductivityFeatureResponseDto.js} +0 -0
@@ -1,13 +1,13 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type {
|
3
|
-
import type {
|
2
|
+
import type { ProductivityFeatureResponseDto } from '../schemas/ProductivityFeatureResponseDto';
|
3
|
+
import type { ProductivityFeatureRequestDto } from '../schemas/ProductivityFeatureRequestDto';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
6
|
export interface ProductivityControllerGetFeatureMetricsQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
}
|
9
|
-
export type ProductivityControllerGetFeatureMetricsRequestBody =
|
10
|
-
export type ProductivityControllerGetFeatureMetricsOkResponse = ResponseWithPagination<
|
9
|
+
export type ProductivityControllerGetFeatureMetricsRequestBody = ProductivityFeatureRequestDto;
|
10
|
+
export type ProductivityControllerGetFeatureMetricsOkResponse = ResponseWithPagination<ProductivityFeatureResponseDto>;
|
11
11
|
export type ProductivityControllerGetFeatureMetricsErrorResponse = string;
|
12
12
|
export interface ProductivityControllerGetFeatureMetricsProps extends Omit<FetcherOptions<ProductivityControllerGetFeatureMetricsQueryQueryParams, ProductivityControllerGetFeatureMetricsRequestBody>, 'url'> {
|
13
13
|
queryParams: ProductivityControllerGetFeatureMetricsQueryQueryParams;
|
@@ -65,9 +65,9 @@ export type { DoraRequest } from './schemas/DoraRequest';
|
|
65
65
|
export type { DoraSummaryMetric } from './schemas/DoraSummaryMetric';
|
66
66
|
export type { DoraSummaryRequest } from './schemas/DoraSummaryRequest';
|
67
67
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
68
|
-
export type { ProductivityControllerRequest } from './schemas/ProductivityControllerRequest';
|
69
68
|
export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
|
70
|
-
export type {
|
69
|
+
export type { ProductivityFeatureRequestDto } from './schemas/ProductivityFeatureRequestDto';
|
70
|
+
export type { ProductivityFeatureResponseDto } from './schemas/ProductivityFeatureResponseDto';
|
71
71
|
export type { Stage } from './schemas/Stage';
|
72
72
|
export type { SummaryCard } from './schemas/SummaryCard';
|
73
73
|
export type { SummaryValue } from './schemas/SummaryValue';
|
@@ -2,7 +2,7 @@ export interface ProductivityDataPoint {
|
|
2
2
|
/**
|
3
3
|
* @format date-time
|
4
4
|
*/
|
5
|
-
|
5
|
+
endDate?: string;
|
6
6
|
granularDataPoints?: ProductivityDataPoint[];
|
7
7
|
stackBy?: 'PRIORITY' | 'PR_SIZE' | 'TICKET_SIZE' | 'WORK_TYPE';
|
8
8
|
stacks?: {
|
@@ -11,7 +11,7 @@ export interface ProductivityDataPoint {
|
|
11
11
|
/**
|
12
12
|
* @format date-time
|
13
13
|
*/
|
14
|
-
|
14
|
+
startDate?: string;
|
15
15
|
/**
|
16
16
|
* @format int64
|
17
17
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export interface
|
1
|
+
export interface ProductivityFeatureRequestDto {
|
2
2
|
collectionRefIds?: string[];
|
3
3
|
collectionUUIDs?: string[];
|
4
4
|
contributorRefIds?: string[];
|
@@ -7,9 +7,8 @@ export interface ProductivityControllerRequest {
|
|
7
7
|
* @format date-time
|
8
8
|
*/
|
9
9
|
endDate?: string;
|
10
|
-
featureType?: 'CODING_DAYS' | 'NUMBER_OF_BUGS' | 'NUMBER_OF_STORIES' | 'PR_VELOCITY';
|
10
|
+
featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_BUGS' | 'NUMBER_OF_COMMENTS_PER_PR' | 'NUMBER_OF_STORIES' | 'PR_VELOCITY';
|
11
11
|
granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
|
12
|
-
section?: 'COLLABORATION' | 'OUTPUT' | 'VOLUME';
|
13
12
|
stackBy?: 'PRIORITY' | 'PR_SIZE' | 'TICKET_SIZE' | 'WORK_TYPE';
|
14
13
|
/**
|
15
14
|
* @format date-time
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import type { ProductivityDataPoint } from '../schemas/ProductivityDataPoint';
|
2
|
-
export interface
|
2
|
+
export interface ProductivityFeatureResponseDto {
|
3
3
|
currentData?: ProductivityDataPoint;
|
4
4
|
/**
|
5
5
|
* @format date-time
|
6
6
|
*/
|
7
7
|
endDate?: string;
|
8
|
-
featureType?: 'CODING_DAYS' | 'NUMBER_OF_BUGS' | 'NUMBER_OF_STORIES' | 'PR_VELOCITY';
|
8
|
+
featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_BUGS' | 'NUMBER_OF_COMMENTS_PER_PR' | 'NUMBER_OF_STORIES' | 'PR_VELOCITY';
|
9
9
|
granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
|
10
10
|
previousData?: ProductivityDataPoint;
|
11
11
|
section?: 'COLLABORATION' | 'OUTPUT' | 'VOLUME';
|
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.17",
|
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",
|
File without changes
|