1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | "use strict";
|
11 | Object.defineProperty(exports, "__esModule", { value: true });
|
12 | exports.TypeInfo = exports.WorkItemTypeClass = exports.PageType = exports.GetWorkItemTypeExpand = exports.FieldType = void 0;
|
13 |
|
14 |
|
15 |
|
16 | var FieldType;
|
17 | (function (FieldType) {
|
18 | |
19 |
|
20 |
|
21 | FieldType[FieldType["String"] = 1] = "String";
|
22 | |
23 |
|
24 |
|
25 | FieldType[FieldType["Integer"] = 2] = "Integer";
|
26 | |
27 |
|
28 |
|
29 | FieldType[FieldType["DateTime"] = 3] = "DateTime";
|
30 | |
31 |
|
32 |
|
33 | FieldType[FieldType["PlainText"] = 5] = "PlainText";
|
34 | |
35 |
|
36 |
|
37 | FieldType[FieldType["Html"] = 7] = "Html";
|
38 | |
39 |
|
40 |
|
41 | FieldType[FieldType["TreePath"] = 8] = "TreePath";
|
42 | |
43 |
|
44 |
|
45 | FieldType[FieldType["History"] = 9] = "History";
|
46 | |
47 |
|
48 |
|
49 | FieldType[FieldType["Double"] = 10] = "Double";
|
50 | |
51 |
|
52 |
|
53 | FieldType[FieldType["Guid"] = 11] = "Guid";
|
54 | |
55 |
|
56 |
|
57 | FieldType[FieldType["Boolean"] = 12] = "Boolean";
|
58 | |
59 |
|
60 |
|
61 | FieldType[FieldType["Identity"] = 13] = "Identity";
|
62 | |
63 |
|
64 |
|
65 | FieldType[FieldType["PicklistInteger"] = 14] = "PicklistInteger";
|
66 | |
67 |
|
68 |
|
69 | FieldType[FieldType["PicklistString"] = 15] = "PicklistString";
|
70 | |
71 |
|
72 |
|
73 | FieldType[FieldType["PicklistDouble"] = 16] = "PicklistDouble";
|
74 | })(FieldType = exports.FieldType || (exports.FieldType = {}));
|
75 | var GetWorkItemTypeExpand;
|
76 | (function (GetWorkItemTypeExpand) {
|
77 | GetWorkItemTypeExpand[GetWorkItemTypeExpand["None"] = 0] = "None";
|
78 | GetWorkItemTypeExpand[GetWorkItemTypeExpand["States"] = 1] = "States";
|
79 | GetWorkItemTypeExpand[GetWorkItemTypeExpand["Behaviors"] = 2] = "Behaviors";
|
80 | GetWorkItemTypeExpand[GetWorkItemTypeExpand["Layout"] = 4] = "Layout";
|
81 | })(GetWorkItemTypeExpand = exports.GetWorkItemTypeExpand || (exports.GetWorkItemTypeExpand = {}));
|
82 |
|
83 |
|
84 |
|
85 | var PageType;
|
86 | (function (PageType) {
|
87 | PageType[PageType["Custom"] = 1] = "Custom";
|
88 | PageType[PageType["History"] = 2] = "History";
|
89 | PageType[PageType["Links"] = 3] = "Links";
|
90 | PageType[PageType["Attachments"] = 4] = "Attachments";
|
91 | })(PageType = exports.PageType || (exports.PageType = {}));
|
92 |
|
93 |
|
94 |
|
95 | var WorkItemTypeClass;
|
96 | (function (WorkItemTypeClass) {
|
97 | WorkItemTypeClass[WorkItemTypeClass["System"] = 0] = "System";
|
98 | WorkItemTypeClass[WorkItemTypeClass["Derived"] = 1] = "Derived";
|
99 | WorkItemTypeClass[WorkItemTypeClass["Custom"] = 2] = "Custom";
|
100 | })(WorkItemTypeClass = exports.WorkItemTypeClass || (exports.WorkItemTypeClass = {}));
|
101 | exports.TypeInfo = {
|
102 | FieldModel: {},
|
103 | FieldType: {
|
104 | enumValues: {
|
105 | "string": 1,
|
106 | "integer": 2,
|
107 | "dateTime": 3,
|
108 | "plainText": 5,
|
109 | "html": 7,
|
110 | "treePath": 8,
|
111 | "history": 9,
|
112 | "double": 10,
|
113 | "guid": 11,
|
114 | "boolean": 12,
|
115 | "identity": 13,
|
116 | "picklistInteger": 14,
|
117 | "picklistString": 15,
|
118 | "picklistDouble": 16
|
119 | }
|
120 | },
|
121 | FormLayout: {},
|
122 | GetWorkItemTypeExpand: {
|
123 | enumValues: {
|
124 | "none": 0,
|
125 | "states": 1,
|
126 | "behaviors": 2,
|
127 | "layout": 4
|
128 | }
|
129 | },
|
130 | Page: {},
|
131 | PageType: {
|
132 | enumValues: {
|
133 | "custom": 1,
|
134 | "history": 2,
|
135 | "links": 3,
|
136 | "attachments": 4
|
137 | }
|
138 | },
|
139 | WorkItemTypeClass: {
|
140 | enumValues: {
|
141 | "system": 0,
|
142 | "derived": 1,
|
143 | "custom": 2
|
144 | }
|
145 | },
|
146 | WorkItemTypeFieldModel: {},
|
147 | WorkItemTypeFieldModel2: {},
|
148 | WorkItemTypeModel: {},
|
149 | };
|
150 | exports.TypeInfo.FieldModel.fields = {
|
151 | type: {
|
152 | enumType: exports.TypeInfo.FieldType
|
153 | }
|
154 | };
|
155 | exports.TypeInfo.FormLayout.fields = {
|
156 | pages: {
|
157 | isArray: true,
|
158 | typeInfo: exports.TypeInfo.Page
|
159 | }
|
160 | };
|
161 | exports.TypeInfo.Page.fields = {
|
162 | pageType: {
|
163 | enumType: exports.TypeInfo.PageType
|
164 | }
|
165 | };
|
166 | exports.TypeInfo.WorkItemTypeFieldModel.fields = {
|
167 | type: {
|
168 | enumType: exports.TypeInfo.FieldType
|
169 | }
|
170 | };
|
171 | exports.TypeInfo.WorkItemTypeFieldModel2.fields = {
|
172 | type: {
|
173 | enumType: exports.TypeInfo.FieldType
|
174 | }
|
175 | };
|
176 | exports.TypeInfo.WorkItemTypeModel.fields = {
|
177 | class: {
|
178 | enumType: exports.TypeInfo.WorkItemTypeClass
|
179 | },
|
180 | layout: {
|
181 | typeInfo: exports.TypeInfo.FormLayout
|
182 | }
|
183 | };
|