@allurereport/charts-api 3.1.0 → 3.2.0
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/constants.js +2 -2
- package/dist/types.d.ts +7 -7
- package/dist/types.js +1 -1
- package/package.json +3 -3
package/dist/constants.js
CHANGED
|
@@ -73,8 +73,8 @@ export const defaultChartsConfig = [
|
|
|
73
73
|
title: "Durations dynamics",
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
|
-
type: ChartType.
|
|
77
|
-
title: "
|
|
76
|
+
type: ChartType.StatusAgePyramid,
|
|
77
|
+
title: "Status age pyramid",
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
type: ChartType.TestingPyramid,
|
package/dist/types.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare enum ChartType {
|
|
|
5
5
|
StatusTransitions = "statusTransitions",
|
|
6
6
|
StabilityDistribution = "stabilityDistribution",
|
|
7
7
|
TestBaseGrowthDynamics = "testBaseGrowthDynamics",
|
|
8
|
-
|
|
8
|
+
StatusAgePyramid = "statusAgePyramid",
|
|
9
9
|
Durations = "durations",
|
|
10
10
|
DurationDynamics = "durationDynamics",
|
|
11
11
|
TrSeverities = "testResultSeverities",
|
|
@@ -178,8 +178,8 @@ export interface TestBaseGrowthDynamicsChartData {
|
|
|
178
178
|
})[];
|
|
179
179
|
statuses: TestStatus[];
|
|
180
180
|
}
|
|
181
|
-
export interface
|
|
182
|
-
type: ChartType.
|
|
181
|
+
export interface StatusAgePyramidChartData {
|
|
182
|
+
type: ChartType.StatusAgePyramid;
|
|
183
183
|
title?: string;
|
|
184
184
|
data: {
|
|
185
185
|
id: string;
|
|
@@ -211,7 +211,7 @@ export type DurationDynamicsChartData = {
|
|
|
211
211
|
speedup: number;
|
|
212
212
|
}[];
|
|
213
213
|
};
|
|
214
|
-
export type GeneratedChartData = TrendChartData | CurrentStatusChartData | StatusDynamicsChartData | StatusTransitionsChartData | DurationsChartData | StabilityDistributionChartData | TestBaseGrowthDynamicsChartData |
|
|
214
|
+
export type GeneratedChartData = TrendChartData | CurrentStatusChartData | StatusDynamicsChartData | StatusTransitionsChartData | DurationsChartData | StabilityDistributionChartData | TestBaseGrowthDynamicsChartData | StatusAgePyramidChartData | TreeMapChartData | HeatMapChartData | TestingPyramidChartData | TrSeveritiesChartData | DurationDynamicsChartData;
|
|
215
215
|
export type GeneratedChartsData = Record<ChartId, GeneratedChartData>;
|
|
216
216
|
export type CurrentStatusChartOptions = {
|
|
217
217
|
type: ChartType.CurrentStatus;
|
|
@@ -249,8 +249,8 @@ export type TestBaseGrowthDynamicsChartOptions = {
|
|
|
249
249
|
statuses?: TestStatus[];
|
|
250
250
|
limit?: number;
|
|
251
251
|
};
|
|
252
|
-
export type
|
|
253
|
-
type: ChartType.
|
|
252
|
+
export type StatusAgePyramidChartOptions = {
|
|
253
|
+
type: ChartType.StatusAgePyramid;
|
|
254
254
|
title?: string;
|
|
255
255
|
limit?: number;
|
|
256
256
|
};
|
|
@@ -280,7 +280,7 @@ export type TestingPyramidChartOptions = {
|
|
|
280
280
|
title?: string;
|
|
281
281
|
layers?: string[];
|
|
282
282
|
};
|
|
283
|
-
export type ChartOptions = CurrentStatusChartOptions | StatusDynamicsChartOptions | DurationsChartOptions | TreeMapChartOptions | HeatMapChartOptions | TestingPyramidChartOptions | StatusTransitionsChartOptions | StabilityDistributionChartOptions |
|
|
283
|
+
export type ChartOptions = CurrentStatusChartOptions | StatusDynamicsChartOptions | DurationsChartOptions | TreeMapChartOptions | HeatMapChartOptions | TestingPyramidChartOptions | StatusTransitionsChartOptions | StabilityDistributionChartOptions | StatusAgePyramidChartOptions | TestBaseGrowthDynamicsChartOptions | TrSeveritiesChartOptions | DurationDynamicsChartOptions;
|
|
284
284
|
export interface AllureChartsStoreData {
|
|
285
285
|
historyDataPoints: HistoryDataPoint[];
|
|
286
286
|
testResults: TestResult[];
|
package/dist/types.js
CHANGED
|
@@ -5,7 +5,7 @@ export var ChartType;
|
|
|
5
5
|
ChartType["StatusTransitions"] = "statusTransitions";
|
|
6
6
|
ChartType["StabilityDistribution"] = "stabilityDistribution";
|
|
7
7
|
ChartType["TestBaseGrowthDynamics"] = "testBaseGrowthDynamics";
|
|
8
|
-
ChartType["
|
|
8
|
+
ChartType["StatusAgePyramid"] = "statusAgePyramid";
|
|
9
9
|
ChartType["Durations"] = "durations";
|
|
10
10
|
ChartType["DurationDynamics"] = "durationDynamics";
|
|
11
11
|
ChartType["TrSeverities"] = "testResultSeverities";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allurereport/charts-api",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Allure Charts API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"allure",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"eslint:format": "eslint --fix ./src/**/*.{js,jsx,ts,tsx}"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@allurereport/core-api": "3.
|
|
31
|
-
"@allurereport/plugin-api": "3.
|
|
30
|
+
"@allurereport/core-api": "3.2.0",
|
|
31
|
+
"@allurereport/plugin-api": "3.2.0",
|
|
32
32
|
"d3-shape": "^3.2.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|