1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | "use strict";
|
11 | Object.defineProperty(exports, "__esModule", { value: true });
|
12 | exports.TypeInfo = exports.WorkspaceMappingType = exports.ValidationResult = exports.TimelineRecordState = exports.TaskResult = exports.SupportLevel = exports.StageUpdateType = exports.SourceProviderAvailability = exports.ServiceHostStatus = exports.ScheduleDays = exports.ResultSet = exports.RepositoryCleanOptions = exports.QueuePriority = exports.QueueOptions = exports.QueryDeletedOption = exports.ProcessTemplateType = exports.IssueType = exports.GetOption = exports.FolderQueryOrder = exports.DeleteOptions = exports.DefinitionType = exports.DefinitionTriggerType = exports.DefinitionQueueStatus = exports.DefinitionQueryOrder = exports.DefinitionQuality = exports.ControllerStatus = exports.BuildStatus = exports.BuildResult = exports.BuildReason = exports.BuildQueryOrder = exports.BuildPhaseStatus = exports.BuildOptionInputType = exports.BuildAuthorizationScope = exports.AuditAction = exports.AgentStatus = void 0;
|
13 | const TFS_TestManagement_Contracts = require("../interfaces/TestInterfaces");
|
14 | const TfsCoreInterfaces = require("../interfaces/CoreInterfaces");
|
15 | var AgentStatus;
|
16 | (function (AgentStatus) {
|
17 | |
18 |
|
19 |
|
20 | AgentStatus[AgentStatus["Unavailable"] = 0] = "Unavailable";
|
21 | |
22 |
|
23 |
|
24 | AgentStatus[AgentStatus["Available"] = 1] = "Available";
|
25 | |
26 |
|
27 |
|
28 | AgentStatus[AgentStatus["Offline"] = 2] = "Offline";
|
29 | })(AgentStatus = exports.AgentStatus || (exports.AgentStatus = {}));
|
30 | var AuditAction;
|
31 | (function (AuditAction) {
|
32 | AuditAction[AuditAction["Add"] = 1] = "Add";
|
33 | AuditAction[AuditAction["Update"] = 2] = "Update";
|
34 | AuditAction[AuditAction["Delete"] = 3] = "Delete";
|
35 | })(AuditAction = exports.AuditAction || (exports.AuditAction = {}));
|
36 |
|
37 |
|
38 |
|
39 | var BuildAuthorizationScope;
|
40 | (function (BuildAuthorizationScope) {
|
41 | |
42 |
|
43 |
|
44 | BuildAuthorizationScope[BuildAuthorizationScope["ProjectCollection"] = 1] = "ProjectCollection";
|
45 | |
46 |
|
47 |
|
48 | BuildAuthorizationScope[BuildAuthorizationScope["Project"] = 2] = "Project";
|
49 | })(BuildAuthorizationScope = exports.BuildAuthorizationScope || (exports.BuildAuthorizationScope = {}));
|
50 | var BuildOptionInputType;
|
51 | (function (BuildOptionInputType) {
|
52 | BuildOptionInputType[BuildOptionInputType["String"] = 0] = "String";
|
53 | BuildOptionInputType[BuildOptionInputType["Boolean"] = 1] = "Boolean";
|
54 | BuildOptionInputType[BuildOptionInputType["StringList"] = 2] = "StringList";
|
55 | BuildOptionInputType[BuildOptionInputType["Radio"] = 3] = "Radio";
|
56 | BuildOptionInputType[BuildOptionInputType["PickList"] = 4] = "PickList";
|
57 | BuildOptionInputType[BuildOptionInputType["MultiLine"] = 5] = "MultiLine";
|
58 | BuildOptionInputType[BuildOptionInputType["BranchFilter"] = 6] = "BranchFilter";
|
59 | })(BuildOptionInputType = exports.BuildOptionInputType || (exports.BuildOptionInputType = {}));
|
60 | var BuildPhaseStatus;
|
61 | (function (BuildPhaseStatus) {
|
62 | |
63 |
|
64 |
|
65 | BuildPhaseStatus[BuildPhaseStatus["Unknown"] = 0] = "Unknown";
|
66 | |
67 |
|
68 |
|
69 | BuildPhaseStatus[BuildPhaseStatus["Failed"] = 1] = "Failed";
|
70 | |
71 |
|
72 |
|
73 | BuildPhaseStatus[BuildPhaseStatus["Succeeded"] = 2] = "Succeeded";
|
74 | })(BuildPhaseStatus = exports.BuildPhaseStatus || (exports.BuildPhaseStatus = {}));
|
75 |
|
76 |
|
77 |
|
78 | var BuildQueryOrder;
|
79 | (function (BuildQueryOrder) {
|
80 | |
81 |
|
82 |
|
83 | BuildQueryOrder[BuildQueryOrder["FinishTimeAscending"] = 2] = "FinishTimeAscending";
|
84 | |
85 |
|
86 |
|
87 | BuildQueryOrder[BuildQueryOrder["FinishTimeDescending"] = 3] = "FinishTimeDescending";
|
88 | |
89 |
|
90 |
|
91 | BuildQueryOrder[BuildQueryOrder["QueueTimeDescending"] = 4] = "QueueTimeDescending";
|
92 | |
93 |
|
94 |
|
95 | BuildQueryOrder[BuildQueryOrder["QueueTimeAscending"] = 5] = "QueueTimeAscending";
|
96 | |
97 |
|
98 |
|
99 | BuildQueryOrder[BuildQueryOrder["StartTimeDescending"] = 6] = "StartTimeDescending";
|
100 | |
101 |
|
102 |
|
103 | BuildQueryOrder[BuildQueryOrder["StartTimeAscending"] = 7] = "StartTimeAscending";
|
104 | })(BuildQueryOrder = exports.BuildQueryOrder || (exports.BuildQueryOrder = {}));
|
105 | var BuildReason;
|
106 | (function (BuildReason) {
|
107 | |
108 |
|
109 |
|
110 | BuildReason[BuildReason["None"] = 0] = "None";
|
111 | |
112 |
|
113 |
|
114 | BuildReason[BuildReason["Manual"] = 1] = "Manual";
|
115 | |
116 |
|
117 |
|
118 | BuildReason[BuildReason["IndividualCI"] = 2] = "IndividualCI";
|
119 | |
120 |
|
121 |
|
122 | BuildReason[BuildReason["BatchedCI"] = 4] = "BatchedCI";
|
123 | |
124 |
|
125 |
|
126 | BuildReason[BuildReason["Schedule"] = 8] = "Schedule";
|
127 | |
128 |
|
129 |
|
130 | BuildReason[BuildReason["ScheduleForced"] = 16] = "ScheduleForced";
|
131 | |
132 |
|
133 |
|
134 | BuildReason[BuildReason["UserCreated"] = 32] = "UserCreated";
|
135 | |
136 |
|
137 |
|
138 | BuildReason[BuildReason["ValidateShelveset"] = 64] = "ValidateShelveset";
|
139 | |
140 |
|
141 |
|
142 | BuildReason[BuildReason["CheckInShelveset"] = 128] = "CheckInShelveset";
|
143 | |
144 |
|
145 |
|
146 | BuildReason[BuildReason["PullRequest"] = 256] = "PullRequest";
|
147 | |
148 |
|
149 |
|
150 | BuildReason[BuildReason["BuildCompletion"] = 512] = "BuildCompletion";
|
151 | |
152 |
|
153 |
|
154 | BuildReason[BuildReason["ResourceTrigger"] = 1024] = "ResourceTrigger";
|
155 | |
156 |
|
157 |
|
158 | BuildReason[BuildReason["Triggered"] = 1967] = "Triggered";
|
159 | |
160 |
|
161 |
|
162 | BuildReason[BuildReason["All"] = 2031] = "All";
|
163 | })(BuildReason = exports.BuildReason || (exports.BuildReason = {}));
|
164 |
|
165 |
|
166 |
|
167 | var BuildResult;
|
168 | (function (BuildResult) {
|
169 | |
170 |
|
171 |
|
172 | BuildResult[BuildResult["None"] = 0] = "None";
|
173 | |
174 |
|
175 |
|
176 | BuildResult[BuildResult["Succeeded"] = 2] = "Succeeded";
|
177 | |
178 |
|
179 |
|
180 | BuildResult[BuildResult["PartiallySucceeded"] = 4] = "PartiallySucceeded";
|
181 | |
182 |
|
183 |
|
184 | BuildResult[BuildResult["Failed"] = 8] = "Failed";
|
185 | |
186 |
|
187 |
|
188 | BuildResult[BuildResult["Canceled"] = 32] = "Canceled";
|
189 | })(BuildResult = exports.BuildResult || (exports.BuildResult = {}));
|
190 | var BuildStatus;
|
191 | (function (BuildStatus) {
|
192 | |
193 |
|
194 |
|
195 | BuildStatus[BuildStatus["None"] = 0] = "None";
|
196 | |
197 |
|
198 |
|
199 | BuildStatus[BuildStatus["InProgress"] = 1] = "InProgress";
|
200 | |
201 |
|
202 |
|
203 | BuildStatus[BuildStatus["Completed"] = 2] = "Completed";
|
204 | |
205 |
|
206 |
|
207 | BuildStatus[BuildStatus["Cancelling"] = 4] = "Cancelling";
|
208 | |
209 |
|
210 |
|
211 | BuildStatus[BuildStatus["Postponed"] = 8] = "Postponed";
|
212 | |
213 |
|
214 |
|
215 | BuildStatus[BuildStatus["NotStarted"] = 32] = "NotStarted";
|
216 | |
217 |
|
218 |
|
219 | BuildStatus[BuildStatus["All"] = 47] = "All";
|
220 | })(BuildStatus = exports.BuildStatus || (exports.BuildStatus = {}));
|
221 | var ControllerStatus;
|
222 | (function (ControllerStatus) {
|
223 | |
224 |
|
225 |
|
226 | ControllerStatus[ControllerStatus["Unavailable"] = 0] = "Unavailable";
|
227 | |
228 |
|
229 |
|
230 | ControllerStatus[ControllerStatus["Available"] = 1] = "Available";
|
231 | |
232 |
|
233 |
|
234 | ControllerStatus[ControllerStatus["Offline"] = 2] = "Offline";
|
235 | })(ControllerStatus = exports.ControllerStatus || (exports.ControllerStatus = {}));
|
236 | var DefinitionQuality;
|
237 | (function (DefinitionQuality) {
|
238 | DefinitionQuality[DefinitionQuality["Definition"] = 1] = "Definition";
|
239 | DefinitionQuality[DefinitionQuality["Draft"] = 2] = "Draft";
|
240 | })(DefinitionQuality = exports.DefinitionQuality || (exports.DefinitionQuality = {}));
|
241 |
|
242 |
|
243 |
|
244 | var DefinitionQueryOrder;
|
245 | (function (DefinitionQueryOrder) {
|
246 | |
247 |
|
248 |
|
249 | DefinitionQueryOrder[DefinitionQueryOrder["None"] = 0] = "None";
|
250 | |
251 |
|
252 |
|
253 | DefinitionQueryOrder[DefinitionQueryOrder["LastModifiedAscending"] = 1] = "LastModifiedAscending";
|
254 | |
255 |
|
256 |
|
257 | DefinitionQueryOrder[DefinitionQueryOrder["LastModifiedDescending"] = 2] = "LastModifiedDescending";
|
258 | |
259 |
|
260 |
|
261 | DefinitionQueryOrder[DefinitionQueryOrder["DefinitionNameAscending"] = 3] = "DefinitionNameAscending";
|
262 | |
263 |
|
264 |
|
265 | DefinitionQueryOrder[DefinitionQueryOrder["DefinitionNameDescending"] = 4] = "DefinitionNameDescending";
|
266 | })(DefinitionQueryOrder = exports.DefinitionQueryOrder || (exports.DefinitionQueryOrder = {}));
|
267 | var DefinitionQueueStatus;
|
268 | (function (DefinitionQueueStatus) {
|
269 | |
270 |
|
271 |
|
272 | DefinitionQueueStatus[DefinitionQueueStatus["Enabled"] = 0] = "Enabled";
|
273 | |
274 |
|
275 |
|
276 | DefinitionQueueStatus[DefinitionQueueStatus["Paused"] = 1] = "Paused";
|
277 | |
278 |
|
279 |
|
280 | DefinitionQueueStatus[DefinitionQueueStatus["Disabled"] = 2] = "Disabled";
|
281 | })(DefinitionQueueStatus = exports.DefinitionQueueStatus || (exports.DefinitionQueueStatus = {}));
|
282 | var DefinitionTriggerType;
|
283 | (function (DefinitionTriggerType) {
|
284 | |
285 |
|
286 |
|
287 | DefinitionTriggerType[DefinitionTriggerType["None"] = 1] = "None";
|
288 | |
289 |
|
290 |
|
291 | DefinitionTriggerType[DefinitionTriggerType["ContinuousIntegration"] = 2] = "ContinuousIntegration";
|
292 | |
293 |
|
294 |
|
295 | DefinitionTriggerType[DefinitionTriggerType["BatchedContinuousIntegration"] = 4] = "BatchedContinuousIntegration";
|
296 | |
297 |
|
298 |
|
299 | DefinitionTriggerType[DefinitionTriggerType["Schedule"] = 8] = "Schedule";
|
300 | |
301 |
|
302 |
|
303 | DefinitionTriggerType[DefinitionTriggerType["GatedCheckIn"] = 16] = "GatedCheckIn";
|
304 | |
305 |
|
306 |
|
307 | DefinitionTriggerType[DefinitionTriggerType["BatchedGatedCheckIn"] = 32] = "BatchedGatedCheckIn";
|
308 | |
309 |
|
310 |
|
311 | DefinitionTriggerType[DefinitionTriggerType["PullRequest"] = 64] = "PullRequest";
|
312 | |
313 |
|
314 |
|
315 | DefinitionTriggerType[DefinitionTriggerType["BuildCompletion"] = 128] = "BuildCompletion";
|
316 | |
317 |
|
318 |
|
319 | DefinitionTriggerType[DefinitionTriggerType["All"] = 255] = "All";
|
320 | })(DefinitionTriggerType = exports.DefinitionTriggerType || (exports.DefinitionTriggerType = {}));
|
321 | var DefinitionType;
|
322 | (function (DefinitionType) {
|
323 | DefinitionType[DefinitionType["Xaml"] = 1] = "Xaml";
|
324 | DefinitionType[DefinitionType["Build"] = 2] = "Build";
|
325 | })(DefinitionType = exports.DefinitionType || (exports.DefinitionType = {}));
|
326 | var DeleteOptions;
|
327 | (function (DeleteOptions) {
|
328 | |
329 |
|
330 |
|
331 | DeleteOptions[DeleteOptions["None"] = 0] = "None";
|
332 | |
333 |
|
334 |
|
335 | DeleteOptions[DeleteOptions["DropLocation"] = 1] = "DropLocation";
|
336 | |
337 |
|
338 |
|
339 | DeleteOptions[DeleteOptions["TestResults"] = 2] = "TestResults";
|
340 | |
341 |
|
342 |
|
343 | DeleteOptions[DeleteOptions["Label"] = 4] = "Label";
|
344 | |
345 |
|
346 |
|
347 | DeleteOptions[DeleteOptions["Details"] = 8] = "Details";
|
348 | |
349 |
|
350 |
|
351 | DeleteOptions[DeleteOptions["Symbols"] = 16] = "Symbols";
|
352 | |
353 |
|
354 |
|
355 | DeleteOptions[DeleteOptions["All"] = 31] = "All";
|
356 | })(DeleteOptions = exports.DeleteOptions || (exports.DeleteOptions = {}));
|
357 |
|
358 |
|
359 |
|
360 | var FolderQueryOrder;
|
361 | (function (FolderQueryOrder) {
|
362 | |
363 |
|
364 |
|
365 | FolderQueryOrder[FolderQueryOrder["None"] = 0] = "None";
|
366 | |
367 |
|
368 |
|
369 | FolderQueryOrder[FolderQueryOrder["FolderAscending"] = 1] = "FolderAscending";
|
370 | |
371 |
|
372 |
|
373 | FolderQueryOrder[FolderQueryOrder["FolderDescending"] = 2] = "FolderDescending";
|
374 | })(FolderQueryOrder = exports.FolderQueryOrder || (exports.FolderQueryOrder = {}));
|
375 | var GetOption;
|
376 | (function (GetOption) {
|
377 | |
378 |
|
379 |
|
380 | GetOption[GetOption["LatestOnQueue"] = 0] = "LatestOnQueue";
|
381 | |
382 |
|
383 |
|
384 | GetOption[GetOption["LatestOnBuild"] = 1] = "LatestOnBuild";
|
385 | |
386 |
|
387 |
|
388 | GetOption[GetOption["Custom"] = 2] = "Custom";
|
389 | })(GetOption = exports.GetOption || (exports.GetOption = {}));
|
390 | var IssueType;
|
391 | (function (IssueType) {
|
392 | IssueType[IssueType["Error"] = 1] = "Error";
|
393 | IssueType[IssueType["Warning"] = 2] = "Warning";
|
394 | })(IssueType = exports.IssueType || (exports.IssueType = {}));
|
395 | var ProcessTemplateType;
|
396 | (function (ProcessTemplateType) {
|
397 | |
398 |
|
399 |
|
400 | ProcessTemplateType[ProcessTemplateType["Custom"] = 0] = "Custom";
|
401 | |
402 |
|
403 |
|
404 | ProcessTemplateType[ProcessTemplateType["Default"] = 1] = "Default";
|
405 | |
406 |
|
407 |
|
408 | ProcessTemplateType[ProcessTemplateType["Upgrade"] = 2] = "Upgrade";
|
409 | })(ProcessTemplateType = exports.ProcessTemplateType || (exports.ProcessTemplateType = {}));
|
410 | var QueryDeletedOption;
|
411 | (function (QueryDeletedOption) {
|
412 | |
413 |
|
414 |
|
415 | QueryDeletedOption[QueryDeletedOption["ExcludeDeleted"] = 0] = "ExcludeDeleted";
|
416 | |
417 |
|
418 |
|
419 | QueryDeletedOption[QueryDeletedOption["IncludeDeleted"] = 1] = "IncludeDeleted";
|
420 | |
421 |
|
422 |
|
423 | QueryDeletedOption[QueryDeletedOption["OnlyDeleted"] = 2] = "OnlyDeleted";
|
424 | })(QueryDeletedOption = exports.QueryDeletedOption || (exports.QueryDeletedOption = {}));
|
425 | var QueueOptions;
|
426 | (function (QueueOptions) {
|
427 | |
428 |
|
429 |
|
430 | QueueOptions[QueueOptions["None"] = 0] = "None";
|
431 | |
432 |
|
433 |
|
434 | QueueOptions[QueueOptions["DoNotRun"] = 1] = "DoNotRun";
|
435 | })(QueueOptions = exports.QueueOptions || (exports.QueueOptions = {}));
|
436 | var QueuePriority;
|
437 | (function (QueuePriority) {
|
438 | |
439 |
|
440 |
|
441 | QueuePriority[QueuePriority["Low"] = 5] = "Low";
|
442 | |
443 |
|
444 |
|
445 | QueuePriority[QueuePriority["BelowNormal"] = 4] = "BelowNormal";
|
446 | |
447 |
|
448 |
|
449 | QueuePriority[QueuePriority["Normal"] = 3] = "Normal";
|
450 | |
451 |
|
452 |
|
453 | QueuePriority[QueuePriority["AboveNormal"] = 2] = "AboveNormal";
|
454 | |
455 |
|
456 |
|
457 | QueuePriority[QueuePriority["High"] = 1] = "High";
|
458 | })(QueuePriority = exports.QueuePriority || (exports.QueuePriority = {}));
|
459 | var RepositoryCleanOptions;
|
460 | (function (RepositoryCleanOptions) {
|
461 | |
462 |
|
463 |
|
464 | RepositoryCleanOptions[RepositoryCleanOptions["Source"] = 0] = "Source";
|
465 | |
466 |
|
467 |
|
468 | RepositoryCleanOptions[RepositoryCleanOptions["SourceAndOutputDir"] = 1] = "SourceAndOutputDir";
|
469 | |
470 |
|
471 |
|
472 | RepositoryCleanOptions[RepositoryCleanOptions["SourceDir"] = 2] = "SourceDir";
|
473 | |
474 |
|
475 |
|
476 | RepositoryCleanOptions[RepositoryCleanOptions["AllBuildDir"] = 3] = "AllBuildDir";
|
477 | })(RepositoryCleanOptions = exports.RepositoryCleanOptions || (exports.RepositoryCleanOptions = {}));
|
478 | var ResultSet;
|
479 | (function (ResultSet) {
|
480 | |
481 |
|
482 |
|
483 | ResultSet[ResultSet["All"] = 0] = "All";
|
484 | |
485 |
|
486 |
|
487 | ResultSet[ResultSet["Top"] = 1] = "Top";
|
488 | })(ResultSet = exports.ResultSet || (exports.ResultSet = {}));
|
489 | var ScheduleDays;
|
490 | (function (ScheduleDays) {
|
491 | |
492 |
|
493 |
|
494 | ScheduleDays[ScheduleDays["None"] = 0] = "None";
|
495 | |
496 |
|
497 |
|
498 | ScheduleDays[ScheduleDays["Monday"] = 1] = "Monday";
|
499 | |
500 |
|
501 |
|
502 | ScheduleDays[ScheduleDays["Tuesday"] = 2] = "Tuesday";
|
503 | |
504 |
|
505 |
|
506 | ScheduleDays[ScheduleDays["Wednesday"] = 4] = "Wednesday";
|
507 | |
508 |
|
509 |
|
510 | ScheduleDays[ScheduleDays["Thursday"] = 8] = "Thursday";
|
511 | |
512 |
|
513 |
|
514 | ScheduleDays[ScheduleDays["Friday"] = 16] = "Friday";
|
515 | |
516 |
|
517 |
|
518 | ScheduleDays[ScheduleDays["Saturday"] = 32] = "Saturday";
|
519 | |
520 |
|
521 |
|
522 | ScheduleDays[ScheduleDays["Sunday"] = 64] = "Sunday";
|
523 | |
524 |
|
525 |
|
526 | ScheduleDays[ScheduleDays["All"] = 127] = "All";
|
527 | })(ScheduleDays = exports.ScheduleDays || (exports.ScheduleDays = {}));
|
528 | var ServiceHostStatus;
|
529 | (function (ServiceHostStatus) {
|
530 | |
531 |
|
532 |
|
533 | ServiceHostStatus[ServiceHostStatus["Online"] = 1] = "Online";
|
534 | |
535 |
|
536 |
|
537 | ServiceHostStatus[ServiceHostStatus["Offline"] = 2] = "Offline";
|
538 | })(ServiceHostStatus = exports.ServiceHostStatus || (exports.ServiceHostStatus = {}));
|
539 | var SourceProviderAvailability;
|
540 | (function (SourceProviderAvailability) {
|
541 | |
542 |
|
543 |
|
544 | SourceProviderAvailability[SourceProviderAvailability["Hosted"] = 1] = "Hosted";
|
545 | |
546 |
|
547 |
|
548 | SourceProviderAvailability[SourceProviderAvailability["OnPremises"] = 2] = "OnPremises";
|
549 | |
550 |
|
551 |
|
552 | SourceProviderAvailability[SourceProviderAvailability["All"] = 3] = "All";
|
553 | })(SourceProviderAvailability = exports.SourceProviderAvailability || (exports.SourceProviderAvailability = {}));
|
554 | var StageUpdateType;
|
555 | (function (StageUpdateType) {
|
556 | StageUpdateType[StageUpdateType["Cancel"] = 0] = "Cancel";
|
557 | StageUpdateType[StageUpdateType["Retry"] = 1] = "Retry";
|
558 | })(StageUpdateType = exports.StageUpdateType || (exports.StageUpdateType = {}));
|
559 | var SupportLevel;
|
560 | (function (SupportLevel) {
|
561 | |
562 |
|
563 |
|
564 | SupportLevel[SupportLevel["Unsupported"] = 0] = "Unsupported";
|
565 | |
566 |
|
567 |
|
568 | SupportLevel[SupportLevel["Supported"] = 1] = "Supported";
|
569 | |
570 |
|
571 |
|
572 | SupportLevel[SupportLevel["Required"] = 2] = "Required";
|
573 | })(SupportLevel = exports.SupportLevel || (exports.SupportLevel = {}));
|
574 | var TaskResult;
|
575 | (function (TaskResult) {
|
576 | TaskResult[TaskResult["Succeeded"] = 0] = "Succeeded";
|
577 | TaskResult[TaskResult["SucceededWithIssues"] = 1] = "SucceededWithIssues";
|
578 | TaskResult[TaskResult["Failed"] = 2] = "Failed";
|
579 | TaskResult[TaskResult["Canceled"] = 3] = "Canceled";
|
580 | TaskResult[TaskResult["Skipped"] = 4] = "Skipped";
|
581 | TaskResult[TaskResult["Abandoned"] = 5] = "Abandoned";
|
582 | })(TaskResult = exports.TaskResult || (exports.TaskResult = {}));
|
583 | var TimelineRecordState;
|
584 | (function (TimelineRecordState) {
|
585 | TimelineRecordState[TimelineRecordState["Pending"] = 0] = "Pending";
|
586 | TimelineRecordState[TimelineRecordState["InProgress"] = 1] = "InProgress";
|
587 | TimelineRecordState[TimelineRecordState["Completed"] = 2] = "Completed";
|
588 | })(TimelineRecordState = exports.TimelineRecordState || (exports.TimelineRecordState = {}));
|
589 | var ValidationResult;
|
590 | (function (ValidationResult) {
|
591 | ValidationResult[ValidationResult["OK"] = 0] = "OK";
|
592 | ValidationResult[ValidationResult["Warning"] = 1] = "Warning";
|
593 | ValidationResult[ValidationResult["Error"] = 2] = "Error";
|
594 | })(ValidationResult = exports.ValidationResult || (exports.ValidationResult = {}));
|
595 | var WorkspaceMappingType;
|
596 | (function (WorkspaceMappingType) {
|
597 | |
598 |
|
599 |
|
600 | WorkspaceMappingType[WorkspaceMappingType["Map"] = 0] = "Map";
|
601 | |
602 |
|
603 |
|
604 | WorkspaceMappingType[WorkspaceMappingType["Cloak"] = 1] = "Cloak";
|
605 | })(WorkspaceMappingType = exports.WorkspaceMappingType || (exports.WorkspaceMappingType = {}));
|
606 | exports.TypeInfo = {
|
607 | AgentStatus: {
|
608 | enumValues: {
|
609 | "unavailable": 0,
|
610 | "available": 1,
|
611 | "offline": 2
|
612 | }
|
613 | },
|
614 | AuditAction: {
|
615 | enumValues: {
|
616 | "add": 1,
|
617 | "update": 2,
|
618 | "delete": 3
|
619 | }
|
620 | },
|
621 | Build: {},
|
622 | BuildAgent: {},
|
623 | BuildAuthorizationScope: {
|
624 | enumValues: {
|
625 | "projectCollection": 1,
|
626 | "project": 2
|
627 | }
|
628 | },
|
629 | BuildCompletedEvent: {},
|
630 | BuildCompletionTrigger: {},
|
631 | BuildController: {},
|
632 | BuildDefinition: {},
|
633 | BuildDefinition3_2: {},
|
634 | BuildDefinitionReference: {},
|
635 | BuildDefinitionReference3_2: {},
|
636 | BuildDefinitionRevision: {},
|
637 | BuildDefinitionSourceProvider: {},
|
638 | BuildDefinitionTemplate: {},
|
639 | BuildDefinitionTemplate3_2: {},
|
640 | BuildDeletedEvent: {},
|
641 | BuildDeployment: {},
|
642 | BuildLog: {},
|
643 | BuildMetric: {},
|
644 | BuildOptionDefinition: {},
|
645 | BuildOptionInputDefinition: {},
|
646 | BuildOptionInputType: {
|
647 | enumValues: {
|
648 | "string": 0,
|
649 | "boolean": 1,
|
650 | "stringList": 2,
|
651 | "radio": 3,
|
652 | "pickList": 4,
|
653 | "multiLine": 5,
|
654 | "branchFilter": 6
|
655 | }
|
656 | },
|
657 | BuildPhaseStatus: {
|
658 | enumValues: {
|
659 | "unknown": 0,
|
660 | "failed": 1,
|
661 | "succeeded": 2
|
662 | }
|
663 | },
|
664 | BuildProcessTemplate: {},
|
665 | BuildQueryOrder: {
|
666 | enumValues: {
|
667 | "finishTimeAscending": 2,
|
668 | "finishTimeDescending": 3,
|
669 | "queueTimeDescending": 4,
|
670 | "queueTimeAscending": 5,
|
671 | "startTimeDescending": 6,
|
672 | "startTimeAscending": 7
|
673 | }
|
674 | },
|
675 | BuildQueuedEvent: {},
|
676 | BuildReason: {
|
677 | enumValues: {
|
678 | "none": 0,
|
679 | "manual": 1,
|
680 | "individualCI": 2,
|
681 | "batchedCI": 4,
|
682 | "schedule": 8,
|
683 | "scheduleForced": 16,
|
684 | "userCreated": 32,
|
685 | "validateShelveset": 64,
|
686 | "checkInShelveset": 128,
|
687 | "pullRequest": 256,
|
688 | "buildCompletion": 512,
|
689 | "resourceTrigger": 1024,
|
690 | "triggered": 1967,
|
691 | "all": 2031
|
692 | }
|
693 | },
|
694 | BuildReference: {},
|
695 | BuildRequestValidationResult: {},
|
696 | BuildResult: {
|
697 | enumValues: {
|
698 | "none": 0,
|
699 | "succeeded": 2,
|
700 | "partiallySucceeded": 4,
|
701 | "failed": 8,
|
702 | "canceled": 32
|
703 | }
|
704 | },
|
705 | BuildRetentionHistory: {},
|
706 | BuildRetentionSample: {},
|
707 | BuildServer: {},
|
708 | BuildStatus: {
|
709 | enumValues: {
|
710 | "none": 0,
|
711 | "inProgress": 1,
|
712 | "completed": 2,
|
713 | "cancelling": 4,
|
714 | "postponed": 8,
|
715 | "notStarted": 32,
|
716 | "all": 47
|
717 | }
|
718 | },
|
719 | BuildSummary: {},
|
720 | BuildTagsAddedEvent: {},
|
721 | BuildTrigger: {},
|
722 | BuildUpdatedEvent: {},
|
723 | Change: {},
|
724 | ContinuousDeploymentDefinition: {},
|
725 | ContinuousIntegrationTrigger: {},
|
726 | ControllerStatus: {
|
727 | enumValues: {
|
728 | "unavailable": 0,
|
729 | "available": 1,
|
730 | "offline": 2
|
731 | }
|
732 | },
|
733 | DefinitionQuality: {
|
734 | enumValues: {
|
735 | "definition": 1,
|
736 | "draft": 2
|
737 | }
|
738 | },
|
739 | DefinitionQueryOrder: {
|
740 | enumValues: {
|
741 | "none": 0,
|
742 | "lastModifiedAscending": 1,
|
743 | "lastModifiedDescending": 2,
|
744 | "definitionNameAscending": 3,
|
745 | "definitionNameDescending": 4
|
746 | }
|
747 | },
|
748 | DefinitionQueueStatus: {
|
749 | enumValues: {
|
750 | "enabled": 0,
|
751 | "paused": 1,
|
752 | "disabled": 2
|
753 | }
|
754 | },
|
755 | DefinitionReference: {},
|
756 | DefinitionTriggerType: {
|
757 | enumValues: {
|
758 | "none": 1,
|
759 | "continuousIntegration": 2,
|
760 | "batchedContinuousIntegration": 4,
|
761 | "schedule": 8,
|
762 | "gatedCheckIn": 16,
|
763 | "batchedGatedCheckIn": 32,
|
764 | "pullRequest": 64,
|
765 | "buildCompletion": 128,
|
766 | "all": 255
|
767 | }
|
768 | },
|
769 | DefinitionType: {
|
770 | enumValues: {
|
771 | "xaml": 1,
|
772 | "build": 2
|
773 | }
|
774 | },
|
775 | DeleteOptions: {
|
776 | enumValues: {
|
777 | "none": 0,
|
778 | "dropLocation": 1,
|
779 | "testResults": 2,
|
780 | "label": 4,
|
781 | "details": 8,
|
782 | "symbols": 16,
|
783 | "all": 31
|
784 | }
|
785 | },
|
786 | DesignerProcess: {},
|
787 | Folder: {},
|
788 | FolderQueryOrder: {
|
789 | enumValues: {
|
790 | "none": 0,
|
791 | "folderAscending": 1,
|
792 | "folderDescending": 2
|
793 | }
|
794 | },
|
795 | GatedCheckInTrigger: {},
|
796 | GetOption: {
|
797 | enumValues: {
|
798 | "latestOnQueue": 0,
|
799 | "latestOnBuild": 1,
|
800 | "custom": 2
|
801 | }
|
802 | },
|
803 | InformationNode: {},
|
804 | Issue: {},
|
805 | IssueType: {
|
806 | enumValues: {
|
807 | "error": 1,
|
808 | "warning": 2
|
809 | }
|
810 | },
|
811 | Phase: {},
|
812 | ProcessTemplateType: {
|
813 | enumValues: {
|
814 | "custom": 0,
|
815 | "default": 1,
|
816 | "upgrade": 2
|
817 | }
|
818 | },
|
819 | PullRequestTrigger: {},
|
820 | QueryDeletedOption: {
|
821 | enumValues: {
|
822 | "excludeDeleted": 0,
|
823 | "includeDeleted": 1,
|
824 | "onlyDeleted": 2
|
825 | }
|
826 | },
|
827 | QueueOptions: {
|
828 | enumValues: {
|
829 | "none": 0,
|
830 | "doNotRun": 1
|
831 | }
|
832 | },
|
833 | QueuePriority: {
|
834 | enumValues: {
|
835 | "low": 5,
|
836 | "belowNormal": 4,
|
837 | "normal": 3,
|
838 | "aboveNormal": 2,
|
839 | "high": 1
|
840 | }
|
841 | },
|
842 | RepositoryCleanOptions: {
|
843 | enumValues: {
|
844 | "source": 0,
|
845 | "sourceAndOutputDir": 1,
|
846 | "sourceDir": 2,
|
847 | "allBuildDir": 3
|
848 | }
|
849 | },
|
850 | RepositoryWebhook: {},
|
851 | ResultSet: {
|
852 | enumValues: {
|
853 | "all": 0,
|
854 | "top": 1
|
855 | }
|
856 | },
|
857 | RetentionLease: {},
|
858 | Schedule: {},
|
859 | ScheduleDays: {
|
860 | enumValues: {
|
861 | "none": 0,
|
862 | "monday": 1,
|
863 | "tuesday": 2,
|
864 | "wednesday": 4,
|
865 | "thursday": 8,
|
866 | "friday": 16,
|
867 | "saturday": 32,
|
868 | "sunday": 64,
|
869 | "all": 127
|
870 | }
|
871 | },
|
872 | ScheduleTrigger: {},
|
873 | ServiceHostStatus: {
|
874 | enumValues: {
|
875 | "online": 1,
|
876 | "offline": 2
|
877 | }
|
878 | },
|
879 | SourceProviderAttributes: {},
|
880 | SourceProviderAvailability: {
|
881 | enumValues: {
|
882 | "hosted": 1,
|
883 | "onPremises": 2,
|
884 | "all": 3
|
885 | }
|
886 | },
|
887 | StageUpdateType: {
|
888 | enumValues: {
|
889 | "cancel": 0,
|
890 | "retry": 1
|
891 | }
|
892 | },
|
893 | SupportedTrigger: {},
|
894 | SupportLevel: {
|
895 | enumValues: {
|
896 | "unsupported": 0,
|
897 | "supported": 1,
|
898 | "required": 2
|
899 | }
|
900 | },
|
901 | TaskResult: {
|
902 | enumValues: {
|
903 | "succeeded": 0,
|
904 | "succeededWithIssues": 1,
|
905 | "failed": 2,
|
906 | "canceled": 3,
|
907 | "skipped": 4,
|
908 | "abandoned": 5
|
909 | }
|
910 | },
|
911 | Timeline: {},
|
912 | TimelineRecord: {},
|
913 | TimelineRecordState: {
|
914 | enumValues: {
|
915 | "pending": 0,
|
916 | "inProgress": 1,
|
917 | "completed": 2
|
918 | }
|
919 | },
|
920 | TimelineRecordsUpdatedEvent: {},
|
921 | UpdateStageParameters: {},
|
922 | ValidationResult: {
|
923 | enumValues: {
|
924 | "ok": 0,
|
925 | "warning": 1,
|
926 | "error": 2
|
927 | }
|
928 | },
|
929 | WorkspaceMapping: {},
|
930 | WorkspaceMappingType: {
|
931 | enumValues: {
|
932 | "map": 0,
|
933 | "cloak": 1
|
934 | }
|
935 | },
|
936 | WorkspaceTemplate: {},
|
937 | XamlBuildDefinition: {},
|
938 | };
|
939 | exports.TypeInfo.Build.fields = {
|
940 | controller: {
|
941 | typeInfo: exports.TypeInfo.BuildController
|
942 | },
|
943 | definition: {
|
944 | typeInfo: exports.TypeInfo.DefinitionReference
|
945 | },
|
946 | deletedDate: {
|
947 | isDate: true,
|
948 | },
|
949 | finishTime: {
|
950 | isDate: true,
|
951 | },
|
952 | lastChangedDate: {
|
953 | isDate: true,
|
954 | },
|
955 | priority: {
|
956 | enumType: exports.TypeInfo.QueuePriority
|
957 | },
|
958 | project: {
|
959 | typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
|
960 | },
|
961 | queueOptions: {
|
962 | enumType: exports.TypeInfo.QueueOptions
|
963 | },
|
964 | queueTime: {
|
965 | isDate: true,
|
966 | },
|
967 | reason: {
|
968 | enumType: exports.TypeInfo.BuildReason
|
969 | },
|
970 | result: {
|
971 | enumType: exports.TypeInfo.BuildResult
|
972 | },
|
973 | startTime: {
|
974 | isDate: true,
|
975 | },
|
976 | status: {
|
977 | enumType: exports.TypeInfo.BuildStatus
|
978 | },
|
979 | triggeredByBuild: {
|
980 | typeInfo: exports.TypeInfo.Build
|
981 | },
|
982 | validationResults: {
|
983 | isArray: true,
|
984 | typeInfo: exports.TypeInfo.BuildRequestValidationResult
|
985 | }
|
986 | };
|
987 | exports.TypeInfo.BuildAgent.fields = {
|
988 | createdDate: {
|
989 | isDate: true,
|
990 | },
|
991 | status: {
|
992 | enumType: exports.TypeInfo.AgentStatus
|
993 | },
|
994 | updatedDate: {
|
995 | isDate: true,
|
996 | }
|
997 | };
|
998 | exports.TypeInfo.BuildCompletedEvent.fields = {
|
999 | build: {
|
1000 | typeInfo: exports.TypeInfo.Build
|
1001 | },
|
1002 | changes: {
|
1003 | isArray: true,
|
1004 | typeInfo: exports.TypeInfo.Change
|
1005 | },
|
1006 | testResults: {
|
1007 | typeInfo: TFS_TestManagement_Contracts.TypeInfo.AggregatedResultsAnalysis
|
1008 | },
|
1009 | timelineRecords: {
|
1010 | isArray: true,
|
1011 | typeInfo: exports.TypeInfo.TimelineRecord
|
1012 | }
|
1013 | };
|
1014 | exports.TypeInfo.BuildCompletionTrigger.fields = {
|
1015 | definition: {
|
1016 | typeInfo: exports.TypeInfo.DefinitionReference
|
1017 | },
|
1018 | triggerType: {
|
1019 | enumType: exports.TypeInfo.DefinitionTriggerType
|
1020 | }
|
1021 | };
|
1022 | exports.TypeInfo.BuildController.fields = {
|
1023 | createdDate: {
|
1024 | isDate: true,
|
1025 | },
|
1026 | status: {
|
1027 | enumType: exports.TypeInfo.ControllerStatus
|
1028 | },
|
1029 | updatedDate: {
|
1030 | isDate: true,
|
1031 | }
|
1032 | };
|
1033 | exports.TypeInfo.BuildDefinition.fields = {
|
1034 | createdDate: {
|
1035 | isDate: true,
|
1036 | },
|
1037 | draftOf: {
|
1038 | typeInfo: exports.TypeInfo.DefinitionReference
|
1039 | },
|
1040 | drafts: {
|
1041 | isArray: true,
|
1042 | typeInfo: exports.TypeInfo.DefinitionReference
|
1043 | },
|
1044 | jobAuthorizationScope: {
|
1045 | enumType: exports.TypeInfo.BuildAuthorizationScope
|
1046 | },
|
1047 | latestBuild: {
|
1048 | typeInfo: exports.TypeInfo.Build
|
1049 | },
|
1050 | latestCompletedBuild: {
|
1051 | typeInfo: exports.TypeInfo.Build
|
1052 | },
|
1053 | metrics: {
|
1054 | isArray: true,
|
1055 | typeInfo: exports.TypeInfo.BuildMetric
|
1056 | },
|
1057 | project: {
|
1058 | typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
|
1059 | },
|
1060 | quality: {
|
1061 | enumType: exports.TypeInfo.DefinitionQuality
|
1062 | },
|
1063 | queueStatus: {
|
1064 | enumType: exports.TypeInfo.DefinitionQueueStatus
|
1065 | },
|
1066 | triggers: {
|
1067 | isArray: true,
|
1068 | typeInfo: exports.TypeInfo.BuildTrigger
|
1069 | },
|
1070 | type: {
|
1071 | enumType: exports.TypeInfo.DefinitionType
|
1072 | }
|
1073 | };
|
1074 | exports.TypeInfo.BuildDefinition3_2.fields = {
|
1075 | createdDate: {
|
1076 | isDate: true,
|
1077 | },
|
1078 | draftOf: {
|
1079 | typeInfo: exports.TypeInfo.DefinitionReference
|
1080 | },
|
1081 | drafts: {
|
1082 | isArray: true,
|
1083 | typeInfo: exports.TypeInfo.DefinitionReference
|
1084 | },
|
1085 | jobAuthorizationScope: {
|
1086 | enumType: exports.TypeInfo.BuildAuthorizationScope
|
1087 | },
|
1088 | latestBuild: {
|
1089 | typeInfo: exports.TypeInfo.Build
|
1090 | },
|
1091 | latestCompletedBuild: {
|
1092 | typeInfo: exports.TypeInfo.Build
|
1093 | },
|
1094 | metrics: {
|
1095 | isArray: true,
|
1096 | typeInfo: exports.TypeInfo.BuildMetric
|
1097 | },
|
1098 | project: {
|
1099 | typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
|
1100 | },
|
1101 | quality: {
|
1102 | enumType: exports.TypeInfo.DefinitionQuality
|
1103 | },
|
1104 | queueStatus: {
|
1105 | enumType: exports.TypeInfo.DefinitionQueueStatus
|
1106 | },
|
1107 | triggers: {
|
1108 | isArray: true,
|
1109 | typeInfo: exports.TypeInfo.BuildTrigger
|
1110 | },
|
1111 | type: {
|
1112 | enumType: exports.TypeInfo.DefinitionType
|
1113 | }
|
1114 | };
|
1115 | exports.TypeInfo.BuildDefinitionReference.fields = {
|
1116 | createdDate: {
|
1117 | isDate: true,
|
1118 | },
|
1119 | draftOf: {
|
1120 | typeInfo: exports.TypeInfo.DefinitionReference
|
1121 | },
|
1122 | drafts: {
|
1123 | isArray: true,
|
1124 | typeInfo: exports.TypeInfo.DefinitionReference
|
1125 | },
|
1126 | latestBuild: {
|
1127 | typeInfo: exports.TypeInfo.Build
|
1128 | },
|
1129 | latestCompletedBuild: {
|
1130 | typeInfo: exports.TypeInfo.Build
|
1131 | },
|
1132 | metrics: {
|
1133 | isArray: true,
|
1134 | typeInfo: exports.TypeInfo.BuildMetric
|
1135 | },
|
1136 | project: {
|
1137 | typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
|
1138 | },
|
1139 | quality: {
|
1140 | enumType: exports.TypeInfo.DefinitionQuality
|
1141 | },
|
1142 | queueStatus: {
|
1143 | enumType: exports.TypeInfo.DefinitionQueueStatus
|
1144 | },
|
1145 | type: {
|
1146 | enumType: exports.TypeInfo.DefinitionType
|
1147 | }
|
1148 | };
|
1149 | exports.TypeInfo.BuildDefinitionReference3_2.fields = {
|
1150 | createdDate: {
|
1151 | isDate: true,
|
1152 | },
|
1153 | draftOf: {
|
1154 | typeInfo: exports.TypeInfo.DefinitionReference
|
1155 | },
|
1156 | drafts: {
|
1157 | isArray: true,
|
1158 | typeInfo: exports.TypeInfo.DefinitionReference
|
1159 | },
|
1160 | metrics: {
|
1161 | isArray: true,
|
1162 | typeInfo: exports.TypeInfo.BuildMetric
|
1163 | },
|
1164 | project: {
|
1165 | typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
|
1166 | },
|
1167 | quality: {
|
1168 | enumType: exports.TypeInfo.DefinitionQuality
|
1169 | },
|
1170 | queueStatus: {
|
1171 | enumType: exports.TypeInfo.DefinitionQueueStatus
|
1172 | },
|
1173 | type: {
|
1174 | enumType: exports.TypeInfo.DefinitionType
|
1175 | }
|
1176 | };
|
1177 | exports.TypeInfo.BuildDefinitionRevision.fields = {
|
1178 | changedDate: {
|
1179 | isDate: true,
|
1180 | },
|
1181 | changeType: {
|
1182 | enumType: exports.TypeInfo.AuditAction
|
1183 | }
|
1184 | };
|
1185 | exports.TypeInfo.BuildDefinitionSourceProvider.fields = {
|
1186 | lastModified: {
|
1187 | isDate: true,
|
1188 | },
|
1189 | supportedTriggerTypes: {
|
1190 | enumType: exports.TypeInfo.DefinitionTriggerType
|
1191 | }
|
1192 | };
|
1193 | exports.TypeInfo.BuildDefinitionTemplate.fields = {
|
1194 | template: {
|
1195 | typeInfo: exports.TypeInfo.BuildDefinition
|
1196 | }
|
1197 | };
|
1198 | exports.TypeInfo.BuildDefinitionTemplate3_2.fields = {
|
1199 | template: {
|
1200 | typeInfo: exports.TypeInfo.BuildDefinition3_2
|
1201 | }
|
1202 | };
|
1203 | exports.TypeInfo.BuildDeletedEvent.fields = {
|
1204 | build: {
|
1205 | typeInfo: exports.TypeInfo.Build
|
1206 | }
|
1207 | };
|
1208 | exports.TypeInfo.BuildDeployment.fields = {
|
1209 | deployment: {
|
1210 | typeInfo: exports.TypeInfo.BuildSummary
|
1211 | }
|
1212 | };
|
1213 | exports.TypeInfo.BuildLog.fields = {
|
1214 | createdOn: {
|
1215 | isDate: true,
|
1216 | },
|
1217 | lastChangedOn: {
|
1218 | isDate: true,
|
1219 | }
|
1220 | };
|
1221 | exports.TypeInfo.BuildMetric.fields = {
|
1222 | date: {
|
1223 | isDate: true,
|
1224 | }
|
1225 | };
|
1226 | exports.TypeInfo.BuildOptionDefinition.fields = {
|
1227 | inputs: {
|
1228 | isArray: true,
|
1229 | typeInfo: exports.TypeInfo.BuildOptionInputDefinition
|
1230 | }
|
1231 | };
|
1232 | exports.TypeInfo.BuildOptionInputDefinition.fields = {
|
1233 | type: {
|
1234 | enumType: exports.TypeInfo.BuildOptionInputType
|
1235 | }
|
1236 | };
|
1237 | exports.TypeInfo.BuildProcessTemplate.fields = {
|
1238 | supportedReasons: {
|
1239 | enumType: exports.TypeInfo.BuildReason
|
1240 | },
|
1241 | templateType: {
|
1242 | enumType: exports.TypeInfo.ProcessTemplateType
|
1243 | }
|
1244 | };
|
1245 | exports.TypeInfo.BuildQueuedEvent.fields = {
|
1246 | build: {
|
1247 | typeInfo: exports.TypeInfo.Build
|
1248 | }
|
1249 | };
|
1250 | exports.TypeInfo.BuildReference.fields = {
|
1251 | finishTime: {
|
1252 | isDate: true,
|
1253 | },
|
1254 | queueTime: {
|
1255 | isDate: true,
|
1256 | },
|
1257 | result: {
|
1258 | enumType: exports.TypeInfo.BuildResult
|
1259 | },
|
1260 | startTime: {
|
1261 | isDate: true,
|
1262 | },
|
1263 | status: {
|
1264 | enumType: exports.TypeInfo.BuildStatus
|
1265 | }
|
1266 | };
|
1267 | exports.TypeInfo.BuildRequestValidationResult.fields = {
|
1268 | result: {
|
1269 | enumType: exports.TypeInfo.ValidationResult
|
1270 | }
|
1271 | };
|
1272 | exports.TypeInfo.BuildRetentionHistory.fields = {
|
1273 | buildRetentionSamples: {
|
1274 | isArray: true,
|
1275 | typeInfo: exports.TypeInfo.BuildRetentionSample
|
1276 | }
|
1277 | };
|
1278 | exports.TypeInfo.BuildRetentionSample.fields = {
|
1279 | sampleTime: {
|
1280 | isDate: true,
|
1281 | }
|
1282 | };
|
1283 | exports.TypeInfo.BuildServer.fields = {
|
1284 | status: {
|
1285 | enumType: exports.TypeInfo.ServiceHostStatus
|
1286 | },
|
1287 | statusChangedDate: {
|
1288 | isDate: true,
|
1289 | }
|
1290 | };
|
1291 | exports.TypeInfo.BuildSummary.fields = {
|
1292 | finishTime: {
|
1293 | isDate: true,
|
1294 | },
|
1295 | reason: {
|
1296 | enumType: exports.TypeInfo.BuildReason
|
1297 | },
|
1298 | startTime: {
|
1299 | isDate: true,
|
1300 | },
|
1301 | status: {
|
1302 | enumType: exports.TypeInfo.BuildStatus
|
1303 | }
|
1304 | };
|
1305 | exports.TypeInfo.BuildTagsAddedEvent.fields = {
|
1306 | build: {
|
1307 | typeInfo: exports.TypeInfo.Build
|
1308 | }
|
1309 | };
|
1310 | exports.TypeInfo.BuildTrigger.fields = {
|
1311 | triggerType: {
|
1312 | enumType: exports.TypeInfo.DefinitionTriggerType
|
1313 | }
|
1314 | };
|
1315 | exports.TypeInfo.BuildUpdatedEvent.fields = {
|
1316 | build: {
|
1317 | typeInfo: exports.TypeInfo.Build
|
1318 | }
|
1319 | };
|
1320 | exports.TypeInfo.Change.fields = {
|
1321 | timestamp: {
|
1322 | isDate: true,
|
1323 | }
|
1324 | };
|
1325 | exports.TypeInfo.ContinuousDeploymentDefinition.fields = {
|
1326 | project: {
|
1327 | typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
|
1328 | }
|
1329 | };
|
1330 | exports.TypeInfo.ContinuousIntegrationTrigger.fields = {
|
1331 | triggerType: {
|
1332 | enumType: exports.TypeInfo.DefinitionTriggerType
|
1333 | }
|
1334 | };
|
1335 | exports.TypeInfo.DefinitionReference.fields = {
|
1336 | createdDate: {
|
1337 | isDate: true,
|
1338 | },
|
1339 | project: {
|
1340 | typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
|
1341 | },
|
1342 | queueStatus: {
|
1343 | enumType: exports.TypeInfo.DefinitionQueueStatus
|
1344 | },
|
1345 | type: {
|
1346 | enumType: exports.TypeInfo.DefinitionType
|
1347 | }
|
1348 | };
|
1349 | exports.TypeInfo.DesignerProcess.fields = {
|
1350 | phases: {
|
1351 | isArray: true,
|
1352 | typeInfo: exports.TypeInfo.Phase
|
1353 | }
|
1354 | };
|
1355 | exports.TypeInfo.Folder.fields = {
|
1356 | createdOn: {
|
1357 | isDate: true,
|
1358 | },
|
1359 | lastChangedDate: {
|
1360 | isDate: true,
|
1361 | },
|
1362 | project: {
|
1363 | typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
|
1364 | }
|
1365 | };
|
1366 | exports.TypeInfo.GatedCheckInTrigger.fields = {
|
1367 | triggerType: {
|
1368 | enumType: exports.TypeInfo.DefinitionTriggerType
|
1369 | }
|
1370 | };
|
1371 | exports.TypeInfo.InformationNode.fields = {
|
1372 | lastModifiedDate: {
|
1373 | isDate: true,
|
1374 | }
|
1375 | };
|
1376 | exports.TypeInfo.Issue.fields = {
|
1377 | type: {
|
1378 | enumType: exports.TypeInfo.IssueType
|
1379 | }
|
1380 | };
|
1381 | exports.TypeInfo.Phase.fields = {
|
1382 | jobAuthorizationScope: {
|
1383 | enumType: exports.TypeInfo.BuildAuthorizationScope
|
1384 | }
|
1385 | };
|
1386 | exports.TypeInfo.PullRequestTrigger.fields = {
|
1387 | triggerType: {
|
1388 | enumType: exports.TypeInfo.DefinitionTriggerType
|
1389 | }
|
1390 | };
|
1391 | exports.TypeInfo.RepositoryWebhook.fields = {
|
1392 | types: {
|
1393 | isArray: true,
|
1394 | enumType: exports.TypeInfo.DefinitionTriggerType
|
1395 | }
|
1396 | };
|
1397 | exports.TypeInfo.RetentionLease.fields = {
|
1398 | createdOn: {
|
1399 | isDate: true,
|
1400 | },
|
1401 | validUntil: {
|
1402 | isDate: true,
|
1403 | }
|
1404 | };
|
1405 | exports.TypeInfo.Schedule.fields = {
|
1406 | daysToBuild: {
|
1407 | enumType: exports.TypeInfo.ScheduleDays
|
1408 | }
|
1409 | };
|
1410 | exports.TypeInfo.ScheduleTrigger.fields = {
|
1411 | schedules: {
|
1412 | isArray: true,
|
1413 | typeInfo: exports.TypeInfo.Schedule
|
1414 | },
|
1415 | triggerType: {
|
1416 | enumType: exports.TypeInfo.DefinitionTriggerType
|
1417 | }
|
1418 | };
|
1419 | exports.TypeInfo.SourceProviderAttributes.fields = {
|
1420 | supportedTriggers: {
|
1421 | isArray: true,
|
1422 | typeInfo: exports.TypeInfo.SupportedTrigger
|
1423 | }
|
1424 | };
|
1425 | exports.TypeInfo.SupportedTrigger.fields = {
|
1426 | supportedCapabilities: {
|
1427 | isDictionary: true,
|
1428 | dictionaryValueEnumType: exports.TypeInfo.SupportLevel
|
1429 | },
|
1430 | type: {
|
1431 | enumType: exports.TypeInfo.DefinitionTriggerType
|
1432 | }
|
1433 | };
|
1434 | exports.TypeInfo.Timeline.fields = {
|
1435 | lastChangedOn: {
|
1436 | isDate: true,
|
1437 | },
|
1438 | records: {
|
1439 | isArray: true,
|
1440 | typeInfo: exports.TypeInfo.TimelineRecord
|
1441 | }
|
1442 | };
|
1443 | exports.TypeInfo.TimelineRecord.fields = {
|
1444 | finishTime: {
|
1445 | isDate: true,
|
1446 | },
|
1447 | issues: {
|
1448 | isArray: true,
|
1449 | typeInfo: exports.TypeInfo.Issue
|
1450 | },
|
1451 | lastModified: {
|
1452 | isDate: true,
|
1453 | },
|
1454 | result: {
|
1455 | enumType: exports.TypeInfo.TaskResult
|
1456 | },
|
1457 | startTime: {
|
1458 | isDate: true,
|
1459 | },
|
1460 | state: {
|
1461 | enumType: exports.TypeInfo.TimelineRecordState
|
1462 | }
|
1463 | };
|
1464 | exports.TypeInfo.TimelineRecordsUpdatedEvent.fields = {
|
1465 | timelineRecords: {
|
1466 | isArray: true,
|
1467 | typeInfo: exports.TypeInfo.TimelineRecord
|
1468 | }
|
1469 | };
|
1470 | exports.TypeInfo.UpdateStageParameters.fields = {
|
1471 | state: {
|
1472 | enumType: exports.TypeInfo.StageUpdateType
|
1473 | }
|
1474 | };
|
1475 | exports.TypeInfo.WorkspaceMapping.fields = {
|
1476 | mappingType: {
|
1477 | enumType: exports.TypeInfo.WorkspaceMappingType
|
1478 | }
|
1479 | };
|
1480 | exports.TypeInfo.WorkspaceTemplate.fields = {
|
1481 | lastModifiedDate: {
|
1482 | isDate: true,
|
1483 | },
|
1484 | mappings: {
|
1485 | isArray: true,
|
1486 | typeInfo: exports.TypeInfo.WorkspaceMapping
|
1487 | }
|
1488 | };
|
1489 | exports.TypeInfo.XamlBuildDefinition.fields = {
|
1490 | controller: {
|
1491 | typeInfo: exports.TypeInfo.BuildController
|
1492 | },
|
1493 | createdDate: {
|
1494 | isDate: true,
|
1495 | },
|
1496 | createdOn: {
|
1497 | isDate: true,
|
1498 | },
|
1499 | project: {
|
1500 | typeInfo: TfsCoreInterfaces.TypeInfo.TeamProjectReference
|
1501 | },
|
1502 | queueStatus: {
|
1503 | enumType: exports.TypeInfo.DefinitionQueueStatus
|
1504 | },
|
1505 | supportedReasons: {
|
1506 | enumType: exports.TypeInfo.BuildReason
|
1507 | },
|
1508 | triggerType: {
|
1509 | enumType: exports.TypeInfo.DefinitionTriggerType
|
1510 | },
|
1511 | type: {
|
1512 | enumType: exports.TypeInfo.DefinitionType
|
1513 | }
|
1514 | };
|