@devtable/dashboard 6.2.0 → 6.3.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/dashboard.es.js +2952 -3468
- package/dist/dashboard.umd.js +19 -126
- package/dist/plugins/viz-components/viz-merico-gqm/index.d.ts +2 -0
- package/dist/plugins/viz-components/viz-merico-gqm/request/call-expert-system.d.ts +27 -0
- package/dist/plugins/viz-components/viz-merico-gqm/type.d.ts +6 -0
- package/dist/plugins/viz-components/{expert-system/viz-expert-system-panel.d.ts → viz-merico-gqm/viz-merico-gqm-panel.d.ts} +1 -1
- package/dist/plugins/viz-components/viz-merico-gqm/viz-merico-gqm.d.ts +3 -0
- package/package.json +1 -1
- package/dist/commits.structure.26a44e4e.mjs +0 -13
- package/dist/efficiency.schema.5ba0fdb1.mjs +0 -82
- package/dist/efficiency.structure.8ac41504.mjs +0 -12
- package/dist/efficiency.structure.cf755f40.mjs +0 -12
- package/dist/heatmap.structure.75d4a09a.mjs +0 -11
- package/dist/pareto.structure.64175247.mjs +0 -11
- package/dist/pareto.structure.870fcfae.mjs +0 -11
- package/dist/plugins/viz-components/expert-system/index.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/metric-set-selector.d.ts +0 -8
- package/dist/plugins/viz-components/expert-system/request/call-expert-system.d.ts +0 -6
- package/dist/plugins/viz-components/expert-system/request/payload/comparison/efficiency.d.ts +0 -10
- package/dist/plugins/viz-components/expert-system/request/payload/comparison/index.d.ts +0 -8
- package/dist/plugins/viz-components/expert-system/request/payload/dev_load/heatmap.d.ts +0 -9
- package/dist/plugins/viz-components/expert-system/request/payload/dev_load/index.d.ts +0 -14
- package/dist/plugins/viz-components/expert-system/request/payload/dev_load/pareto.d.ts +0 -9
- package/dist/plugins/viz-components/expert-system/request/payload/dev_load/productivity.d.ts +0 -11
- package/dist/plugins/viz-components/expert-system/request/payload/index.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/request/payload/performance/efficiency.d.ts +0 -10
- package/dist/plugins/viz-components/expert-system/request/payload/performance/index.d.ts +0 -31
- package/dist/plugins/viz-components/expert-system/request/payload/performance/pareto.d.ts +0 -9
- package/dist/plugins/viz-components/expert-system/request/payload/performance/quality.d.ts +0 -34
- package/dist/plugins/viz-components/expert-system/request/payload/performance/quality_history.d.ts +0 -12
- package/dist/plugins/viz-components/expert-system/request/payload/personal_report/commits.d.ts +0 -11
- package/dist/plugins/viz-components/expert-system/request/payload/personal_report/index.d.ts +0 -14
- package/dist/plugins/viz-components/expert-system/request/payload/personal_report/quality.d.ts +0 -13
- package/dist/plugins/viz-components/expert-system/request/payload/personal_report/skills.d.ts +0 -8
- package/dist/plugins/viz-components/expert-system/request/schema/comparison/efficiency.structure.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/request/schema/dev_load/heatmap.structure.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/request/schema/dev_load/pareto.structure.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/request/schema/dev_load/productivity.structure.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/request/schema/index.d.ts +0 -3
- package/dist/plugins/viz-components/expert-system/request/schema/performance/efficiency.structure.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/request/schema/performance/pareto.structure.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/request/schema/performance/quality.structure.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/request/schema/performance/quality_history.structure.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/request/schema/personal_report/commits.structure.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/request/schema/personal_report/quality.structure.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/request/schema/personal_report/skills.structure.d.ts +0 -2
- package/dist/plugins/viz-components/expert-system/request/schema-and-validation.d.ts +0 -8
- package/dist/plugins/viz-components/expert-system/scenario-selector.d.ts +0 -8
- package/dist/plugins/viz-components/expert-system/type.d.ts +0 -22
- package/dist/plugins/viz-components/expert-system/viz-expert-system.d.ts +0 -3
- package/dist/productivity.structure.1fc6f3e4.mjs +0 -13
- package/dist/quality.schema.4f5a1bc0.mjs +0 -182
- package/dist/quality.structure.b1ac00db.mjs +0 -15
- package/dist/quality.structure.bb057537.mjs +0 -19
- package/dist/quality_history.schema.5c04f870.mjs +0 -118
- package/dist/quality_history.structure.ffc4ca11.mjs +0 -24
- package/dist/skills.structure.8ceda40e.mjs +0 -10
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AnyObject } from '~/types';
|
|
2
|
+
import { IMericoGQMConf } from '../type';
|
|
3
|
+
interface IExpertSystemReply {
|
|
4
|
+
dashboard: string;
|
|
5
|
+
panel: string;
|
|
6
|
+
actor: string;
|
|
7
|
+
interpretation: {
|
|
8
|
+
json: {
|
|
9
|
+
hint: string;
|
|
10
|
+
message: string;
|
|
11
|
+
};
|
|
12
|
+
html: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
interface IExpertSystemResponse {
|
|
16
|
+
query_id: string;
|
|
17
|
+
submitted: string;
|
|
18
|
+
replied: string;
|
|
19
|
+
replies: Array<IExpertSystemReply>;
|
|
20
|
+
}
|
|
21
|
+
interface ICallExpertSystem {
|
|
22
|
+
baseURL?: string;
|
|
23
|
+
conf: IMericoGQMConf;
|
|
24
|
+
data: AnyObject[];
|
|
25
|
+
}
|
|
26
|
+
export declare const callExpertSystem: ({ conf, data }: ICallExpertSystem) => () => Promise<IExpertSystemResponse | undefined>;
|
|
27
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
const e = "array", t = "Root Schema", a = {
|
|
2
|
-
type: "object",
|
|
3
|
-
default: {},
|
|
4
|
-
title: "A Schema",
|
|
5
|
-
required: [
|
|
6
|
-
"actor",
|
|
7
|
-
"eloc_type",
|
|
8
|
-
"ref_date",
|
|
9
|
-
"eloc"
|
|
10
|
-
],
|
|
11
|
-
properties: {
|
|
12
|
-
actor: {
|
|
13
|
-
type: "string",
|
|
14
|
-
default: "",
|
|
15
|
-
title: "The actor Schema",
|
|
16
|
-
examples: [
|
|
17
|
-
"Name of the subject"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
eloc_type: {
|
|
21
|
-
type: "string",
|
|
22
|
-
default: "",
|
|
23
|
-
title: "The eloc_type Schema",
|
|
24
|
-
enum: [
|
|
25
|
-
"new",
|
|
26
|
-
"accumulated"
|
|
27
|
-
],
|
|
28
|
-
examples: [
|
|
29
|
-
"new"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
ref_date: {
|
|
33
|
-
type: "string",
|
|
34
|
-
default: "",
|
|
35
|
-
title: "The ref_date Schema",
|
|
36
|
-
examples: [
|
|
37
|
-
"2021-12-31"
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
eloc: {
|
|
41
|
-
type: [
|
|
42
|
-
"number",
|
|
43
|
-
"string"
|
|
44
|
-
],
|
|
45
|
-
default: 0,
|
|
46
|
-
title: "The eloc Schema",
|
|
47
|
-
examples: [
|
|
48
|
-
999
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
examples: [
|
|
53
|
-
{
|
|
54
|
-
actor: "Name of the subject",
|
|
55
|
-
eloc_type: "new",
|
|
56
|
-
ref_date: "2021-12-31",
|
|
57
|
-
eloc: 999
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}, c = [
|
|
61
|
-
[
|
|
62
|
-
{
|
|
63
|
-
actor: "Name of the subject",
|
|
64
|
-
eloc_type: "new",
|
|
65
|
-
ref_date: "2021-12-31",
|
|
66
|
-
eloc: 999
|
|
67
|
-
}
|
|
68
|
-
]
|
|
69
|
-
], l = {
|
|
70
|
-
type: e,
|
|
71
|
-
default: [],
|
|
72
|
-
title: t,
|
|
73
|
-
items: a,
|
|
74
|
-
examples: c
|
|
75
|
-
};
|
|
76
|
-
export {
|
|
77
|
-
l as default,
|
|
78
|
-
c as examples,
|
|
79
|
-
a as items,
|
|
80
|
-
t as title,
|
|
81
|
-
e as type
|
|
82
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { EMetricSet, IExpertSystemConf } from './type';
|
|
3
|
-
interface IMetricSetSelector {
|
|
4
|
-
conf: IExpertSystemConf;
|
|
5
|
-
setConfByKey: (key: string, val: EMetricSet) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const MetricSetSelector: ({ conf, setConfByKey }: IMetricSetSelector) => JSX.Element;
|
|
8
|
-
export {};
|
package/dist/plugins/viz-components/expert-system/request/payload/comparison/efficiency.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare type TDataForComparisonEfficiency = {
|
|
2
|
-
name?: string;
|
|
3
|
-
actor: string;
|
|
4
|
-
eloc_type: 'accumulated' | 'new';
|
|
5
|
-
ref_date: string;
|
|
6
|
-
eloc: number;
|
|
7
|
-
};
|
|
8
|
-
export declare function comparison_efficiency(data: TDataForComparisonEfficiency[]): {
|
|
9
|
-
efficiency: any[];
|
|
10
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IExpertSystemConf } from '../../../type';
|
|
2
|
-
import { TDataForComparisonEfficiency } from './efficiency';
|
|
3
|
-
export declare type TComparisonData = $TSFixMe | TDataForComparisonEfficiency[];
|
|
4
|
-
export declare function buildPayloadForComparison(conf: IExpertSystemConf, data: TComparisonData): {
|
|
5
|
-
comparison: {
|
|
6
|
-
efficiency: any[];
|
|
7
|
-
};
|
|
8
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IExpertSystemConf } from '../../../type';
|
|
2
|
-
import { TDataForHeatmap } from './heatmap';
|
|
3
|
-
import { TDataForPareto } from './pareto';
|
|
4
|
-
import { TDataForProductivity } from './productivity';
|
|
5
|
-
export declare type TDevLoadData = $TSFixMe | TDataForProductivity[] | TDataForHeatmap[] | TDataForPareto[];
|
|
6
|
-
export declare function buildPayloadForDevLoad(conf: IExpertSystemConf, data: TDevLoadData): {
|
|
7
|
-
dev_load: {
|
|
8
|
-
productivity: any[];
|
|
9
|
-
} | {
|
|
10
|
-
heatmap: any[];
|
|
11
|
-
} | {
|
|
12
|
-
pareto: any[];
|
|
13
|
-
};
|
|
14
|
-
};
|
package/dist/plugins/viz-components/expert-system/request/payload/dev_load/productivity.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare type TDataForProductivity = {
|
|
2
|
-
name?: string;
|
|
3
|
-
actor: string;
|
|
4
|
-
ref_date: string;
|
|
5
|
-
baseline: number;
|
|
6
|
-
eloc: number;
|
|
7
|
-
eloc_type: 'current' | 'previous';
|
|
8
|
-
};
|
|
9
|
-
export declare function dev_load_productivity(data: TDataForProductivity[]): {
|
|
10
|
-
productivity: any[];
|
|
11
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { IExpertSystemConf } from '../../../type';
|
|
2
|
-
import { TDataForQuality } from './quality';
|
|
3
|
-
export declare type TPerformanceData = $TSFixMe | TDataForQuality[];
|
|
4
|
-
export declare function buildPayloadForPerformance(conf: IExpertSystemConf, data: TPerformanceData): {
|
|
5
|
-
performance: {
|
|
6
|
-
quality: {
|
|
7
|
-
actor: string;
|
|
8
|
-
actor_type: string;
|
|
9
|
-
code: {
|
|
10
|
-
issues: {
|
|
11
|
-
blocker: number;
|
|
12
|
-
critical: number;
|
|
13
|
-
info: number;
|
|
14
|
-
major: number;
|
|
15
|
-
minor: number;
|
|
16
|
-
};
|
|
17
|
-
doc_coverage: number;
|
|
18
|
-
test_coverage: number;
|
|
19
|
-
dryness: number;
|
|
20
|
-
modularity: number;
|
|
21
|
-
issues_density: number;
|
|
22
|
-
};
|
|
23
|
-
}[];
|
|
24
|
-
} | {
|
|
25
|
-
quality_history: any[];
|
|
26
|
-
} | {
|
|
27
|
-
efficiency: any[];
|
|
28
|
-
} | {
|
|
29
|
-
pareto: any[];
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare type TDataForQuality = {
|
|
2
|
-
name?: string;
|
|
3
|
-
actor: string;
|
|
4
|
-
doc_coverage: number;
|
|
5
|
-
test_coverage: number;
|
|
6
|
-
dryness: number;
|
|
7
|
-
modularity: number;
|
|
8
|
-
issues_density: number;
|
|
9
|
-
issues_blocker: number;
|
|
10
|
-
issues_critical: number;
|
|
11
|
-
issues_info: number;
|
|
12
|
-
issues_major: number;
|
|
13
|
-
issues_minor: number;
|
|
14
|
-
};
|
|
15
|
-
export declare function performance_quality(data: TDataForQuality[]): {
|
|
16
|
-
quality: {
|
|
17
|
-
actor: string;
|
|
18
|
-
actor_type: string;
|
|
19
|
-
code: {
|
|
20
|
-
issues: {
|
|
21
|
-
blocker: number;
|
|
22
|
-
critical: number;
|
|
23
|
-
info: number;
|
|
24
|
-
major: number;
|
|
25
|
-
minor: number;
|
|
26
|
-
};
|
|
27
|
-
doc_coverage: number;
|
|
28
|
-
test_coverage: number;
|
|
29
|
-
dryness: number;
|
|
30
|
-
modularity: number;
|
|
31
|
-
issues_density: number;
|
|
32
|
-
};
|
|
33
|
-
}[];
|
|
34
|
-
};
|
package/dist/plugins/viz-components/expert-system/request/payload/performance/quality_history.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare type TDataForQualityHistory = {
|
|
2
|
-
name?: string;
|
|
3
|
-
actor: string;
|
|
4
|
-
val_type: 'doc_coverage' | 'test_coverage' | 'dryness' | 'modularity' | 'blocker_issues' | 'critical_issues' | 'major_issues' | 'minor_issues' | 'info_issues' | 'issues_density';
|
|
5
|
-
baseline_lower: number;
|
|
6
|
-
baseline_upper: number;
|
|
7
|
-
ref_date: string;
|
|
8
|
-
val: number;
|
|
9
|
-
};
|
|
10
|
-
export declare function performance_quality_history(data: TDataForQualityHistory[]): {
|
|
11
|
-
quality_history: any[];
|
|
12
|
-
};
|
package/dist/plugins/viz-components/expert-system/request/payload/personal_report/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IExpertSystemConf } from '../../../type';
|
|
2
|
-
import { TDataForPersonalReportQuality } from './quality';
|
|
3
|
-
import { TDataForCommits } from './commits';
|
|
4
|
-
import { TDataForSkills } from './skills';
|
|
5
|
-
export declare type TPersonalReportData = $TSFixMe | TDataForSkills[] | TDataForPersonalReportQuality[] | TDataForCommits[];
|
|
6
|
-
export declare function buildPayloadForPersonalReport(conf: IExpertSystemConf, data: TPersonalReportData): {
|
|
7
|
-
personal_report: {
|
|
8
|
-
skills: any[];
|
|
9
|
-
} | {
|
|
10
|
-
quality: any[];
|
|
11
|
-
} | {
|
|
12
|
-
commits: any[];
|
|
13
|
-
};
|
|
14
|
-
};
|
package/dist/plugins/viz-components/expert-system/request/payload/personal_report/quality.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare type TDataForPersonalReportQuality = {
|
|
2
|
-
name?: string;
|
|
3
|
-
actor: string;
|
|
4
|
-
code_issue_density: number;
|
|
5
|
-
code_test_coverage: number;
|
|
6
|
-
code_doc_coverage: number;
|
|
7
|
-
baseline_issue_density: number;
|
|
8
|
-
baseline_test_coverage: number;
|
|
9
|
-
baseline_doc_coverage: number;
|
|
10
|
-
};
|
|
11
|
-
export declare function personal_report_quality(data: TDataForPersonalReportQuality[]): {
|
|
12
|
-
quality: any[];
|
|
13
|
-
};
|
package/dist/plugins/viz-components/expert-system/request/schema/performance/quality.structure.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: "\n{\n actor: string;\n doc_coverage: number;\n test_coverage: number;\n dryness: number;\n modularity: number;\n issues_density: number;\n\n issues_blocker: number;\n issues_critical: number;\n issues_info: number;\n issues_major: number;\n issues_minor: number;\n}\n";
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: "\n{\n name?: string;\n actor: string;\n val_type:\n | 'doc_coverage'\n | 'test_coverage'\n | 'dryness'\n | 'modularity'\n | 'blocker_issues'\n | 'critical_issues'\n | 'major_issues'\n | 'minor_issues'\n | 'info_issues'\n | 'issues_density';\n baseline_lower: number;\n baseline_upper: number;\n ref_date: string;\n val: number;\n}\n";
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: "\n{\n name?: string;\n actor: string;\n code_issue_density: number;\n code_test_coverage: number;\n code_doc_coverage: number;\n baseline_issue_density: number;\n baseline_test_coverage: number;\n baseline_doc_coverage: number;\n}\n";
|
|
2
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IExpertSystemConf } from '../type';
|
|
3
|
-
interface ISchemaAndValidation {
|
|
4
|
-
conf: IExpertSystemConf;
|
|
5
|
-
data: $TSFixMe[];
|
|
6
|
-
}
|
|
7
|
-
export declare function SchemaAndValidation({ conf, data }: ISchemaAndValidation): JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { EExperSystemScenario, IExpertSystemConf } from './type';
|
|
3
|
-
interface IScenarioSelector {
|
|
4
|
-
conf: IExpertSystemConf;
|
|
5
|
-
setConfByKey: (key: string, value: EExperSystemScenario) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const ScenarioSelector: ({ conf, setConfByKey }: IScenarioSelector) => JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare enum EExperSystemScenario {
|
|
2
|
-
dev_load = "dev_load",
|
|
3
|
-
personal_report = "personal_report",
|
|
4
|
-
performance = "performance",
|
|
5
|
-
comparison = "comparison"
|
|
6
|
-
}
|
|
7
|
-
export declare enum EMetricSet {
|
|
8
|
-
productivity = "productivity",
|
|
9
|
-
pareto = "pareto",
|
|
10
|
-
heatmap = "heatmap",
|
|
11
|
-
skills = "skills",
|
|
12
|
-
commits = "commits",
|
|
13
|
-
quality = "quality",
|
|
14
|
-
quality_history = "quality_history",
|
|
15
|
-
efficiency = "efficiency"
|
|
16
|
-
}
|
|
17
|
-
export interface IExpertSystemConf {
|
|
18
|
-
expertSystemURL: string;
|
|
19
|
-
scenario: EExperSystemScenario;
|
|
20
|
-
metric_set: EMetricSet;
|
|
21
|
-
}
|
|
22
|
-
export declare const DEFAULT_CONFIG: IExpertSystemConf;
|