@harnessio/react-sei-panorama-service-client 0.22.3 → 0.22.5
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/index.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/ActivityDataDto.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/ActivityDataDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/BaseRatingConfig.d.ts +13 -0
- package/dist/sei-panorama-service/src/services/schemas/BaseRatingConfig.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/CfrConfigurationDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/DataPoint.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/DataPointChangeFailureRate.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/DataPointChangeFailureRate.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/DataPointDeploymentFrequency.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/DataPointDeploymentFrequency.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/DfConfigurationDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/DoraChangeFailureRateMetric.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraDeploymentFrequencyMetric.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/DoraLttcMttrMetric.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyChangeFailureRateMetricBreakdown.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyChangeFailureRateMetricBreakdown.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyDeploymentFrequencyMetricBreakdown.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyDeploymentFrequencyMetricBreakdown.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyLttcMetricBreakdown.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyMttrMetricBreakdown.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileCreateRequestDto.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileResponseDto.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationHealthStatusDto.d.ts +3 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationHealthStatusDto.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/LtcConfigurationDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/LtcStageDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/MttrConfigurationDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/MttrDataPoint.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/MttrDataPoint.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/MttrMetric.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/RankConfig.d.ts +15 -0
- package/dist/sei-panorama-service/src/services/schemas/RankConfig.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/RatingConfig.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/schemas/RatingConfig.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/RatingDto.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/schemas/RatingDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/RatingLevel.d.ts +6 -16
- package/dist/sei-panorama-service/src/services/schemas/Stage.d.ts +5 -0
- package/dist/sei-panorama-service/src/services/schemas/Stage.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/SummaryValue.d.ts +5 -0
- package/package.json +1 -1
|
@@ -293,6 +293,7 @@ export type { TeamsControllerUpdateTeamIntegrationsErrorResponse, TeamsControlle
|
|
|
293
293
|
export { teamsControllerUpdateTeamIntegrations, useTeamsControllerUpdateTeamIntegrationsMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationsMutation';
|
|
294
294
|
export type { TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamMutationPathParams, TeamsControllerUpdateTeamMutationQueryParams, TeamsControllerUpdateTeamOkResponse, TeamsControllerUpdateTeamProps, TeamsControllerUpdateTeamRequestBody, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
|
295
295
|
export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
|
296
|
+
export type { ActivityDataDto } from './schemas/ActivityDataDto';
|
|
296
297
|
export type { BaBreakdownDto } from './schemas/BaBreakdownDto';
|
|
297
298
|
export type { BaCategoryDto } from './schemas/BaCategoryDto';
|
|
298
299
|
export type { BaCategoryMetric } from './schemas/BaCategoryMetric';
|
|
@@ -313,6 +314,7 @@ export type { BaSummaryRequestDto } from './schemas/BaSummaryRequestDto';
|
|
|
313
314
|
export type { BaTeamCategoryDefinition } from './schemas/BaTeamCategoryDefinition';
|
|
314
315
|
export type { BaTeamFiltersRequest } from './schemas/BaTeamFiltersRequest';
|
|
315
316
|
export type { BaTeamWithFiltersDto } from './schemas/BaTeamWithFiltersDto';
|
|
317
|
+
export type { BaseRatingConfig } from './schemas/BaseRatingConfig';
|
|
316
318
|
export type { BreakdownRecord } from './schemas/BreakdownRecord';
|
|
317
319
|
export type { BuildInfo } from './schemas/BuildInfo';
|
|
318
320
|
export type { Category } from './schemas/Category';
|
|
@@ -483,6 +485,9 @@ export type { ProductivityV3FeatureDrilldownResponseDto } from './schemas/Produc
|
|
|
483
485
|
export type { ProductivityV3FeatureIndividualDrilldownResponseDto } from './schemas/ProductivityV3FeatureIndividualDrilldownResponseDto';
|
|
484
486
|
export type { ProductivityV3FeatureRequestDto } from './schemas/ProductivityV3FeatureRequestDto';
|
|
485
487
|
export type { ProfileSearchParams } from './schemas/ProfileSearchParams';
|
|
488
|
+
export type { RankConfig } from './schemas/RankConfig';
|
|
489
|
+
export type { RatingConfig } from './schemas/RatingConfig';
|
|
490
|
+
export type { RatingDto } from './schemas/RatingDto';
|
|
486
491
|
export type { RatingLevel } from './schemas/RatingLevel';
|
|
487
492
|
export type { RefIdDto } from './schemas/RefIdDto';
|
|
488
493
|
export type { ReleaseIssueDto } from './schemas/ReleaseIssueDto';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { RankConfig } from '../schemas/RankConfig';
|
|
2
|
+
/**
|
|
3
|
+
* Base rating configuration with rank to label mapping
|
|
4
|
+
*/
|
|
5
|
+
export interface BaseRatingConfig {
|
|
6
|
+
/**
|
|
7
|
+
* Mapping of ranks to their corresponding rank configuration
|
|
8
|
+
* @example {"1":{"label":"Elite","color":"#00FF00"},"2":{"label":"High","color":"#FFFF00"}}
|
|
9
|
+
*/
|
|
10
|
+
rankConfigMapping: {
|
|
11
|
+
[key: string]: RankConfig;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
|
|
2
|
-
import type {
|
|
2
|
+
import type { RatingConfig } from '../schemas/RatingConfig';
|
|
3
3
|
export interface CfrConfigurationDto {
|
|
4
4
|
active?: boolean;
|
|
5
5
|
failureEvent?: EfficiencyProfileEvent;
|
|
6
|
-
|
|
6
|
+
ratingConfig?: RatingConfig;
|
|
7
7
|
totalEvent?: EfficiencyProfileEvent;
|
|
8
8
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RatingDto } from '../schemas/RatingDto';
|
|
1
2
|
import type { Stage } from '../schemas/Stage';
|
|
2
3
|
export interface DataPoint {
|
|
3
4
|
/**
|
|
@@ -12,18 +13,22 @@ export interface DataPoint {
|
|
|
12
13
|
* @format double
|
|
13
14
|
*/
|
|
14
15
|
mean?: number;
|
|
16
|
+
meanRating?: RatingDto;
|
|
15
17
|
/**
|
|
16
18
|
* @format double
|
|
17
19
|
*/
|
|
18
20
|
median?: number;
|
|
21
|
+
medianRating?: RatingDto;
|
|
19
22
|
/**
|
|
20
23
|
* @format double
|
|
21
24
|
*/
|
|
22
25
|
p90?: number;
|
|
26
|
+
p90Rating?: RatingDto;
|
|
23
27
|
/**
|
|
24
28
|
* @format double
|
|
25
29
|
*/
|
|
26
30
|
p95?: number;
|
|
31
|
+
p95Rating?: RatingDto;
|
|
27
32
|
stages?: Stage[];
|
|
28
33
|
/**
|
|
29
34
|
* @format date-time
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
|
|
2
|
-
import type {
|
|
2
|
+
import type { RatingConfig } from '../schemas/RatingConfig';
|
|
3
3
|
export interface DfConfigurationDto {
|
|
4
4
|
active?: boolean;
|
|
5
5
|
event?: EfficiencyProfileEvent;
|
|
6
|
-
|
|
6
|
+
ratingConfig?: RatingConfig;
|
|
7
7
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { RatingDto } from '../schemas/RatingDto';
|
|
1
2
|
import type { DataPointChangeFailureRate } from '../schemas/DataPointChangeFailureRate';
|
|
2
3
|
export interface DoraChangeFailureRateMetric {
|
|
4
|
+
changeFailureRateRating?: RatingDto;
|
|
3
5
|
dataPoints?: DataPointChangeFailureRate[];
|
|
4
6
|
/**
|
|
5
7
|
* @format int32
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { DataPointDeploymentFrequency } from '../schemas/DataPointDeploymentFrequency';
|
|
2
|
+
import type { RatingDto } from '../schemas/RatingDto';
|
|
2
3
|
export interface DoraDeploymentFrequencyMetric {
|
|
3
4
|
dataPoints?: DataPointDeploymentFrequency[];
|
|
4
5
|
/**
|
|
5
6
|
* @format int32
|
|
6
7
|
*/
|
|
7
8
|
deploymentCount?: number;
|
|
9
|
+
deploymentCountRating?: RatingDto;
|
|
8
10
|
/**
|
|
9
11
|
* @format date-time
|
|
10
12
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DataPoint } from '../schemas/DataPoint';
|
|
2
|
+
import type { RatingDto } from '../schemas/RatingDto';
|
|
2
3
|
import type { Stage } from '../schemas/Stage';
|
|
3
4
|
export interface DoraLttcMttrMetric {
|
|
4
5
|
basedOn?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
|
|
@@ -11,18 +12,22 @@ export interface DoraLttcMttrMetric {
|
|
|
11
12
|
* @format double
|
|
12
13
|
*/
|
|
13
14
|
mean?: number;
|
|
15
|
+
meanRating?: RatingDto;
|
|
14
16
|
/**
|
|
15
17
|
* @format double
|
|
16
18
|
*/
|
|
17
19
|
median?: number;
|
|
20
|
+
medianRating?: RatingDto;
|
|
18
21
|
/**
|
|
19
22
|
* @format double
|
|
20
23
|
*/
|
|
21
24
|
p90?: number;
|
|
25
|
+
p90Rating?: RatingDto;
|
|
22
26
|
/**
|
|
23
27
|
* @format double
|
|
24
28
|
*/
|
|
25
29
|
p95?: number;
|
|
30
|
+
p95Rating?: RatingDto;
|
|
26
31
|
rating?: string;
|
|
27
32
|
stageBreakdown?: Stage[];
|
|
28
33
|
stages?: Stage[];
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { RatingDto } from '../schemas/RatingDto';
|
|
1
2
|
export interface EfficiencyDeploymentFrequencyMetricBreakdown {
|
|
2
3
|
/**
|
|
3
4
|
* @format int32
|
|
4
5
|
*/
|
|
5
6
|
deploymentCount?: number;
|
|
7
|
+
deploymentCountRating?: RatingDto;
|
|
6
8
|
teamName?: string;
|
|
7
9
|
teamRefId?: string;
|
|
8
10
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DataPoint } from '../schemas/DataPoint';
|
|
2
|
+
import type { RatingDto } from '../schemas/RatingDto';
|
|
2
3
|
import type { Stage } from '../schemas/Stage';
|
|
3
4
|
export interface EfficiencyLttcMetricBreakdown {
|
|
4
5
|
/**
|
|
@@ -14,18 +15,22 @@ export interface EfficiencyLttcMetricBreakdown {
|
|
|
14
15
|
* @format double
|
|
15
16
|
*/
|
|
16
17
|
mean?: number;
|
|
18
|
+
meanRating?: RatingDto;
|
|
17
19
|
/**
|
|
18
20
|
* @format double
|
|
19
21
|
*/
|
|
20
22
|
median?: number;
|
|
23
|
+
medianRating?: RatingDto;
|
|
21
24
|
/**
|
|
22
25
|
* @format double
|
|
23
26
|
*/
|
|
24
27
|
p90?: number;
|
|
28
|
+
p90Rating?: RatingDto;
|
|
25
29
|
/**
|
|
26
30
|
* @format double
|
|
27
31
|
*/
|
|
28
32
|
p95?: number;
|
|
33
|
+
p95Rating?: RatingDto;
|
|
29
34
|
stageBreakdown?: Stage[];
|
|
30
35
|
/**
|
|
31
36
|
* @format date-time
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { MttrDataPoint } from '../schemas/MttrDataPoint';
|
|
2
|
+
import type { RatingDto } from '../schemas/RatingDto';
|
|
2
3
|
export interface EfficiencyMttrMetricBreakdown {
|
|
3
4
|
/**
|
|
4
5
|
* @format int32
|
|
@@ -13,18 +14,22 @@ export interface EfficiencyMttrMetricBreakdown {
|
|
|
13
14
|
* @format double
|
|
14
15
|
*/
|
|
15
16
|
mean?: number;
|
|
17
|
+
meanRating?: RatingDto;
|
|
16
18
|
/**
|
|
17
19
|
* @format double
|
|
18
20
|
*/
|
|
19
21
|
median?: number;
|
|
22
|
+
medianRating?: RatingDto;
|
|
20
23
|
/**
|
|
21
24
|
* @format double
|
|
22
25
|
*/
|
|
23
26
|
p90?: number;
|
|
27
|
+
p90Rating?: RatingDto;
|
|
24
28
|
/**
|
|
25
29
|
* @format double
|
|
26
30
|
*/
|
|
27
31
|
p95?: number;
|
|
32
|
+
p95Rating?: RatingDto;
|
|
28
33
|
/**
|
|
29
34
|
* @format date-time
|
|
30
35
|
*/
|
package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileCreateRequestDto.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import type { BaseRatingConfig } from '../schemas/BaseRatingConfig';
|
|
1
2
|
import type { CfrConfigurationDto } from '../schemas/CfrConfigurationDto';
|
|
2
3
|
import type { DfConfigurationDto } from '../schemas/DfConfigurationDto';
|
|
3
4
|
import type { LtcConfigurationDto } from '../schemas/LtcConfigurationDto';
|
|
4
5
|
import type { MttrConfigurationDto } from '../schemas/MttrConfigurationDto';
|
|
5
6
|
export interface EfficiencyProfileCreateRequestDto {
|
|
7
|
+
baseRatingConfig?: BaseRatingConfig;
|
|
6
8
|
changeFailureRate?: CfrConfigurationDto;
|
|
7
9
|
deploymentFrequency?: DfConfigurationDto;
|
|
8
10
|
description?: string;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import type { BaseRatingConfig } from '../schemas/BaseRatingConfig';
|
|
1
2
|
import type { CfrConfigurationDto } from '../schemas/CfrConfigurationDto';
|
|
2
3
|
import type { DfConfigurationDto } from '../schemas/DfConfigurationDto';
|
|
3
4
|
import type { LtcConfigurationDto } from '../schemas/LtcConfigurationDto';
|
|
4
5
|
import type { MttrConfigurationDto } from '../schemas/MttrConfigurationDto';
|
|
5
6
|
import type { MinimalOrgTree } from '../schemas/MinimalOrgTree';
|
|
6
7
|
export interface EfficiencyProfileResponseDto {
|
|
8
|
+
baseRatingConfig?: BaseRatingConfig;
|
|
7
9
|
changeFailureRate?: CfrConfigurationDto;
|
|
8
10
|
/**
|
|
9
11
|
* @format int64
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { LtcStageDto } from '../schemas/LtcStageDto';
|
|
2
|
-
import type {
|
|
2
|
+
import type { RatingConfig } from '../schemas/RatingConfig';
|
|
3
3
|
export interface LtcConfigurationDto {
|
|
4
4
|
active?: boolean;
|
|
5
5
|
build?: LtcStageDto;
|
|
6
6
|
coding?: LtcStageDto;
|
|
7
7
|
deploy?: LtcStageDto;
|
|
8
8
|
planning?: LtcStageDto;
|
|
9
|
-
|
|
9
|
+
ratingConfig?: RatingConfig;
|
|
10
10
|
review?: LtcStageDto;
|
|
11
11
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
|
|
2
|
-
import type {
|
|
2
|
+
import type { RatingConfig } from '../schemas/RatingConfig';
|
|
3
3
|
export interface LtcStageDto {
|
|
4
4
|
active?: boolean;
|
|
5
5
|
displayName?: string;
|
|
6
6
|
endEvent?: EfficiencyProfileEvent;
|
|
7
7
|
name?: string;
|
|
8
|
-
|
|
8
|
+
ratingConfig?: RatingConfig;
|
|
9
9
|
startEvent?: EfficiencyProfileEvent;
|
|
10
10
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
|
|
2
|
-
import type {
|
|
2
|
+
import type { RatingConfig } from '../schemas/RatingConfig';
|
|
3
3
|
export interface MttrConfigurationDto {
|
|
4
4
|
active?: boolean;
|
|
5
5
|
event?: EfficiencyProfileEvent;
|
|
6
|
-
|
|
6
|
+
ratingConfig?: RatingConfig;
|
|
7
7
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RatingDto } from '../schemas/RatingDto';
|
|
1
2
|
export interface MttrDataPoint {
|
|
2
3
|
/**
|
|
3
4
|
* @format int32
|
|
@@ -11,18 +12,22 @@ export interface MttrDataPoint {
|
|
|
11
12
|
* @format double
|
|
12
13
|
*/
|
|
13
14
|
mean?: number;
|
|
15
|
+
meanRating?: RatingDto;
|
|
14
16
|
/**
|
|
15
17
|
* @format double
|
|
16
18
|
*/
|
|
17
19
|
median?: number;
|
|
20
|
+
medianRating?: RatingDto;
|
|
18
21
|
/**
|
|
19
22
|
* @format double
|
|
20
23
|
*/
|
|
21
24
|
p90?: number;
|
|
25
|
+
p90Rating?: RatingDto;
|
|
22
26
|
/**
|
|
23
27
|
* @format double
|
|
24
28
|
*/
|
|
25
29
|
p95?: number;
|
|
30
|
+
p95Rating?: RatingDto;
|
|
26
31
|
/**
|
|
27
32
|
* @format date-time
|
|
28
33
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { MttrDataPoint } from '../schemas/MttrDataPoint';
|
|
2
|
+
import type { RatingDto } from '../schemas/RatingDto';
|
|
2
3
|
export interface MttrMetric {
|
|
3
4
|
basedOn?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
|
|
4
5
|
dataPoints?: MttrDataPoint[];
|
|
@@ -10,18 +11,22 @@ export interface MttrMetric {
|
|
|
10
11
|
* @format double
|
|
11
12
|
*/
|
|
12
13
|
mean?: number;
|
|
14
|
+
meanRating?: RatingDto;
|
|
13
15
|
/**
|
|
14
16
|
* @format double
|
|
15
17
|
*/
|
|
16
18
|
median?: number;
|
|
19
|
+
medianRating?: RatingDto;
|
|
17
20
|
/**
|
|
18
21
|
* @format double
|
|
19
22
|
*/
|
|
20
23
|
p90?: number;
|
|
24
|
+
p90Rating?: RatingDto;
|
|
21
25
|
/**
|
|
22
26
|
* @format double
|
|
23
27
|
*/
|
|
24
28
|
p95?: number;
|
|
29
|
+
p95Rating?: RatingDto;
|
|
25
30
|
rating?: string;
|
|
26
31
|
/**
|
|
27
32
|
* @format date-time
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rank configuration with label and color
|
|
3
|
+
*/
|
|
4
|
+
export interface RankConfig {
|
|
5
|
+
/**
|
|
6
|
+
* The color associated with this rank (e.g., #00FF00 for green)
|
|
7
|
+
* @example "#00FF00"
|
|
8
|
+
*/
|
|
9
|
+
color?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The label for this rank (e.g., Elite, High, Medium, Low)
|
|
12
|
+
* @example "Elite"
|
|
13
|
+
*/
|
|
14
|
+
label: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { RatingLevel } from '../schemas/RatingLevel';
|
|
2
|
+
/**
|
|
3
|
+
* Rating configuration for maturity model scoring
|
|
4
|
+
*/
|
|
5
|
+
export interface RatingConfig {
|
|
6
|
+
/**
|
|
7
|
+
* List of rating levels for this configuration
|
|
8
|
+
*/
|
|
9
|
+
levels: RatingLevel[];
|
|
10
|
+
/**
|
|
11
|
+
* Time unit for duration-based metrics (null for percentage-based metrics like CFR)
|
|
12
|
+
* @example "DAYS"
|
|
13
|
+
*/
|
|
14
|
+
timeUnit?: 'DAYS' | 'HOURS' | 'MINUTES' | 'MONTHS' | 'WEEKS';
|
|
15
|
+
/**
|
|
16
|
+
* Unit type for this rating configuration
|
|
17
|
+
* @example "DURATION"
|
|
18
|
+
*/
|
|
19
|
+
unitType: 'COUNT' | 'DURATION' | 'PERCENTAGE';
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rating DTO containing both label and rank for a metric value
|
|
3
|
+
*/
|
|
4
|
+
export interface RatingDto {
|
|
5
|
+
/**
|
|
6
|
+
* Color associated with this rating
|
|
7
|
+
* @example "#00FF00"
|
|
8
|
+
*/
|
|
9
|
+
color?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Human-readable rating label
|
|
12
|
+
* @example "Elite"
|
|
13
|
+
*/
|
|
14
|
+
label?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Numeric rank where lower numbers indicate better performance (1 = best, 2 = good, etc.)
|
|
17
|
+
* @format int32
|
|
18
|
+
* @example 1
|
|
19
|
+
*/
|
|
20
|
+
rank?: number;
|
|
21
|
+
}
|
|
@@ -3,31 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface RatingLevel {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* @example "Elite"
|
|
8
|
-
*/
|
|
9
|
-
label: string;
|
|
10
|
-
/**
|
|
11
|
-
* Level order/rank starting from 1
|
|
12
|
-
* @format int32
|
|
13
|
-
* @example 1
|
|
14
|
-
*/
|
|
15
|
-
level?: number;
|
|
16
|
-
/**
|
|
17
|
-
* Maximum threshold value for this rating level. Can be null to represent infinity for the highest level.
|
|
6
|
+
* Maximum threshold value for this rating level. Can be null to represent infinity for the highest level. Level is exclusive of this value
|
|
18
7
|
* @format double
|
|
19
8
|
* @example 1
|
|
20
9
|
*/
|
|
21
10
|
max?: number;
|
|
22
11
|
/**
|
|
23
|
-
* Minimum threshold value for this rating level
|
|
12
|
+
* Minimum threshold value for this rating level. Level is inclusive of this value
|
|
24
13
|
* @format double
|
|
25
14
|
* @example 0
|
|
26
15
|
*/
|
|
27
16
|
min?: number;
|
|
28
17
|
/**
|
|
29
|
-
*
|
|
30
|
-
* @
|
|
18
|
+
* Rank order starting from 1
|
|
19
|
+
* @format int32
|
|
20
|
+
* @example 1
|
|
31
21
|
*/
|
|
32
|
-
|
|
22
|
+
rank?: number;
|
|
33
23
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RatingDto } from '../schemas/RatingDto';
|
|
1
2
|
export interface Stage {
|
|
2
3
|
application?: string;
|
|
3
4
|
/**
|
|
@@ -10,18 +11,22 @@ export interface Stage {
|
|
|
10
11
|
* @format double
|
|
11
12
|
*/
|
|
12
13
|
mean?: number;
|
|
14
|
+
meanRating?: RatingDto;
|
|
13
15
|
/**
|
|
14
16
|
* @format double
|
|
15
17
|
*/
|
|
16
18
|
median?: number;
|
|
19
|
+
medianRating?: RatingDto;
|
|
17
20
|
/**
|
|
18
21
|
* @format double
|
|
19
22
|
*/
|
|
20
23
|
p90?: number;
|
|
24
|
+
p90Rating?: RatingDto;
|
|
21
25
|
/**
|
|
22
26
|
* @format double
|
|
23
27
|
*/
|
|
24
28
|
p95?: number;
|
|
29
|
+
p95Rating?: RatingDto;
|
|
25
30
|
rating?: string;
|
|
26
31
|
stageKey?: string;
|
|
27
32
|
/**
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RatingDto } from '../schemas/RatingDto';
|
|
1
2
|
import type { Stage } from '../schemas/Stage';
|
|
2
3
|
export interface SummaryValue {
|
|
3
4
|
/**
|
|
@@ -12,18 +13,22 @@ export interface SummaryValue {
|
|
|
12
13
|
* @format double
|
|
13
14
|
*/
|
|
14
15
|
mean?: number;
|
|
16
|
+
meanRating?: RatingDto;
|
|
15
17
|
/**
|
|
16
18
|
* @format double
|
|
17
19
|
*/
|
|
18
20
|
median?: number;
|
|
21
|
+
medianRating?: RatingDto;
|
|
19
22
|
/**
|
|
20
23
|
* @format double
|
|
21
24
|
*/
|
|
22
25
|
p90?: number;
|
|
26
|
+
p90Rating?: RatingDto;
|
|
23
27
|
/**
|
|
24
28
|
* @format double
|
|
25
29
|
*/
|
|
26
30
|
p95?: number;
|
|
31
|
+
p95Rating?: RatingDto;
|
|
27
32
|
rating?: 'DANGER' | 'ELITE' | 'FAIR' | 'NEEDS_IMPROVEMENT' | 'SUCCESS' | 'WARNING';
|
|
28
33
|
stageBreakdown?: Stage[];
|
|
29
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.5",
|
|
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",
|