1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | "use strict";
|
11 | Object.defineProperty(exports, "__esModule", { value: true });
|
12 | exports.TypeInfo = exports.WidgetScope = exports.TeamDashboardPermission = exports.GroupMemberPermission = exports.DashboardScope = void 0;
|
13 |
|
14 |
|
15 |
|
16 | var DashboardScope;
|
17 | (function (DashboardScope) {
|
18 | |
19 |
|
20 |
|
21 | DashboardScope[DashboardScope["Collection_User"] = 0] = "Collection_User";
|
22 | |
23 |
|
24 |
|
25 | DashboardScope[DashboardScope["Project_Team"] = 1] = "Project_Team";
|
26 | |
27 |
|
28 |
|
29 | DashboardScope[DashboardScope["Project"] = 2] = "Project";
|
30 | })(DashboardScope = exports.DashboardScope || (exports.DashboardScope = {}));
|
31 |
|
32 |
|
33 |
|
34 | var GroupMemberPermission;
|
35 | (function (GroupMemberPermission) {
|
36 | GroupMemberPermission[GroupMemberPermission["None"] = 0] = "None";
|
37 | GroupMemberPermission[GroupMemberPermission["Edit"] = 1] = "Edit";
|
38 | GroupMemberPermission[GroupMemberPermission["Manage"] = 2] = "Manage";
|
39 | GroupMemberPermission[GroupMemberPermission["ManagePermissions"] = 3] = "ManagePermissions";
|
40 | })(GroupMemberPermission = exports.GroupMemberPermission || (exports.GroupMemberPermission = {}));
|
41 |
|
42 |
|
43 |
|
44 | var TeamDashboardPermission;
|
45 | (function (TeamDashboardPermission) {
|
46 | TeamDashboardPermission[TeamDashboardPermission["None"] = 0] = "None";
|
47 | TeamDashboardPermission[TeamDashboardPermission["Read"] = 1] = "Read";
|
48 | TeamDashboardPermission[TeamDashboardPermission["Create"] = 2] = "Create";
|
49 | TeamDashboardPermission[TeamDashboardPermission["Edit"] = 4] = "Edit";
|
50 | TeamDashboardPermission[TeamDashboardPermission["Delete"] = 8] = "Delete";
|
51 | TeamDashboardPermission[TeamDashboardPermission["ManagePermissions"] = 16] = "ManagePermissions";
|
52 | })(TeamDashboardPermission = exports.TeamDashboardPermission || (exports.TeamDashboardPermission = {}));
|
53 |
|
54 |
|
55 |
|
56 | var WidgetScope;
|
57 | (function (WidgetScope) {
|
58 | WidgetScope[WidgetScope["Collection_User"] = 0] = "Collection_User";
|
59 | WidgetScope[WidgetScope["Project_Team"] = 1] = "Project_Team";
|
60 | })(WidgetScope = exports.WidgetScope || (exports.WidgetScope = {}));
|
61 | exports.TypeInfo = {
|
62 | CopyDashboardOptions: {},
|
63 | CopyDashboardResponse: {},
|
64 | Dashboard: {},
|
65 | DashboardGroup: {},
|
66 | DashboardGroupEntry: {},
|
67 | DashboardGroupEntryResponse: {},
|
68 | DashboardResponse: {},
|
69 | DashboardScope: {
|
70 | enumValues: {
|
71 | "collection_User": 0,
|
72 | "project_Team": 1,
|
73 | "project": 2
|
74 | }
|
75 | },
|
76 | GroupMemberPermission: {
|
77 | enumValues: {
|
78 | "none": 0,
|
79 | "edit": 1,
|
80 | "manage": 2,
|
81 | "managePermissions": 3
|
82 | }
|
83 | },
|
84 | TeamDashboardPermission: {
|
85 | enumValues: {
|
86 | "none": 0,
|
87 | "read": 1,
|
88 | "create": 2,
|
89 | "edit": 4,
|
90 | "delete": 8,
|
91 | "managePermissions": 16
|
92 | }
|
93 | },
|
94 | Widget: {},
|
95 | WidgetMetadata: {},
|
96 | WidgetMetadataResponse: {},
|
97 | WidgetResponse: {},
|
98 | WidgetScope: {
|
99 | enumValues: {
|
100 | "collection_User": 0,
|
101 | "project_Team": 1
|
102 | }
|
103 | },
|
104 | WidgetsVersionedList: {},
|
105 | WidgetTypesResponse: {},
|
106 | };
|
107 | exports.TypeInfo.CopyDashboardOptions.fields = {
|
108 | copyDashboardScope: {
|
109 | enumType: exports.TypeInfo.DashboardScope
|
110 | }
|
111 | };
|
112 | exports.TypeInfo.CopyDashboardResponse.fields = {
|
113 | copiedDashboard: {
|
114 | typeInfo: exports.TypeInfo.Dashboard
|
115 | },
|
116 | copyDashboardOptions: {
|
117 | typeInfo: exports.TypeInfo.CopyDashboardOptions
|
118 | }
|
119 | };
|
120 | exports.TypeInfo.Dashboard.fields = {
|
121 | dashboardScope: {
|
122 | enumType: exports.TypeInfo.DashboardScope
|
123 | },
|
124 | lastAccessedDate: {
|
125 | isDate: true,
|
126 | },
|
127 | modifiedDate: {
|
128 | isDate: true,
|
129 | },
|
130 | widgets: {
|
131 | isArray: true,
|
132 | typeInfo: exports.TypeInfo.Widget
|
133 | }
|
134 | };
|
135 | exports.TypeInfo.DashboardGroup.fields = {
|
136 | dashboardEntries: {
|
137 | isArray: true,
|
138 | typeInfo: exports.TypeInfo.DashboardGroupEntry
|
139 | },
|
140 | permission: {
|
141 | enumType: exports.TypeInfo.GroupMemberPermission
|
142 | },
|
143 | teamDashboardPermission: {
|
144 | enumType: exports.TypeInfo.TeamDashboardPermission
|
145 | }
|
146 | };
|
147 | exports.TypeInfo.DashboardGroupEntry.fields = {
|
148 | dashboardScope: {
|
149 | enumType: exports.TypeInfo.DashboardScope
|
150 | },
|
151 | lastAccessedDate: {
|
152 | isDate: true,
|
153 | },
|
154 | modifiedDate: {
|
155 | isDate: true,
|
156 | },
|
157 | widgets: {
|
158 | isArray: true,
|
159 | typeInfo: exports.TypeInfo.Widget
|
160 | }
|
161 | };
|
162 | exports.TypeInfo.DashboardGroupEntryResponse.fields = {
|
163 | dashboardScope: {
|
164 | enumType: exports.TypeInfo.DashboardScope
|
165 | },
|
166 | lastAccessedDate: {
|
167 | isDate: true,
|
168 | },
|
169 | modifiedDate: {
|
170 | isDate: true,
|
171 | },
|
172 | widgets: {
|
173 | isArray: true,
|
174 | typeInfo: exports.TypeInfo.Widget
|
175 | }
|
176 | };
|
177 | exports.TypeInfo.DashboardResponse.fields = {
|
178 | dashboardScope: {
|
179 | enumType: exports.TypeInfo.DashboardScope
|
180 | },
|
181 | lastAccessedDate: {
|
182 | isDate: true,
|
183 | },
|
184 | modifiedDate: {
|
185 | isDate: true,
|
186 | },
|
187 | widgets: {
|
188 | isArray: true,
|
189 | typeInfo: exports.TypeInfo.Widget
|
190 | }
|
191 | };
|
192 | exports.TypeInfo.Widget.fields = {
|
193 | dashboard: {
|
194 | typeInfo: exports.TypeInfo.Dashboard
|
195 | }
|
196 | };
|
197 | exports.TypeInfo.WidgetMetadata.fields = {
|
198 | supportedScopes: {
|
199 | isArray: true,
|
200 | enumType: exports.TypeInfo.WidgetScope
|
201 | }
|
202 | };
|
203 | exports.TypeInfo.WidgetMetadataResponse.fields = {
|
204 | widgetMetadata: {
|
205 | typeInfo: exports.TypeInfo.WidgetMetadata
|
206 | }
|
207 | };
|
208 | exports.TypeInfo.WidgetResponse.fields = {
|
209 | dashboard: {
|
210 | typeInfo: exports.TypeInfo.Dashboard
|
211 | }
|
212 | };
|
213 | exports.TypeInfo.WidgetsVersionedList.fields = {
|
214 | widgets: {
|
215 | isArray: true,
|
216 | typeInfo: exports.TypeInfo.Widget
|
217 | }
|
218 | };
|
219 | exports.TypeInfo.WidgetTypesResponse.fields = {
|
220 | widgetTypes: {
|
221 | isArray: true,
|
222 | typeInfo: exports.TypeInfo.WidgetMetadata
|
223 | }
|
224 | };
|