1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | "use strict";
|
11 | Object.defineProperty(exports, "__esModule", { value: true });
|
12 | exports.TypeInfo = exports.ResultPhase = exports.AggregationType = void 0;
|
13 | var AggregationType;
|
14 | (function (AggregationType) {
|
15 | AggregationType[AggregationType["Hourly"] = 0] = "Hourly";
|
16 | AggregationType[AggregationType["Daily"] = 1] = "Daily";
|
17 | })(AggregationType = exports.AggregationType || (exports.AggregationType = {}));
|
18 | var ResultPhase;
|
19 | (function (ResultPhase) {
|
20 | ResultPhase[ResultPhase["Preliminary"] = 0] = "Preliminary";
|
21 | ResultPhase[ResultPhase["Full"] = 1] = "Full";
|
22 | })(ResultPhase = exports.ResultPhase || (exports.ResultPhase = {}));
|
23 | exports.TypeInfo = {
|
24 | AggregationType: {
|
25 | enumValues: {
|
26 | "hourly": 0,
|
27 | "daily": 1
|
28 | }
|
29 | },
|
30 | CodeChangeTrendItem: {},
|
31 | ProjectActivityMetrics: {},
|
32 | ProjectLanguageAnalytics: {},
|
33 | RepositoryActivityMetrics: {},
|
34 | RepositoryLanguageAnalytics: {},
|
35 | ResultPhase: {
|
36 | enumValues: {
|
37 | "preliminary": 0,
|
38 | "full": 1
|
39 | }
|
40 | },
|
41 | };
|
42 | exports.TypeInfo.CodeChangeTrendItem.fields = {
|
43 | time: {
|
44 | isDate: true,
|
45 | }
|
46 | };
|
47 | exports.TypeInfo.ProjectActivityMetrics.fields = {
|
48 | codeChangesTrend: {
|
49 | isArray: true,
|
50 | typeInfo: exports.TypeInfo.CodeChangeTrendItem
|
51 | }
|
52 | };
|
53 | exports.TypeInfo.ProjectLanguageAnalytics.fields = {
|
54 | repositoryLanguageAnalytics: {
|
55 | isArray: true,
|
56 | typeInfo: exports.TypeInfo.RepositoryLanguageAnalytics
|
57 | },
|
58 | resultPhase: {
|
59 | enumType: exports.TypeInfo.ResultPhase
|
60 | }
|
61 | };
|
62 | exports.TypeInfo.RepositoryActivityMetrics.fields = {
|
63 | codeChangesTrend: {
|
64 | isArray: true,
|
65 | typeInfo: exports.TypeInfo.CodeChangeTrendItem
|
66 | }
|
67 | };
|
68 | exports.TypeInfo.RepositoryLanguageAnalytics.fields = {
|
69 | resultPhase: {
|
70 | enumType: exports.TypeInfo.ResultPhase
|
71 | },
|
72 | updatedTime: {
|
73 | isDate: true,
|
74 | }
|
75 | };
|