UNPKG

4.07 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.ReadIdentitiesOptions = exports.QueryMembership = exports.GroupScopeType = exports.FrameworkIdentityType = void 0;
13var FrameworkIdentityType;
14(function (FrameworkIdentityType) {
15 FrameworkIdentityType[FrameworkIdentityType["None"] = 0] = "None";
16 FrameworkIdentityType[FrameworkIdentityType["ServiceIdentity"] = 1] = "ServiceIdentity";
17 FrameworkIdentityType[FrameworkIdentityType["AggregateIdentity"] = 2] = "AggregateIdentity";
18 FrameworkIdentityType[FrameworkIdentityType["ImportedIdentity"] = 3] = "ImportedIdentity";
19})(FrameworkIdentityType = exports.FrameworkIdentityType || (exports.FrameworkIdentityType = {}));
20var GroupScopeType;
21(function (GroupScopeType) {
22 GroupScopeType[GroupScopeType["Generic"] = 0] = "Generic";
23 GroupScopeType[GroupScopeType["ServiceHost"] = 1] = "ServiceHost";
24 GroupScopeType[GroupScopeType["TeamProject"] = 2] = "TeamProject";
25})(GroupScopeType = exports.GroupScopeType || (exports.GroupScopeType = {}));
26var QueryMembership;
27(function (QueryMembership) {
28 /**
29 * Query will not return any membership data
30 */
31 QueryMembership[QueryMembership["None"] = 0] = "None";
32 /**
33 * Query will return only direct membership data
34 */
35 QueryMembership[QueryMembership["Direct"] = 1] = "Direct";
36 /**
37 * Query will return expanded membership data
38 */
39 QueryMembership[QueryMembership["Expanded"] = 2] = "Expanded";
40 /**
41 * Query will return expanded up membership data (parents only)
42 */
43 QueryMembership[QueryMembership["ExpandedUp"] = 3] = "ExpandedUp";
44 /**
45 * Query will return expanded down membership data (children only)
46 */
47 QueryMembership[QueryMembership["ExpandedDown"] = 4] = "ExpandedDown";
48})(QueryMembership = exports.QueryMembership || (exports.QueryMembership = {}));
49var ReadIdentitiesOptions;
50(function (ReadIdentitiesOptions) {
51 ReadIdentitiesOptions[ReadIdentitiesOptions["None"] = 0] = "None";
52 ReadIdentitiesOptions[ReadIdentitiesOptions["FilterIllegalMemberships"] = 1] = "FilterIllegalMemberships";
53})(ReadIdentitiesOptions = exports.ReadIdentitiesOptions || (exports.ReadIdentitiesOptions = {}));
54exports.TypeInfo = {
55 CreateScopeInfo: {},
56 FrameworkIdentityInfo: {},
57 FrameworkIdentityType: {
58 enumValues: {
59 "none": 0,
60 "serviceIdentity": 1,
61 "aggregateIdentity": 2,
62 "importedIdentity": 3
63 }
64 },
65 GroupScopeType: {
66 enumValues: {
67 "generic": 0,
68 "serviceHost": 1,
69 "teamProject": 2
70 }
71 },
72 IdentityBatchInfo: {},
73 IdentityScope: {},
74 IdentitySnapshot: {},
75 QueryMembership: {
76 enumValues: {
77 "none": 0,
78 "direct": 1,
79 "expanded": 2,
80 "expandedUp": 3,
81 "expandedDown": 4
82 }
83 },
84 ReadIdentitiesOptions: {
85 enumValues: {
86 "none": 0,
87 "filterIllegalMemberships": 1
88 }
89 },
90};
91exports.TypeInfo.CreateScopeInfo.fields = {
92 scopeType: {
93 enumType: exports.TypeInfo.GroupScopeType
94 }
95};
96exports.TypeInfo.FrameworkIdentityInfo.fields = {
97 identityType: {
98 enumType: exports.TypeInfo.FrameworkIdentityType
99 }
100};
101exports.TypeInfo.IdentityBatchInfo.fields = {
102 queryMembership: {
103 enumType: exports.TypeInfo.QueryMembership
104 }
105};
106exports.TypeInfo.IdentityScope.fields = {
107 scopeType: {
108 enumType: exports.TypeInfo.GroupScopeType
109 }
110};
111exports.TypeInfo.IdentitySnapshot.fields = {
112 scopes: {
113 isArray: true,
114 typeInfo: exports.TypeInfo.IdentityScope
115 }
116};