UNPKG

2.97 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.ServiceStatus = exports.RelativeToSetting = exports.InheritLevel = void 0;
13const VSSInterfaces = require("../interfaces/common/VSSInterfaces");
14var InheritLevel;
15(function (InheritLevel) {
16 InheritLevel[InheritLevel["None"] = 0] = "None";
17 InheritLevel[InheritLevel["Deployment"] = 1] = "Deployment";
18 InheritLevel[InheritLevel["Account"] = 2] = "Account";
19 InheritLevel[InheritLevel["Collection"] = 4] = "Collection";
20 InheritLevel[InheritLevel["All"] = 7] = "All";
21})(InheritLevel = exports.InheritLevel || (exports.InheritLevel = {}));
22var RelativeToSetting;
23(function (RelativeToSetting) {
24 RelativeToSetting[RelativeToSetting["Context"] = 0] = "Context";
25 RelativeToSetting[RelativeToSetting["WebApplication"] = 2] = "WebApplication";
26 RelativeToSetting[RelativeToSetting["FullyQualified"] = 3] = "FullyQualified";
27})(RelativeToSetting = exports.RelativeToSetting || (exports.RelativeToSetting = {}));
28var ServiceStatus;
29(function (ServiceStatus) {
30 ServiceStatus[ServiceStatus["Assigned"] = 0] = "Assigned";
31 ServiceStatus[ServiceStatus["Active"] = 1] = "Active";
32 ServiceStatus[ServiceStatus["Moving"] = 2] = "Moving";
33})(ServiceStatus = exports.ServiceStatus || (exports.ServiceStatus = {}));
34exports.TypeInfo = {
35 ConnectionData: {},
36 InheritLevel: {
37 enumValues: {
38 "none": 0,
39 "deployment": 1,
40 "account": 2,
41 "collection": 4,
42 "all": 7
43 }
44 },
45 LocationServiceData: {},
46 RelativeToSetting: {
47 enumValues: {
48 "context": 0,
49 "webApplication": 2,
50 "fullyQualified": 3
51 }
52 },
53 ServiceDefinition: {},
54 ServiceStatus: {
55 enumValues: {
56 "assigned": 0,
57 "active": 1,
58 "moving": 2
59 }
60 },
61};
62exports.TypeInfo.ConnectionData.fields = {
63 deploymentType: {
64 enumType: VSSInterfaces.TypeInfo.DeploymentFlags
65 },
66 lastUserAccess: {
67 isDate: true,
68 },
69 locationServiceData: {
70 typeInfo: exports.TypeInfo.LocationServiceData
71 }
72};
73exports.TypeInfo.LocationServiceData.fields = {
74 serviceDefinitions: {
75 isArray: true,
76 typeInfo: exports.TypeInfo.ServiceDefinition
77 }
78};
79exports.TypeInfo.ServiceDefinition.fields = {
80 inheritLevel: {
81 enumType: exports.TypeInfo.InheritLevel
82 },
83 relativeToSetting: {
84 enumType: exports.TypeInfo.RelativeToSetting
85 },
86 status: {
87 enumType: exports.TypeInfo.ServiceStatus
88 }
89};