mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
138 lines
4.2 KiB
JavaScript
138 lines
4.2 KiB
JavaScript
/*
|
|
* ---------------------------------------------------------
|
|
* Copyright(C) Microsoft Corporation. All rights reserved.
|
|
* ---------------------------------------------------------
|
|
*
|
|
* ---------------------------------------------------------
|
|
* Generated file, DO NOT EDIT
|
|
* ---------------------------------------------------------
|
|
*/
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var FieldType;
|
|
(function (FieldType) {
|
|
FieldType[FieldType["String"] = 1] = "String";
|
|
FieldType[FieldType["Integer"] = 2] = "Integer";
|
|
FieldType[FieldType["DateTime"] = 3] = "DateTime";
|
|
FieldType[FieldType["PlainText"] = 5] = "PlainText";
|
|
FieldType[FieldType["Html"] = 7] = "Html";
|
|
FieldType[FieldType["TreePath"] = 8] = "TreePath";
|
|
FieldType[FieldType["History"] = 9] = "History";
|
|
FieldType[FieldType["Double"] = 10] = "Double";
|
|
FieldType[FieldType["Guid"] = 11] = "Guid";
|
|
FieldType[FieldType["Boolean"] = 12] = "Boolean";
|
|
FieldType[FieldType["Identity"] = 13] = "Identity";
|
|
FieldType[FieldType["PicklistInteger"] = 14] = "PicklistInteger";
|
|
FieldType[FieldType["PicklistString"] = 15] = "PicklistString";
|
|
FieldType[FieldType["PicklistDouble"] = 16] = "PicklistDouble";
|
|
})(FieldType = exports.FieldType || (exports.FieldType = {}));
|
|
var GetWorkItemTypeExpand;
|
|
(function (GetWorkItemTypeExpand) {
|
|
GetWorkItemTypeExpand[GetWorkItemTypeExpand["None"] = 0] = "None";
|
|
GetWorkItemTypeExpand[GetWorkItemTypeExpand["States"] = 1] = "States";
|
|
GetWorkItemTypeExpand[GetWorkItemTypeExpand["Behaviors"] = 2] = "Behaviors";
|
|
GetWorkItemTypeExpand[GetWorkItemTypeExpand["Layout"] = 4] = "Layout";
|
|
})(GetWorkItemTypeExpand = exports.GetWorkItemTypeExpand || (exports.GetWorkItemTypeExpand = {}));
|
|
/**
|
|
* Type of page
|
|
*/
|
|
var PageType;
|
|
(function (PageType) {
|
|
PageType[PageType["Custom"] = 1] = "Custom";
|
|
PageType[PageType["History"] = 2] = "History";
|
|
PageType[PageType["Links"] = 3] = "Links";
|
|
PageType[PageType["Attachments"] = 4] = "Attachments";
|
|
})(PageType = exports.PageType || (exports.PageType = {}));
|
|
/**
|
|
* Work item type classes'
|
|
*/
|
|
var WorkItemTypeClass;
|
|
(function (WorkItemTypeClass) {
|
|
WorkItemTypeClass[WorkItemTypeClass["System"] = 0] = "System";
|
|
WorkItemTypeClass[WorkItemTypeClass["Derived"] = 1] = "Derived";
|
|
WorkItemTypeClass[WorkItemTypeClass["Custom"] = 2] = "Custom";
|
|
})(WorkItemTypeClass = exports.WorkItemTypeClass || (exports.WorkItemTypeClass = {}));
|
|
exports.TypeInfo = {
|
|
FieldModel: {},
|
|
FieldType: {
|
|
enumValues: {
|
|
"string": 1,
|
|
"integer": 2,
|
|
"dateTime": 3,
|
|
"plainText": 5,
|
|
"html": 7,
|
|
"treePath": 8,
|
|
"history": 9,
|
|
"double": 10,
|
|
"guid": 11,
|
|
"boolean": 12,
|
|
"identity": 13,
|
|
"picklistInteger": 14,
|
|
"picklistString": 15,
|
|
"picklistDouble": 16
|
|
}
|
|
},
|
|
FormLayout: {},
|
|
GetWorkItemTypeExpand: {
|
|
enumValues: {
|
|
"none": 0,
|
|
"states": 1,
|
|
"behaviors": 2,
|
|
"layout": 4
|
|
}
|
|
},
|
|
Page: {},
|
|
PageType: {
|
|
enumValues: {
|
|
"custom": 1,
|
|
"history": 2,
|
|
"links": 3,
|
|
"attachments": 4
|
|
}
|
|
},
|
|
WorkItemTypeClass: {
|
|
enumValues: {
|
|
"system": 0,
|
|
"derived": 1,
|
|
"custom": 2
|
|
}
|
|
},
|
|
WorkItemTypeFieldModel: {},
|
|
WorkItemTypeFieldModel2: {},
|
|
WorkItemTypeModel: {},
|
|
};
|
|
exports.TypeInfo.FieldModel.fields = {
|
|
type: {
|
|
enumType: exports.TypeInfo.FieldType
|
|
}
|
|
};
|
|
exports.TypeInfo.FormLayout.fields = {
|
|
pages: {
|
|
isArray: true,
|
|
typeInfo: exports.TypeInfo.Page
|
|
}
|
|
};
|
|
exports.TypeInfo.Page.fields = {
|
|
pageType: {
|
|
enumType: exports.TypeInfo.PageType
|
|
}
|
|
};
|
|
exports.TypeInfo.WorkItemTypeFieldModel.fields = {
|
|
type: {
|
|
enumType: exports.TypeInfo.FieldType
|
|
}
|
|
};
|
|
exports.TypeInfo.WorkItemTypeFieldModel2.fields = {
|
|
type: {
|
|
enumType: exports.TypeInfo.FieldType
|
|
}
|
|
};
|
|
exports.TypeInfo.WorkItemTypeModel.fields = {
|
|
class: {
|
|
enumType: exports.TypeInfo.WorkItemTypeClass
|
|
},
|
|
layout: {
|
|
typeInfo: exports.TypeInfo.FormLayout
|
|
}
|
|
};
|