@harnessio/react-sei-panorama-service-client 0.10.12 → 0.10.14
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/useProductivityControllerPrVelocityMutation.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerPrVelocityMutation.js +1 -1
- package/dist/sei-panorama-service/src/services/index.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/DataPoint.d.ts +23 -10
- package/dist/sei-panorama-service/src/services/schemas/DataPoint.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/PrVelocityResponseDto.d.ts +3 -3
- package/dist/sei-panorama-service/src/services/schemas/ProductivityDataPoint.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityDataPoint.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SummaryValue.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/SummaryValue.js +0 -3
- package/package.json +1 -1
@@ -15,6 +15,6 @@ export interface ProductivityControllerPrVelocityProps extends Omit<FetcherOptio
|
|
15
15
|
}
|
16
16
|
export declare function productivityControllerPrVelocity(props: ProductivityControllerPrVelocityProps): Promise<ProductivityControllerPrVelocityOkResponse>;
|
17
17
|
/**
|
18
|
-
* Get
|
18
|
+
* Get PR Velocity for a collection
|
19
19
|
*/
|
20
20
|
export declare function useProductivityControllerPrVelocityMutation(options?: Omit<UseMutationOptions<ProductivityControllerPrVelocityOkResponse, ProductivityControllerPrVelocityErrorResponse, ProductivityControllerPrVelocityProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityControllerPrVelocityOkResponse, string, ProductivityControllerPrVelocityProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useProductivityControllerPrVelocityMutation.js
CHANGED
@@ -7,7 +7,7 @@ export function productivityControllerPrVelocity(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/productivity/volume/pr_velocity`, method: 'POST' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
|
-
* Get
|
10
|
+
* Get PR Velocity for a collection
|
11
11
|
*/
|
12
12
|
export function useProductivityControllerPrVelocityMutation(options) {
|
13
13
|
return useMutation((mutateProps) => productivityControllerPrVelocity(mutateProps), options);
|
@@ -67,6 +67,7 @@ export type { DoraSummaryRequest } from './schemas/DoraSummaryRequest';
|
|
67
67
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
68
68
|
export type { PrVelocityResponseDto } from './schemas/PrVelocityResponseDto';
|
69
69
|
export type { ProductivityControllerRequest } from './schemas/ProductivityControllerRequest';
|
70
|
+
export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
|
70
71
|
export type { Stage } from './schemas/Stage';
|
71
72
|
export type { SummaryCard } from './schemas/SummaryCard';
|
72
73
|
export type { SummaryValue } from './schemas/SummaryValue';
|
@@ -1,19 +1,32 @@
|
|
1
|
+
import type { Stage } from '../schemas/Stage';
|
1
2
|
export interface DataPoint {
|
2
3
|
/**
|
3
|
-
* @format
|
4
|
+
* @format int32
|
4
5
|
*/
|
5
|
-
|
6
|
-
granularDataPoints?: DataPoint[];
|
7
|
-
stackBy?: 'PR_SIZE' | 'WORK_TYPE';
|
8
|
-
stacks?: {
|
9
|
-
[key: string]: number;
|
10
|
-
};
|
6
|
+
count?: number;
|
11
7
|
/**
|
12
8
|
* @format date-time
|
13
9
|
*/
|
14
|
-
|
10
|
+
endDate?: string;
|
11
|
+
/**
|
12
|
+
* @format double
|
13
|
+
*/
|
14
|
+
mean?: number;
|
15
|
+
/**
|
16
|
+
* @format double
|
17
|
+
*/
|
18
|
+
median?: number;
|
15
19
|
/**
|
16
|
-
* @format
|
20
|
+
* @format double
|
21
|
+
*/
|
22
|
+
p90?: number;
|
23
|
+
/**
|
24
|
+
* @format double
|
25
|
+
*/
|
26
|
+
p95?: number;
|
27
|
+
stages?: Stage[];
|
28
|
+
/**
|
29
|
+
* @format date-time
|
17
30
|
*/
|
18
|
-
|
31
|
+
startDate?: string;
|
19
32
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
1
|
+
import type { ProductivityDataPoint } from '../schemas/ProductivityDataPoint';
|
2
2
|
export interface PrVelocityResponseDto {
|
3
|
-
currentData?:
|
4
|
-
previousData?:
|
3
|
+
currentData?: ProductivityDataPoint;
|
4
|
+
previousData?: ProductivityDataPoint;
|
5
5
|
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export interface ProductivityDataPoint {
|
2
|
+
/**
|
3
|
+
* @format date-time
|
4
|
+
*/
|
5
|
+
endTime?: string;
|
6
|
+
granularDataPoints?: ProductivityDataPoint[];
|
7
|
+
stackBy?: 'PR_SIZE' | 'WORK_TYPE';
|
8
|
+
stacks?: {
|
9
|
+
[key: string]: number;
|
10
|
+
};
|
11
|
+
/**
|
12
|
+
* @format date-time
|
13
|
+
*/
|
14
|
+
startTime?: string;
|
15
|
+
/**
|
16
|
+
* @format int64
|
17
|
+
*/
|
18
|
+
totalCount?: number;
|
19
|
+
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { Stage } from '../schemas/Stage';
|
1
2
|
export interface SummaryValue {
|
2
3
|
/**
|
3
4
|
* @format int32
|
@@ -24,4 +25,5 @@ export interface SummaryValue {
|
|
24
25
|
*/
|
25
26
|
p95?: number;
|
26
27
|
rating?: 'DANGER' | 'ELITE' | 'FAIR' | 'NEEDS_IMPROVEMENT' | 'SUCCESS' | 'WARNING';
|
28
|
+
stageBreakdown?: Stage[];
|
27
29
|
}
|
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.14",
|
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",
|