1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | "use strict";
|
11 | Object.defineProperty(exports, "__esModule", { value: true });
|
12 | exports.TypeInfo = exports.SourceControlTypes = exports.ProjectVisibility = exports.ProjectChangeType = exports.ProcessType = exports.ProcessCustomizationType = exports.ConnectedServiceKind = void 0;
|
13 | var ConnectedServiceKind;
|
14 | (function (ConnectedServiceKind) {
|
15 | |
16 |
|
17 |
|
18 | ConnectedServiceKind[ConnectedServiceKind["Custom"] = 0] = "Custom";
|
19 | |
20 |
|
21 |
|
22 | ConnectedServiceKind[ConnectedServiceKind["AzureSubscription"] = 1] = "AzureSubscription";
|
23 | |
24 |
|
25 |
|
26 | ConnectedServiceKind[ConnectedServiceKind["Chef"] = 2] = "Chef";
|
27 | |
28 |
|
29 |
|
30 | ConnectedServiceKind[ConnectedServiceKind["Generic"] = 3] = "Generic";
|
31 | })(ConnectedServiceKind = exports.ConnectedServiceKind || (exports.ConnectedServiceKind = {}));
|
32 |
|
33 |
|
34 |
|
35 | var ProcessCustomizationType;
|
36 | (function (ProcessCustomizationType) {
|
37 | |
38 |
|
39 |
|
40 | ProcessCustomizationType[ProcessCustomizationType["Unknown"] = -1] = "Unknown";
|
41 | |
42 |
|
43 |
|
44 | ProcessCustomizationType[ProcessCustomizationType["Xml"] = 0] = "Xml";
|
45 | |
46 |
|
47 |
|
48 | ProcessCustomizationType[ProcessCustomizationType["Inherited"] = 1] = "Inherited";
|
49 | })(ProcessCustomizationType = exports.ProcessCustomizationType || (exports.ProcessCustomizationType = {}));
|
50 | var 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 = {}));
|
56 | var 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 = {}));
|
62 | var ProjectVisibility;
|
63 | (function (ProjectVisibility) {
|
64 | ProjectVisibility[ProjectVisibility["Unchanged"] = -1] = "Unchanged";
|
65 | |
66 |
|
67 |
|
68 | ProjectVisibility[ProjectVisibility["Private"] = 0] = "Private";
|
69 | |
70 |
|
71 |
|
72 | ProjectVisibility[ProjectVisibility["Organization"] = 1] = "Organization";
|
73 | |
74 |
|
75 |
|
76 | ProjectVisibility[ProjectVisibility["Public"] = 2] = "Public";
|
77 | ProjectVisibility[ProjectVisibility["SystemPrivate"] = 3] = "SystemPrivate";
|
78 | })(ProjectVisibility = exports.ProjectVisibility || (exports.ProjectVisibility = {}));
|
79 | var SourceControlTypes;
|
80 | (function (SourceControlTypes) {
|
81 | SourceControlTypes[SourceControlTypes["Tfvc"] = 1] = "Tfvc";
|
82 | SourceControlTypes[SourceControlTypes["Git"] = 2] = "Git";
|
83 | })(SourceControlTypes = exports.SourceControlTypes || (exports.SourceControlTypes = {}));
|
84 | exports.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 | };
|
138 | exports.TypeInfo.Process.fields = {
|
139 | type: {
|
140 | enumType: exports.TypeInfo.ProcessType
|
141 | }
|
142 | };
|
143 | exports.TypeInfo.ProjectInfo.fields = {
|
144 | lastUpdateTime: {
|
145 | isDate: true,
|
146 | },
|
147 | visibility: {
|
148 | enumType: exports.TypeInfo.ProjectVisibility
|
149 | }
|
150 | };
|
151 | exports.TypeInfo.ProjectMessage.fields = {
|
152 | project: {
|
153 | typeInfo: exports.TypeInfo.ProjectInfo
|
154 | },
|
155 | projectChangeType: {
|
156 | enumType: exports.TypeInfo.ProjectChangeType
|
157 | }
|
158 | };
|
159 | exports.TypeInfo.TeamProject.fields = {
|
160 | lastUpdateTime: {
|
161 | isDate: true,
|
162 | },
|
163 | visibility: {
|
164 | enumType: exports.TypeInfo.ProjectVisibility
|
165 | }
|
166 | };
|
167 | exports.TypeInfo.TeamProjectCollection.fields = {
|
168 | processCustomizationType: {
|
169 | enumType: exports.TypeInfo.ProcessCustomizationType
|
170 | }
|
171 | };
|
172 | exports.TypeInfo.TeamProjectReference.fields = {
|
173 | lastUpdateTime: {
|
174 | isDate: true,
|
175 | },
|
176 | visibility: {
|
177 | enumType: exports.TypeInfo.ProjectVisibility
|
178 | }
|
179 | };
|
180 | exports.TypeInfo.TemporaryDataCreatedDTO.fields = {
|
181 | expirationDate: {
|
182 | isDate: true,
|
183 | }
|
184 | };
|
185 | exports.TypeInfo.WebApiConnectedService.fields = {
|
186 | project: {
|
187 | typeInfo: exports.TypeInfo.TeamProjectReference
|
188 | }
|
189 | };
|
190 | exports.TypeInfo.WebApiConnectedServiceDetails.fields = {
|
191 | connectedServiceMetaData: {
|
192 | typeInfo: exports.TypeInfo.WebApiConnectedService
|
193 | }
|
194 | };
|
195 | exports.TypeInfo.WebApiProject.fields = {
|
196 | lastUpdateTime: {
|
197 | isDate: true,
|
198 | },
|
199 | visibility: {
|
200 | enumType: exports.TypeInfo.ProjectVisibility
|
201 | }
|
202 | };
|