UNPKG

6.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.SourceControlTypes = exports.ProjectVisibility = exports.ProjectChangeType = exports.ProcessType = exports.ProcessCustomizationType = exports.ConnectedServiceKind = void 0;
13var ConnectedServiceKind;
14(function (ConnectedServiceKind) {
15 /**
16 * Custom or unknown service
17 */
18 ConnectedServiceKind[ConnectedServiceKind["Custom"] = 0] = "Custom";
19 /**
20 * Azure Subscription
21 */
22 ConnectedServiceKind[ConnectedServiceKind["AzureSubscription"] = 1] = "AzureSubscription";
23 /**
24 * Chef Connection
25 */
26 ConnectedServiceKind[ConnectedServiceKind["Chef"] = 2] = "Chef";
27 /**
28 * Generic Connection
29 */
30 ConnectedServiceKind[ConnectedServiceKind["Generic"] = 3] = "Generic";
31})(ConnectedServiceKind = exports.ConnectedServiceKind || (exports.ConnectedServiceKind = {}));
32/**
33 * Type of process customization on a collection.
34 */
35var ProcessCustomizationType;
36(function (ProcessCustomizationType) {
37 /**
38 * Process customization can't be computed.
39 */
40 ProcessCustomizationType[ProcessCustomizationType["Unknown"] = -1] = "Unknown";
41 /**
42 * Customization based on project-scoped xml customization
43 */
44 ProcessCustomizationType[ProcessCustomizationType["Xml"] = 0] = "Xml";
45 /**
46 * Customization based on process inheritance
47 */
48 ProcessCustomizationType[ProcessCustomizationType["Inherited"] = 1] = "Inherited";
49})(ProcessCustomizationType = exports.ProcessCustomizationType || (exports.ProcessCustomizationType = {}));
50var ProcessType;
51(function (ProcessType) {
52 ProcessType[ProcessType["System"] = 0] = "System";
53 ProcessType[ProcessType["Custom"] = 1] = "Custom";
54 ProcessType[ProcessType["Inherited"] = 2] = "Inherited";
55})(ProcessType = exports.ProcessType || (exports.ProcessType = {}));
56var ProjectChangeType;
57(function (ProjectChangeType) {
58 ProjectChangeType[ProjectChangeType["Modified"] = 0] = "Modified";
59 ProjectChangeType[ProjectChangeType["Deleted"] = 1] = "Deleted";
60 ProjectChangeType[ProjectChangeType["Added"] = 2] = "Added";
61})(ProjectChangeType = exports.ProjectChangeType || (exports.ProjectChangeType = {}));
62var ProjectVisibility;
63(function (ProjectVisibility) {
64 ProjectVisibility[ProjectVisibility["Unchanged"] = -1] = "Unchanged";
65 /**
66 * The project is only visible to users with explicit access.
67 */
68 ProjectVisibility[ProjectVisibility["Private"] = 0] = "Private";
69 /**
70 * Enterprise level project visibility
71 */
72 ProjectVisibility[ProjectVisibility["Organization"] = 1] = "Organization";
73 /**
74 * The project is visible to all.
75 */
76 ProjectVisibility[ProjectVisibility["Public"] = 2] = "Public";
77 ProjectVisibility[ProjectVisibility["SystemPrivate"] = 3] = "SystemPrivate";
78})(ProjectVisibility = exports.ProjectVisibility || (exports.ProjectVisibility = {}));
79var SourceControlTypes;
80(function (SourceControlTypes) {
81 SourceControlTypes[SourceControlTypes["Tfvc"] = 1] = "Tfvc";
82 SourceControlTypes[SourceControlTypes["Git"] = 2] = "Git";
83})(SourceControlTypes = exports.SourceControlTypes || (exports.SourceControlTypes = {}));
84exports.TypeInfo = {
85 ConnectedServiceKind: {
86 enumValues: {
87 "custom": 0,
88 "azureSubscription": 1,
89 "chef": 2,
90 "generic": 3
91 }
92 },
93 Process: {},
94 ProcessCustomizationType: {
95 enumValues: {
96 "unknown": -1,
97 "xml": 0,
98 "inherited": 1
99 }
100 },
101 ProcessType: {
102 enumValues: {
103 "system": 0,
104 "custom": 1,
105 "inherited": 2
106 }
107 },
108 ProjectChangeType: {
109 enumValues: {
110 "modified": 0,
111 "deleted": 1,
112 "added": 2
113 }
114 },
115 ProjectInfo: {},
116 ProjectMessage: {},
117 ProjectVisibility: {
118 enumValues: {
119 "private": 0,
120 "organization": 1,
121 "public": 2
122 }
123 },
124 SourceControlTypes: {
125 enumValues: {
126 "tfvc": 1,
127 "git": 2
128 }
129 },
130 TeamProject: {},
131 TeamProjectCollection: {},
132 TeamProjectReference: {},
133 TemporaryDataCreatedDTO: {},
134 WebApiConnectedService: {},
135 WebApiConnectedServiceDetails: {},
136 WebApiProject: {},
137};
138exports.TypeInfo.Process.fields = {
139 type: {
140 enumType: exports.TypeInfo.ProcessType
141 }
142};
143exports.TypeInfo.ProjectInfo.fields = {
144 lastUpdateTime: {
145 isDate: true,
146 },
147 visibility: {
148 enumType: exports.TypeInfo.ProjectVisibility
149 }
150};
151exports.TypeInfo.ProjectMessage.fields = {
152 project: {
153 typeInfo: exports.TypeInfo.ProjectInfo
154 },
155 projectChangeType: {
156 enumType: exports.TypeInfo.ProjectChangeType
157 }
158};
159exports.TypeInfo.TeamProject.fields = {
160 lastUpdateTime: {
161 isDate: true,
162 },
163 visibility: {
164 enumType: exports.TypeInfo.ProjectVisibility
165 }
166};
167exports.TypeInfo.TeamProjectCollection.fields = {
168 processCustomizationType: {
169 enumType: exports.TypeInfo.ProcessCustomizationType
170 }
171};
172exports.TypeInfo.TeamProjectReference.fields = {
173 lastUpdateTime: {
174 isDate: true,
175 },
176 visibility: {
177 enumType: exports.TypeInfo.ProjectVisibility
178 }
179};
180exports.TypeInfo.TemporaryDataCreatedDTO.fields = {
181 expirationDate: {
182 isDate: true,
183 }
184};
185exports.TypeInfo.WebApiConnectedService.fields = {
186 project: {
187 typeInfo: exports.TypeInfo.TeamProjectReference
188 }
189};
190exports.TypeInfo.WebApiConnectedServiceDetails.fields = {
191 connectedServiceMetaData: {
192 typeInfo: exports.TypeInfo.WebApiConnectedService
193 }
194};
195exports.TypeInfo.WebApiProject.fields = {
196 lastUpdateTime: {
197 isDate: true,
198 },
199 visibility: {
200 enumType: exports.TypeInfo.ProjectVisibility
201 }
202};