UNPKG

2.25 kBJavaScriptView Raw
1/*
2 * ---------------------------------------------------------
3 * Copyright(C) Microsoft Corporation. All rights reserved.
4 * ---------------------------------------------------------
5 *
6 * ---------------------------------------------------------
7 * Generated file, DO NOT EDIT
8 * ---------------------------------------------------------
9 */
10"use strict";
11Object.defineProperty(exports, "__esModule", { value: true });
12exports.TypeInfo = exports.ResultPhase = exports.AggregationType = void 0;
13var AggregationType;
14(function (AggregationType) {
15 AggregationType[AggregationType["Hourly"] = 0] = "Hourly";
16 AggregationType[AggregationType["Daily"] = 1] = "Daily";
17})(AggregationType = exports.AggregationType || (exports.AggregationType = {}));
18var ResultPhase;
19(function (ResultPhase) {
20 ResultPhase[ResultPhase["Preliminary"] = 0] = "Preliminary";
21 ResultPhase[ResultPhase["Full"] = 1] = "Full";
22})(ResultPhase = exports.ResultPhase || (exports.ResultPhase = {}));
23exports.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};
42exports.TypeInfo.CodeChangeTrendItem.fields = {
43 time: {
44 isDate: true,
45 }
46};
47exports.TypeInfo.ProjectActivityMetrics.fields = {
48 codeChangesTrend: {
49 isArray: true,
50 typeInfo: exports.TypeInfo.CodeChangeTrendItem
51 }
52};
53exports.TypeInfo.ProjectLanguageAnalytics.fields = {
54 repositoryLanguageAnalytics: {
55 isArray: true,
56 typeInfo: exports.TypeInfo.RepositoryLanguageAnalytics
57 },
58 resultPhase: {
59 enumType: exports.TypeInfo.ResultPhase
60 }
61};
62exports.TypeInfo.RepositoryActivityMetrics.fields = {
63 codeChangesTrend: {
64 isArray: true,
65 typeInfo: exports.TypeInfo.CodeChangeTrendItem
66 }
67};
68exports.TypeInfo.RepositoryLanguageAnalytics.fields = {
69 resultPhase: {
70 enumType: exports.TypeInfo.ResultPhase
71 },
72 updatedTime: {
73 isDate: true,
74 }
75};