@omniviewdev/runtime 0.1.11 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Client-BRYjLBXY.cjs +1 -0
- package/dist/{Client-DRRyPmcf.js → Client-RGYOEzh2.js} +312 -275
- package/dist/api.cjs +1 -1
- package/dist/api.d.ts +1 -0
- package/dist/api.js +95 -51
- package/dist/context/drawer/types.d.ts +1 -1
- package/dist/errors/types.d.ts +2 -0
- package/dist/hooks/connection/useConnectionStatus.d.ts +3 -3
- package/dist/hooks/connection/useConnections.d.ts +2 -2
- package/dist/hooks/resource/index.d.ts +2 -1
- package/dist/hooks/resource/useActiveSyncs.d.ts +2 -2
- package/dist/hooks/resource/useEditorSchemas.d.ts +2 -2
- package/dist/hooks/resource/useEventBatcher.d.ts +55 -0
- package/dist/hooks/resource/useResource.d.ts +9 -21
- package/dist/hooks/resource/useResourceActions.d.ts +3 -3
- package/dist/hooks/resource/useResourceGroups.d.ts +1 -1
- package/dist/hooks/resource/useResourceMutations.d.ts +14 -7
- package/dist/hooks/resource/useResourceSearch.d.ts +1 -1
- package/dist/hooks/resource/useResourceType.d.ts +1 -1
- package/dist/hooks/resource/useResourceTypes.d.ts +1 -1
- package/dist/hooks/resource/useResources.d.ts +14 -22
- package/dist/hooks/resource/useWatchState.d.ts +28 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1406 -1295
- package/dist/models.cjs +1 -1
- package/dist/models.js +1343 -972
- package/dist/types/index.d.ts +1 -1
- package/dist/types/watch.d.ts +29 -0
- package/dist/utils/activeSyncAggregator.d.ts +13 -8
- package/dist/utils/resourceKey.d.ts +12 -0
- package/dist/wailsjs/go/devserver/DevServerManager.d.ts +2 -0
- package/dist/wailsjs/go/models.d.ts +400 -214
- package/dist/wailsjs/go/plugin/pluginManager.d.ts +3 -1
- package/dist/wailsjs/go/pluginlog/Manager.d.ts +18 -0
- package/dist/wailsjs/go/resource/Client.d.ts +39 -23
- package/package.json +1 -1
- package/dist/Client-BtQwAB3N.cjs +0 -1
- package/dist/errors/parseAppError.test.d.ts +0 -1
- package/dist/hooks/resource/useInformerState.d.ts +0 -24
- package/dist/types/informer.d.ts +0 -49
- package/dist/utils/activeSyncAggregator.test.d.ts +0 -1
package/dist/models.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var e = (a,
|
|
4
|
-
var
|
|
1
|
+
var pt = Object.defineProperty;
|
|
2
|
+
var ht = (a, h, d) => h in a ? pt(a, h, { enumerable: !0, configurable: !0, writable: !0, value: d }) : a[h] = d;
|
|
3
|
+
var e = (a, h, d) => ht(a, typeof h != "symbol" ? h + "" : h, d);
|
|
4
|
+
var D;
|
|
5
5
|
((a) => {
|
|
6
|
-
class
|
|
6
|
+
class h {
|
|
7
7
|
constructor(s = {}) {
|
|
8
8
|
e(this, "name");
|
|
9
9
|
e(this, "email");
|
|
@@ -11,11 +11,11 @@ var N;
|
|
|
11
11
|
typeof s == "string" && (s = JSON.parse(s)), this.name = s.name, this.email = s.email, this.url = s.url;
|
|
12
12
|
}
|
|
13
13
|
static createFrom(s = {}) {
|
|
14
|
-
return new
|
|
14
|
+
return new h(s);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
a.PluginAuthor =
|
|
18
|
-
class
|
|
17
|
+
a.PluginAuthor = h;
|
|
18
|
+
class d {
|
|
19
19
|
constructor(s = {}) {
|
|
20
20
|
e(this, "name");
|
|
21
21
|
e(this, "plugin");
|
|
@@ -25,35 +25,35 @@ var N;
|
|
|
25
25
|
typeof s == "string" && (s = JSON.parse(s)), this.name = s.name, this.plugin = s.plugin, this.area = s.area, this.resources = s.resources, this.extension = s.extension;
|
|
26
26
|
}
|
|
27
27
|
static createFrom(s = {}) {
|
|
28
|
-
return new
|
|
28
|
+
return new d(s);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
a.PluginResourceComponent =
|
|
32
|
-
class
|
|
31
|
+
a.PluginResourceComponent = d;
|
|
32
|
+
class p {
|
|
33
33
|
constructor(s = {}) {
|
|
34
34
|
e(this, "resource");
|
|
35
|
-
typeof s == "string" && (s = JSON.parse(s)), this.resource = this.convertValues(s.resource,
|
|
35
|
+
typeof s == "string" && (s = JSON.parse(s)), this.resource = this.convertValues(s.resource, d);
|
|
36
36
|
}
|
|
37
37
|
static createFrom(s = {}) {
|
|
38
|
-
return new
|
|
38
|
+
return new p(s);
|
|
39
39
|
}
|
|
40
|
-
convertValues(s,
|
|
40
|
+
convertValues(s, v, m = !1) {
|
|
41
41
|
if (!s)
|
|
42
42
|
return s;
|
|
43
43
|
if (s.slice && s.map)
|
|
44
|
-
return s.map((
|
|
44
|
+
return s.map((V) => this.convertValues(V, v));
|
|
45
45
|
if (typeof s == "object") {
|
|
46
|
-
if (
|
|
47
|
-
for (const
|
|
48
|
-
s[
|
|
46
|
+
if (m) {
|
|
47
|
+
for (const V of Object.keys(s))
|
|
48
|
+
s[V] = new v(s[V]);
|
|
49
49
|
return s;
|
|
50
50
|
}
|
|
51
|
-
return new
|
|
51
|
+
return new v(s);
|
|
52
52
|
}
|
|
53
53
|
return s;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
a.PluginComponents =
|
|
56
|
+
a.PluginComponents = p;
|
|
57
57
|
class o {
|
|
58
58
|
constructor(s = {}) {
|
|
59
59
|
e(this, "name");
|
|
@@ -65,7 +65,7 @@ var N;
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
a.PluginMaintainer = o;
|
|
68
|
-
class
|
|
68
|
+
class f {
|
|
69
69
|
constructor(s = {}) {
|
|
70
70
|
e(this, "primary");
|
|
71
71
|
e(this, "secondary");
|
|
@@ -73,36 +73,36 @@ var N;
|
|
|
73
73
|
typeof s == "string" && (s = JSON.parse(s)), this.primary = s.primary, this.secondary = s.secondary, this.tertiary = s.tertiary;
|
|
74
74
|
}
|
|
75
75
|
static createFrom(s = {}) {
|
|
76
|
-
return new
|
|
76
|
+
return new f(s);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
a.PluginThemeColors =
|
|
80
|
-
class
|
|
79
|
+
a.PluginThemeColors = f;
|
|
80
|
+
class n {
|
|
81
81
|
constructor(s = {}) {
|
|
82
82
|
e(this, "colors");
|
|
83
|
-
typeof s == "string" && (s = JSON.parse(s)), this.colors = this.convertValues(s.colors,
|
|
83
|
+
typeof s == "string" && (s = JSON.parse(s)), this.colors = this.convertValues(s.colors, f);
|
|
84
84
|
}
|
|
85
85
|
static createFrom(s = {}) {
|
|
86
|
-
return new
|
|
86
|
+
return new n(s);
|
|
87
87
|
}
|
|
88
|
-
convertValues(s,
|
|
88
|
+
convertValues(s, v, m = !1) {
|
|
89
89
|
if (!s)
|
|
90
90
|
return s;
|
|
91
91
|
if (s.slice && s.map)
|
|
92
|
-
return s.map((
|
|
92
|
+
return s.map((V) => this.convertValues(V, v));
|
|
93
93
|
if (typeof s == "object") {
|
|
94
|
-
if (
|
|
95
|
-
for (const
|
|
96
|
-
s[
|
|
94
|
+
if (m) {
|
|
95
|
+
for (const V of Object.keys(s))
|
|
96
|
+
s[V] = new v(s[V]);
|
|
97
97
|
return s;
|
|
98
98
|
}
|
|
99
|
-
return new
|
|
99
|
+
return new v(s);
|
|
100
100
|
}
|
|
101
101
|
return s;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
a.PluginTheme =
|
|
105
|
-
class
|
|
104
|
+
a.PluginTheme = n;
|
|
105
|
+
class l {
|
|
106
106
|
constructor(s = {}) {
|
|
107
107
|
e(this, "id");
|
|
108
108
|
e(this, "version");
|
|
@@ -123,33 +123,33 @@ var N;
|
|
|
123
123
|
e(this, "components");
|
|
124
124
|
e(this, "schema_version");
|
|
125
125
|
e(this, "sdk_protocol_version");
|
|
126
|
-
typeof s == "string" && (s = JSON.parse(s)), this.id = s.id, this.version = s.version, this.name = s.name, this.icon = s.icon, this.icon_url = s.icon_url, this.description = s.description, this.repository = s.repository, this.website = s.website, this.category = s.category, this.license = s.license, this.author = this.convertValues(s.author,
|
|
126
|
+
typeof s == "string" && (s = JSON.parse(s)), this.id = s.id, this.version = s.version, this.name = s.name, this.icon = s.icon, this.icon_url = s.icon_url, this.description = s.description, this.repository = s.repository, this.website = s.website, this.category = s.category, this.license = s.license, this.author = this.convertValues(s.author, h), this.maintainers = this.convertValues(s.maintainers, o), this.tags = s.tags, this.dependencies = s.dependencies, this.capabilities = s.capabilities, this.theme = this.convertValues(s.theme, n), this.components = this.convertValues(s.components, p), this.schema_version = s.schema_version, this.sdk_protocol_version = s.sdk_protocol_version;
|
|
127
127
|
}
|
|
128
128
|
static createFrom(s = {}) {
|
|
129
|
-
return new
|
|
129
|
+
return new l(s);
|
|
130
130
|
}
|
|
131
|
-
convertValues(s,
|
|
131
|
+
convertValues(s, v, m = !1) {
|
|
132
132
|
if (!s)
|
|
133
133
|
return s;
|
|
134
134
|
if (s.slice && s.map)
|
|
135
|
-
return s.map((
|
|
135
|
+
return s.map((V) => this.convertValues(V, v));
|
|
136
136
|
if (typeof s == "object") {
|
|
137
|
-
if (
|
|
138
|
-
for (const
|
|
139
|
-
s[
|
|
137
|
+
if (m) {
|
|
138
|
+
for (const V of Object.keys(s))
|
|
139
|
+
s[V] = new v(s[V]);
|
|
140
140
|
return s;
|
|
141
141
|
}
|
|
142
|
-
return new
|
|
142
|
+
return new v(s);
|
|
143
143
|
}
|
|
144
144
|
return s;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
a.PluginMeta =
|
|
148
|
-
})(
|
|
149
|
-
var
|
|
147
|
+
a.PluginMeta = l;
|
|
148
|
+
})(D || (D = {}));
|
|
149
|
+
var z;
|
|
150
150
|
((a) => {
|
|
151
|
-
class
|
|
152
|
-
constructor(
|
|
151
|
+
class h {
|
|
152
|
+
constructor(n = {}) {
|
|
153
153
|
e(this, "pid");
|
|
154
154
|
e(this, "protocol");
|
|
155
155
|
e(this, "protocolVersion");
|
|
@@ -158,24 +158,24 @@ var U;
|
|
|
158
158
|
e(this, "pluginId");
|
|
159
159
|
e(this, "version");
|
|
160
160
|
e(this, "startedAt");
|
|
161
|
-
typeof
|
|
161
|
+
typeof n == "string" && (n = JSON.parse(n)), this.pid = n.pid, this.protocol = n.protocol, this.protocolVersion = n.protocolVersion, this.addr = n.addr, this.vitePort = n.vitePort, this.pluginId = n.pluginId, this.version = n.version, this.startedAt = n.startedAt;
|
|
162
162
|
}
|
|
163
|
-
static createFrom(
|
|
164
|
-
return new
|
|
163
|
+
static createFrom(n = {}) {
|
|
164
|
+
return new h(n);
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
a.DevInfoFile =
|
|
168
|
-
class
|
|
169
|
-
static createFrom(
|
|
170
|
-
return new
|
|
167
|
+
a.DevInfoFile = h;
|
|
168
|
+
class d {
|
|
169
|
+
static createFrom(n = {}) {
|
|
170
|
+
return new d(n);
|
|
171
171
|
}
|
|
172
|
-
constructor(
|
|
173
|
-
typeof
|
|
172
|
+
constructor(n = {}) {
|
|
173
|
+
typeof n == "string" && (n = JSON.parse(n));
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
a.DevServerManager =
|
|
177
|
-
class
|
|
178
|
-
constructor(
|
|
176
|
+
a.DevServerManager = d;
|
|
177
|
+
class p {
|
|
178
|
+
constructor(n = {}) {
|
|
179
179
|
e(this, "pluginID");
|
|
180
180
|
e(this, "mode");
|
|
181
181
|
e(this, "devPath");
|
|
@@ -187,61 +187,44 @@ var U;
|
|
|
187
187
|
e(this, "lastBuildTime");
|
|
188
188
|
e(this, "lastError");
|
|
189
189
|
e(this, "grpcConnected");
|
|
190
|
-
typeof
|
|
191
|
-
}
|
|
192
|
-
static createFrom(r = {}) {
|
|
193
|
-
return new l(r);
|
|
190
|
+
typeof n == "string" && (n = JSON.parse(n)), this.pluginID = n.pluginID, this.mode = n.mode, this.devPath = n.devPath, this.vitePort = n.vitePort, this.viteURL = n.viteURL, this.viteStatus = n.viteStatus, this.goStatus = n.goStatus, this.lastBuildDuration = n.lastBuildDuration, this.lastBuildTime = n.lastBuildTime, this.lastError = n.lastError, this.grpcConnected = n.grpcConnected;
|
|
194
191
|
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
return r;
|
|
198
|
-
if (r.slice && r.map)
|
|
199
|
-
return r.map((s) => this.convertValues(s, i));
|
|
200
|
-
if (typeof r == "object") {
|
|
201
|
-
if (m) {
|
|
202
|
-
for (const s of Object.keys(r))
|
|
203
|
-
r[s] = new i(r[s]);
|
|
204
|
-
return r;
|
|
205
|
-
}
|
|
206
|
-
return new i(r);
|
|
207
|
-
}
|
|
208
|
-
return r;
|
|
192
|
+
static createFrom(n = {}) {
|
|
193
|
+
return new p(n);
|
|
209
194
|
}
|
|
210
195
|
}
|
|
211
|
-
a.DevServerState =
|
|
196
|
+
a.DevServerState = p;
|
|
212
197
|
class o {
|
|
213
|
-
constructor(
|
|
198
|
+
constructor(n = {}) {
|
|
214
199
|
e(this, "timestamp");
|
|
215
200
|
e(this, "source");
|
|
216
201
|
e(this, "level");
|
|
217
202
|
e(this, "message");
|
|
218
203
|
e(this, "pluginID");
|
|
219
|
-
typeof
|
|
220
|
-
}
|
|
221
|
-
static createFrom(r = {}) {
|
|
222
|
-
return new o(r);
|
|
204
|
+
typeof n == "string" && (n = JSON.parse(n)), this.timestamp = n.timestamp, this.source = n.source, this.level = n.level, this.message = n.message, this.pluginID = n.pluginID;
|
|
223
205
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
return r;
|
|
227
|
-
if (r.slice && r.map)
|
|
228
|
-
return r.map((s) => this.convertValues(s, i));
|
|
229
|
-
if (typeof r == "object") {
|
|
230
|
-
if (m) {
|
|
231
|
-
for (const s of Object.keys(r))
|
|
232
|
-
r[s] = new i(r[s]);
|
|
233
|
-
return r;
|
|
234
|
-
}
|
|
235
|
-
return new i(r);
|
|
236
|
-
}
|
|
237
|
-
return r;
|
|
206
|
+
static createFrom(n = {}) {
|
|
207
|
+
return new o(n);
|
|
238
208
|
}
|
|
239
209
|
}
|
|
240
210
|
a.LogEntry = o;
|
|
241
|
-
})(
|
|
242
|
-
var
|
|
211
|
+
})(z || (z = {}));
|
|
212
|
+
var Z;
|
|
243
213
|
((a) => {
|
|
244
|
-
class
|
|
214
|
+
class h {
|
|
215
|
+
constructor(i = {}) {
|
|
216
|
+
e(this, "label");
|
|
217
|
+
e(this, "label_selector");
|
|
218
|
+
e(this, "paths");
|
|
219
|
+
e(this, "selectors");
|
|
220
|
+
typeof i == "string" && (i = JSON.parse(i)), this.label = i.label, this.label_selector = i.label_selector, this.paths = i.paths, this.selectors = i.selectors;
|
|
221
|
+
}
|
|
222
|
+
static createFrom(i = {}) {
|
|
223
|
+
return new h(i);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
a.ActionTargetBuilder = h;
|
|
227
|
+
class d {
|
|
245
228
|
constructor(i = {}) {
|
|
246
229
|
e(this, "created_at");
|
|
247
230
|
e(this, "labels");
|
|
@@ -249,94 +232,94 @@ var B;
|
|
|
249
232
|
e(this, "id");
|
|
250
233
|
e(this, "command");
|
|
251
234
|
e(this, "attached");
|
|
252
|
-
typeof i == "string" && (i = JSON.parse(i)), this.created_at = this.convertValues(i.created_at,
|
|
235
|
+
typeof i == "string" && (i = JSON.parse(i)), this.created_at = this.convertValues(i.created_at, S.Time), this.labels = i.labels, this.params = i.params, this.id = i.id, this.command = i.command, this.attached = i.attached;
|
|
253
236
|
}
|
|
254
237
|
static createFrom(i = {}) {
|
|
255
|
-
return new
|
|
238
|
+
return new d(i);
|
|
256
239
|
}
|
|
257
|
-
convertValues(i,
|
|
240
|
+
convertValues(i, s, v = !1) {
|
|
258
241
|
if (!i)
|
|
259
242
|
return i;
|
|
260
243
|
if (i.slice && i.map)
|
|
261
|
-
return i.map((
|
|
244
|
+
return i.map((m) => this.convertValues(m, s));
|
|
262
245
|
if (typeof i == "object") {
|
|
263
|
-
if (
|
|
264
|
-
for (const
|
|
265
|
-
i[
|
|
246
|
+
if (v) {
|
|
247
|
+
for (const m of Object.keys(i))
|
|
248
|
+
i[m] = new s(i[m]);
|
|
266
249
|
return i;
|
|
267
250
|
}
|
|
268
|
-
return new
|
|
251
|
+
return new s(i);
|
|
269
252
|
}
|
|
270
253
|
return i;
|
|
271
254
|
}
|
|
272
255
|
}
|
|
273
|
-
a.Session =
|
|
274
|
-
class
|
|
256
|
+
a.Session = d;
|
|
257
|
+
class p {
|
|
275
258
|
constructor(i = {}) {
|
|
276
259
|
e(this, "session");
|
|
277
260
|
e(this, "buffer");
|
|
278
|
-
typeof i == "string" && (i = JSON.parse(i)), this.session = this.convertValues(i.session,
|
|
261
|
+
typeof i == "string" && (i = JSON.parse(i)), this.session = this.convertValues(i.session, d), this.buffer = i.buffer;
|
|
279
262
|
}
|
|
280
263
|
static createFrom(i = {}) {
|
|
281
|
-
return new
|
|
264
|
+
return new p(i);
|
|
282
265
|
}
|
|
283
|
-
convertValues(i,
|
|
266
|
+
convertValues(i, s, v = !1) {
|
|
284
267
|
if (!i)
|
|
285
268
|
return i;
|
|
286
269
|
if (i.slice && i.map)
|
|
287
|
-
return i.map((
|
|
270
|
+
return i.map((m) => this.convertValues(m, s));
|
|
288
271
|
if (typeof i == "object") {
|
|
289
|
-
if (
|
|
290
|
-
for (const
|
|
291
|
-
i[
|
|
272
|
+
if (v) {
|
|
273
|
+
for (const m of Object.keys(i))
|
|
274
|
+
i[m] = new s(i[m]);
|
|
292
275
|
return i;
|
|
293
276
|
}
|
|
294
|
-
return new
|
|
277
|
+
return new s(i);
|
|
295
278
|
}
|
|
296
279
|
return i;
|
|
297
280
|
}
|
|
298
281
|
}
|
|
299
|
-
a.AttachSessionResult =
|
|
300
|
-
class
|
|
282
|
+
a.AttachSessionResult = p;
|
|
283
|
+
class o {
|
|
301
284
|
constructor(i = {}) {
|
|
302
285
|
e(this, "labels");
|
|
303
286
|
e(this, "command");
|
|
304
287
|
typeof i == "string" && (i = JSON.parse(i)), this.labels = i.labels, this.command = i.command;
|
|
305
288
|
}
|
|
306
289
|
static createFrom(i = {}) {
|
|
307
|
-
return new
|
|
290
|
+
return new o(i);
|
|
308
291
|
}
|
|
309
292
|
}
|
|
310
|
-
a.CreateTerminalOptions =
|
|
311
|
-
class
|
|
293
|
+
a.CreateTerminalOptions = o;
|
|
294
|
+
class f {
|
|
312
295
|
constructor(i = {}) {
|
|
313
296
|
e(this, "plugin");
|
|
314
297
|
e(this, "resource");
|
|
315
298
|
e(this, "target_builder");
|
|
316
299
|
e(this, "default_command");
|
|
317
|
-
typeof i == "string" && (i = JSON.parse(i)), this.plugin = i.plugin, this.resource = i.resource, this.target_builder = this.convertValues(i.target_builder,
|
|
300
|
+
typeof i == "string" && (i = JSON.parse(i)), this.plugin = i.plugin, this.resource = i.resource, this.target_builder = this.convertValues(i.target_builder, h), this.default_command = i.default_command;
|
|
318
301
|
}
|
|
319
302
|
static createFrom(i = {}) {
|
|
320
|
-
return new
|
|
303
|
+
return new f(i);
|
|
321
304
|
}
|
|
322
|
-
convertValues(i,
|
|
305
|
+
convertValues(i, s, v = !1) {
|
|
323
306
|
if (!i)
|
|
324
307
|
return i;
|
|
325
308
|
if (i.slice && i.map)
|
|
326
|
-
return i.map((
|
|
309
|
+
return i.map((m) => this.convertValues(m, s));
|
|
327
310
|
if (typeof i == "object") {
|
|
328
|
-
if (
|
|
329
|
-
for (const
|
|
330
|
-
i[
|
|
311
|
+
if (v) {
|
|
312
|
+
for (const m of Object.keys(i))
|
|
313
|
+
i[m] = new s(i[m]);
|
|
331
314
|
return i;
|
|
332
315
|
}
|
|
333
|
-
return new
|
|
316
|
+
return new s(i);
|
|
334
317
|
}
|
|
335
318
|
return i;
|
|
336
319
|
}
|
|
337
320
|
}
|
|
338
|
-
a.Handler =
|
|
339
|
-
class
|
|
321
|
+
a.Handler = f;
|
|
322
|
+
class n {
|
|
340
323
|
constructor(i = {}) {
|
|
341
324
|
e(this, "params");
|
|
342
325
|
e(this, "labels");
|
|
@@ -349,14 +332,27 @@ var B;
|
|
|
349
332
|
typeof i == "string" && (i = JSON.parse(i)), this.params = i.params, this.labels = i.labels, this.id = i.id, this.resource_plugin = i.resource_plugin, this.resource_key = i.resource_key, this.resource_data = i.resource_data, this.command = i.command, this.tty = i.tty;
|
|
350
333
|
}
|
|
351
334
|
static createFrom(i = {}) {
|
|
352
|
-
return new
|
|
335
|
+
return new n(i);
|
|
353
336
|
}
|
|
354
337
|
}
|
|
355
|
-
a.SessionOptions =
|
|
356
|
-
})(
|
|
357
|
-
var
|
|
338
|
+
a.SessionOptions = n;
|
|
339
|
+
})(Z || (Z = {}));
|
|
340
|
+
var X;
|
|
358
341
|
((a) => {
|
|
359
|
-
class
|
|
342
|
+
class h {
|
|
343
|
+
constructor(i = {}) {
|
|
344
|
+
e(this, "label");
|
|
345
|
+
e(this, "label_selector");
|
|
346
|
+
e(this, "paths");
|
|
347
|
+
e(this, "selectors");
|
|
348
|
+
typeof i == "string" && (i = JSON.parse(i)), this.label = i.label, this.label_selector = i.label_selector, this.paths = i.paths, this.selectors = i.selectors;
|
|
349
|
+
}
|
|
350
|
+
static createFrom(i = {}) {
|
|
351
|
+
return new h(i);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
a.ActionTargetBuilder = h;
|
|
355
|
+
class d {
|
|
360
356
|
constructor(i = {}) {
|
|
361
357
|
e(this, "target");
|
|
362
358
|
e(this, "follow");
|
|
@@ -368,95 +364,95 @@ var G;
|
|
|
368
364
|
e(this, "limit_bytes");
|
|
369
365
|
e(this, "include_source_events");
|
|
370
366
|
e(this, "params");
|
|
371
|
-
typeof i == "string" && (i = JSON.parse(i)), this.target = i.target, this.follow = i.follow, this.include_previous = i.include_previous, this.include_timestamps = i.include_timestamps, this.tail_lines = i.tail_lines, this.since_seconds = i.since_seconds, this.since_time = this.convertValues(i.since_time,
|
|
367
|
+
typeof i == "string" && (i = JSON.parse(i)), this.target = i.target, this.follow = i.follow, this.include_previous = i.include_previous, this.include_timestamps = i.include_timestamps, this.tail_lines = i.tail_lines, this.since_seconds = i.since_seconds, this.since_time = this.convertValues(i.since_time, S.Time), this.limit_bytes = i.limit_bytes, this.include_source_events = i.include_source_events, this.params = i.params;
|
|
372
368
|
}
|
|
373
369
|
static createFrom(i = {}) {
|
|
374
|
-
return new
|
|
370
|
+
return new d(i);
|
|
375
371
|
}
|
|
376
|
-
convertValues(i,
|
|
372
|
+
convertValues(i, s, v = !1) {
|
|
377
373
|
if (!i)
|
|
378
374
|
return i;
|
|
379
375
|
if (i.slice && i.map)
|
|
380
|
-
return i.map((
|
|
376
|
+
return i.map((m) => this.convertValues(m, s));
|
|
381
377
|
if (typeof i == "object") {
|
|
382
|
-
if (
|
|
383
|
-
for (const
|
|
384
|
-
i[
|
|
378
|
+
if (v) {
|
|
379
|
+
for (const m of Object.keys(i))
|
|
380
|
+
i[m] = new s(i[m]);
|
|
385
381
|
return i;
|
|
386
382
|
}
|
|
387
|
-
return new
|
|
383
|
+
return new s(i);
|
|
388
384
|
}
|
|
389
385
|
return i;
|
|
390
386
|
}
|
|
391
387
|
}
|
|
392
|
-
a.LogSessionOptions =
|
|
393
|
-
class
|
|
388
|
+
a.LogSessionOptions = d;
|
|
389
|
+
class p {
|
|
394
390
|
constructor(i = {}) {
|
|
395
391
|
e(this, "resource_key");
|
|
396
392
|
e(this, "resource_id");
|
|
397
393
|
e(this, "resource_data");
|
|
398
394
|
e(this, "options");
|
|
399
|
-
typeof i == "string" && (i = JSON.parse(i)), this.resource_key = i.resource_key, this.resource_id = i.resource_id, this.resource_data = i.resource_data, this.options = this.convertValues(i.options,
|
|
395
|
+
typeof i == "string" && (i = JSON.parse(i)), this.resource_key = i.resource_key, this.resource_id = i.resource_id, this.resource_data = i.resource_data, this.options = this.convertValues(i.options, d);
|
|
400
396
|
}
|
|
401
397
|
static createFrom(i = {}) {
|
|
402
|
-
return new
|
|
398
|
+
return new p(i);
|
|
403
399
|
}
|
|
404
|
-
convertValues(i,
|
|
400
|
+
convertValues(i, s, v = !1) {
|
|
405
401
|
if (!i)
|
|
406
402
|
return i;
|
|
407
403
|
if (i.slice && i.map)
|
|
408
|
-
return i.map((
|
|
404
|
+
return i.map((m) => this.convertValues(m, s));
|
|
409
405
|
if (typeof i == "object") {
|
|
410
|
-
if (
|
|
411
|
-
for (const
|
|
412
|
-
i[
|
|
406
|
+
if (v) {
|
|
407
|
+
for (const m of Object.keys(i))
|
|
408
|
+
i[m] = new s(i[m]);
|
|
413
409
|
return i;
|
|
414
410
|
}
|
|
415
|
-
return new
|
|
411
|
+
return new s(i);
|
|
416
412
|
}
|
|
417
413
|
return i;
|
|
418
414
|
}
|
|
419
415
|
}
|
|
420
|
-
a.CreateSessionOptions =
|
|
421
|
-
class
|
|
416
|
+
a.CreateSessionOptions = p;
|
|
417
|
+
class o {
|
|
422
418
|
constructor(i = {}) {
|
|
423
419
|
e(this, "plugin");
|
|
424
420
|
e(this, "resource");
|
|
425
421
|
e(this, "target_builder");
|
|
426
|
-
typeof i == "string" && (i = JSON.parse(i)), this.plugin = i.plugin, this.resource = i.resource, this.target_builder = this.convertValues(i.target_builder,
|
|
422
|
+
typeof i == "string" && (i = JSON.parse(i)), this.plugin = i.plugin, this.resource = i.resource, this.target_builder = this.convertValues(i.target_builder, h);
|
|
427
423
|
}
|
|
428
424
|
static createFrom(i = {}) {
|
|
429
|
-
return new
|
|
425
|
+
return new o(i);
|
|
430
426
|
}
|
|
431
|
-
convertValues(i,
|
|
427
|
+
convertValues(i, s, v = !1) {
|
|
432
428
|
if (!i)
|
|
433
429
|
return i;
|
|
434
430
|
if (i.slice && i.map)
|
|
435
|
-
return i.map((
|
|
431
|
+
return i.map((m) => this.convertValues(m, s));
|
|
436
432
|
if (typeof i == "object") {
|
|
437
|
-
if (
|
|
438
|
-
for (const
|
|
439
|
-
i[
|
|
433
|
+
if (v) {
|
|
434
|
+
for (const m of Object.keys(i))
|
|
435
|
+
i[m] = new s(i[m]);
|
|
440
436
|
return i;
|
|
441
437
|
}
|
|
442
|
-
return new
|
|
438
|
+
return new s(i);
|
|
443
439
|
}
|
|
444
440
|
return i;
|
|
445
441
|
}
|
|
446
442
|
}
|
|
447
|
-
a.Handler =
|
|
448
|
-
class
|
|
443
|
+
a.Handler = o;
|
|
444
|
+
class f {
|
|
449
445
|
constructor(i = {}) {
|
|
450
446
|
e(this, "id");
|
|
451
447
|
e(this, "labels");
|
|
452
448
|
typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.labels = i.labels;
|
|
453
449
|
}
|
|
454
450
|
static createFrom(i = {}) {
|
|
455
|
-
return new
|
|
451
|
+
return new f(i);
|
|
456
452
|
}
|
|
457
453
|
}
|
|
458
|
-
a.LogSource =
|
|
459
|
-
class
|
|
454
|
+
a.LogSource = f;
|
|
455
|
+
class n {
|
|
460
456
|
constructor(i = {}) {
|
|
461
457
|
e(this, "id");
|
|
462
458
|
e(this, "plugin_id");
|
|
@@ -467,43 +463,43 @@ var G;
|
|
|
467
463
|
e(this, "status");
|
|
468
464
|
e(this, "active_sources");
|
|
469
465
|
e(this, "created_at");
|
|
470
|
-
typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.plugin_id = i.plugin_id, this.connection_id = i.connection_id, this.resource_key = i.resource_key, this.resource_id = i.resource_id, this.options = this.convertValues(i.options,
|
|
466
|
+
typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.plugin_id = i.plugin_id, this.connection_id = i.connection_id, this.resource_key = i.resource_key, this.resource_id = i.resource_id, this.options = this.convertValues(i.options, d), this.status = i.status, this.active_sources = this.convertValues(i.active_sources, f), this.created_at = this.convertValues(i.created_at, S.Time);
|
|
471
467
|
}
|
|
472
468
|
static createFrom(i = {}) {
|
|
473
|
-
return new
|
|
469
|
+
return new n(i);
|
|
474
470
|
}
|
|
475
|
-
convertValues(i,
|
|
471
|
+
convertValues(i, s, v = !1) {
|
|
476
472
|
if (!i)
|
|
477
473
|
return i;
|
|
478
474
|
if (i.slice && i.map)
|
|
479
|
-
return i.map((
|
|
475
|
+
return i.map((m) => this.convertValues(m, s));
|
|
480
476
|
if (typeof i == "object") {
|
|
481
|
-
if (
|
|
482
|
-
for (const
|
|
483
|
-
i[
|
|
477
|
+
if (v) {
|
|
478
|
+
for (const m of Object.keys(i))
|
|
479
|
+
i[m] = new s(i[m]);
|
|
484
480
|
return i;
|
|
485
481
|
}
|
|
486
|
-
return new
|
|
482
|
+
return new s(i);
|
|
487
483
|
}
|
|
488
484
|
return i;
|
|
489
485
|
}
|
|
490
486
|
}
|
|
491
|
-
a.LogSession =
|
|
492
|
-
})(
|
|
493
|
-
var
|
|
487
|
+
a.LogSession = n;
|
|
488
|
+
})(X || (X = {}));
|
|
489
|
+
var $;
|
|
494
490
|
((a) => {
|
|
495
|
-
class
|
|
491
|
+
class h {
|
|
496
492
|
constructor(o = {}) {
|
|
497
493
|
e(this, "displayName");
|
|
498
494
|
e(this, "pattern");
|
|
499
495
|
typeof o == "string" && (o = JSON.parse(o)), this.displayName = o.displayName, this.pattern = o.pattern;
|
|
500
496
|
}
|
|
501
497
|
static createFrom(o = {}) {
|
|
502
|
-
return new
|
|
498
|
+
return new h(o);
|
|
503
499
|
}
|
|
504
500
|
}
|
|
505
|
-
a.FileFilter =
|
|
506
|
-
class
|
|
501
|
+
a.FileFilter = h;
|
|
502
|
+
class d {
|
|
507
503
|
constructor(o = {}) {
|
|
508
504
|
e(this, "defaultDirectory");
|
|
509
505
|
e(this, "defaultFilename");
|
|
@@ -513,33 +509,33 @@ var z;
|
|
|
513
509
|
e(this, "canCreateDirectories");
|
|
514
510
|
e(this, "resolvesAliases");
|
|
515
511
|
e(this, "treatPackagesAsDirectories");
|
|
516
|
-
typeof o == "string" && (o = JSON.parse(o)), this.defaultDirectory = o.defaultDirectory, this.defaultFilename = o.defaultFilename, this.title = o.title, this.filters = this.convertValues(o.filters,
|
|
512
|
+
typeof o == "string" && (o = JSON.parse(o)), this.defaultDirectory = o.defaultDirectory, this.defaultFilename = o.defaultFilename, this.title = o.title, this.filters = this.convertValues(o.filters, h), this.showHiddenFiles = o.showHiddenFiles, this.canCreateDirectories = o.canCreateDirectories, this.resolvesAliases = o.resolvesAliases, this.treatPackagesAsDirectories = o.treatPackagesAsDirectories;
|
|
517
513
|
}
|
|
518
514
|
static createFrom(o = {}) {
|
|
519
|
-
return new
|
|
515
|
+
return new d(o);
|
|
520
516
|
}
|
|
521
|
-
convertValues(o,
|
|
517
|
+
convertValues(o, f, n = !1) {
|
|
522
518
|
if (!o)
|
|
523
519
|
return o;
|
|
524
520
|
if (o.slice && o.map)
|
|
525
|
-
return o.map((
|
|
521
|
+
return o.map((l) => this.convertValues(l, f));
|
|
526
522
|
if (typeof o == "object") {
|
|
527
|
-
if (
|
|
528
|
-
for (const
|
|
529
|
-
o[
|
|
523
|
+
if (n) {
|
|
524
|
+
for (const l of Object.keys(o))
|
|
525
|
+
o[l] = new f(o[l]);
|
|
530
526
|
return o;
|
|
531
527
|
}
|
|
532
|
-
return new
|
|
528
|
+
return new f(o);
|
|
533
529
|
}
|
|
534
530
|
return o;
|
|
535
531
|
}
|
|
536
532
|
}
|
|
537
|
-
a.FileDialogOptions =
|
|
538
|
-
})(
|
|
539
|
-
var
|
|
533
|
+
a.FileDialogOptions = d;
|
|
534
|
+
})($ || ($ = {}));
|
|
535
|
+
var W;
|
|
540
536
|
((a) => {
|
|
541
|
-
class
|
|
542
|
-
constructor(
|
|
537
|
+
class h {
|
|
538
|
+
constructor(r = {}) {
|
|
543
539
|
e(this, "metric_id");
|
|
544
540
|
e(this, "min");
|
|
545
541
|
e(this, "max");
|
|
@@ -551,82 +547,82 @@ var K;
|
|
|
551
547
|
e(this, "count");
|
|
552
548
|
e(this, "window");
|
|
553
549
|
e(this, "labels");
|
|
554
|
-
typeof
|
|
550
|
+
typeof r == "string" && (r = JSON.parse(r)), this.metric_id = r.metric_id, this.min = r.min, this.max = r.max, this.avg = r.avg, this.sum = r.sum, this.p50 = r.p50, this.p90 = r.p90, this.p99 = r.p99, this.count = r.count, this.window = r.window, this.labels = r.labels;
|
|
555
551
|
}
|
|
556
|
-
static createFrom(
|
|
557
|
-
return new
|
|
552
|
+
static createFrom(r = {}) {
|
|
553
|
+
return new h(r);
|
|
558
554
|
}
|
|
559
555
|
}
|
|
560
|
-
a.AggregateValue =
|
|
561
|
-
class
|
|
562
|
-
constructor(
|
|
556
|
+
a.AggregateValue = h;
|
|
557
|
+
class d {
|
|
558
|
+
constructor(r = {}) {
|
|
563
559
|
e(this, "min");
|
|
564
560
|
e(this, "max");
|
|
565
561
|
e(this, "color");
|
|
566
|
-
typeof
|
|
562
|
+
typeof r == "string" && (r = JSON.parse(r)), this.min = r.min, this.max = r.max, this.color = r.color;
|
|
567
563
|
}
|
|
568
|
-
static createFrom(
|
|
569
|
-
return new
|
|
564
|
+
static createFrom(r = {}) {
|
|
565
|
+
return new d(r);
|
|
570
566
|
}
|
|
571
567
|
}
|
|
572
|
-
a.ColorRange =
|
|
573
|
-
class
|
|
574
|
-
constructor(
|
|
568
|
+
a.ColorRange = d;
|
|
569
|
+
class p {
|
|
570
|
+
constructor(r = {}) {
|
|
575
571
|
e(this, "metric_id");
|
|
576
572
|
e(this, "value");
|
|
577
573
|
e(this, "timestamp");
|
|
578
574
|
e(this, "labels");
|
|
579
|
-
typeof
|
|
575
|
+
typeof r == "string" && (r = JSON.parse(r)), this.metric_id = r.metric_id, this.value = r.value, this.timestamp = this.convertValues(r.timestamp, S.Time), this.labels = r.labels;
|
|
580
576
|
}
|
|
581
|
-
static createFrom(
|
|
582
|
-
return new
|
|
577
|
+
static createFrom(r = {}) {
|
|
578
|
+
return new p(r);
|
|
583
579
|
}
|
|
584
|
-
convertValues(
|
|
585
|
-
if (!
|
|
586
|
-
return
|
|
587
|
-
if (
|
|
588
|
-
return
|
|
589
|
-
if (typeof
|
|
580
|
+
convertValues(r, g, b = !1) {
|
|
581
|
+
if (!r)
|
|
582
|
+
return r;
|
|
583
|
+
if (r.slice && r.map)
|
|
584
|
+
return r.map((u) => this.convertValues(u, g));
|
|
585
|
+
if (typeof r == "object") {
|
|
590
586
|
if (b) {
|
|
591
|
-
for (const
|
|
592
|
-
|
|
593
|
-
return
|
|
587
|
+
for (const u of Object.keys(r))
|
|
588
|
+
r[u] = new g(r[u]);
|
|
589
|
+
return r;
|
|
594
590
|
}
|
|
595
|
-
return new
|
|
591
|
+
return new g(r);
|
|
596
592
|
}
|
|
597
|
-
return
|
|
593
|
+
return r;
|
|
598
594
|
}
|
|
599
595
|
}
|
|
600
|
-
a.CurrentValue =
|
|
596
|
+
a.CurrentValue = p;
|
|
601
597
|
class o {
|
|
602
|
-
constructor(
|
|
598
|
+
constructor(r = {}) {
|
|
603
599
|
e(this, "timestamp");
|
|
604
600
|
e(this, "value");
|
|
605
601
|
e(this, "labels");
|
|
606
|
-
typeof
|
|
602
|
+
typeof r == "string" && (r = JSON.parse(r)), this.timestamp = this.convertValues(r.timestamp, S.Time), this.value = r.value, this.labels = r.labels;
|
|
607
603
|
}
|
|
608
|
-
static createFrom(
|
|
609
|
-
return new o(
|
|
604
|
+
static createFrom(r = {}) {
|
|
605
|
+
return new o(r);
|
|
610
606
|
}
|
|
611
|
-
convertValues(
|
|
612
|
-
if (!
|
|
613
|
-
return
|
|
614
|
-
if (
|
|
615
|
-
return
|
|
616
|
-
if (typeof
|
|
607
|
+
convertValues(r, g, b = !1) {
|
|
608
|
+
if (!r)
|
|
609
|
+
return r;
|
|
610
|
+
if (r.slice && r.map)
|
|
611
|
+
return r.map((u) => this.convertValues(u, g));
|
|
612
|
+
if (typeof r == "object") {
|
|
617
613
|
if (b) {
|
|
618
|
-
for (const
|
|
619
|
-
|
|
620
|
-
return
|
|
614
|
+
for (const u of Object.keys(r))
|
|
615
|
+
r[u] = new g(r[u]);
|
|
616
|
+
return r;
|
|
621
617
|
}
|
|
622
|
-
return new
|
|
618
|
+
return new g(r);
|
|
623
619
|
}
|
|
624
|
-
return
|
|
620
|
+
return r;
|
|
625
621
|
}
|
|
626
622
|
}
|
|
627
623
|
a.DataPoint = o;
|
|
628
|
-
class
|
|
629
|
-
constructor(
|
|
624
|
+
class f {
|
|
625
|
+
constructor(r = {}) {
|
|
630
626
|
e(this, "id");
|
|
631
627
|
e(this, "name");
|
|
632
628
|
e(this, "unit");
|
|
@@ -635,140 +631,140 @@ var K;
|
|
|
635
631
|
e(this, "format_string");
|
|
636
632
|
e(this, "supported_shapes");
|
|
637
633
|
e(this, "chart_group");
|
|
638
|
-
typeof
|
|
634
|
+
typeof r == "string" && (r = JSON.parse(r)), this.id = r.id, this.name = r.name, this.unit = r.unit, this.icon = r.icon, this.color_ranges = this.convertValues(r.color_ranges, d), this.format_string = r.format_string, this.supported_shapes = r.supported_shapes, this.chart_group = r.chart_group;
|
|
639
635
|
}
|
|
640
|
-
static createFrom(
|
|
641
|
-
return new
|
|
636
|
+
static createFrom(r = {}) {
|
|
637
|
+
return new f(r);
|
|
642
638
|
}
|
|
643
|
-
convertValues(
|
|
644
|
-
if (!
|
|
645
|
-
return
|
|
646
|
-
if (
|
|
647
|
-
return
|
|
648
|
-
if (typeof
|
|
639
|
+
convertValues(r, g, b = !1) {
|
|
640
|
+
if (!r)
|
|
641
|
+
return r;
|
|
642
|
+
if (r.slice && r.map)
|
|
643
|
+
return r.map((u) => this.convertValues(u, g));
|
|
644
|
+
if (typeof r == "object") {
|
|
649
645
|
if (b) {
|
|
650
|
-
for (const
|
|
651
|
-
|
|
652
|
-
return
|
|
646
|
+
for (const u of Object.keys(r))
|
|
647
|
+
r[u] = new g(r[u]);
|
|
648
|
+
return r;
|
|
653
649
|
}
|
|
654
|
-
return new
|
|
650
|
+
return new g(r);
|
|
655
651
|
}
|
|
656
|
-
return
|
|
652
|
+
return r;
|
|
657
653
|
}
|
|
658
654
|
}
|
|
659
|
-
a.MetricDescriptor =
|
|
660
|
-
class
|
|
661
|
-
constructor(
|
|
655
|
+
a.MetricDescriptor = f;
|
|
656
|
+
class n {
|
|
657
|
+
constructor(r = {}) {
|
|
662
658
|
e(this, "resource");
|
|
663
659
|
e(this, "metrics");
|
|
664
|
-
typeof
|
|
660
|
+
typeof r == "string" && (r = JSON.parse(r)), this.resource = r.resource, this.metrics = this.convertValues(r.metrics, f);
|
|
665
661
|
}
|
|
666
|
-
static createFrom(
|
|
667
|
-
return new r
|
|
662
|
+
static createFrom(r = {}) {
|
|
663
|
+
return new n(r);
|
|
668
664
|
}
|
|
669
|
-
convertValues(
|
|
670
|
-
if (!
|
|
671
|
-
return
|
|
672
|
-
if (
|
|
673
|
-
return
|
|
674
|
-
if (typeof
|
|
665
|
+
convertValues(r, g, b = !1) {
|
|
666
|
+
if (!r)
|
|
667
|
+
return r;
|
|
668
|
+
if (r.slice && r.map)
|
|
669
|
+
return r.map((u) => this.convertValues(u, g));
|
|
670
|
+
if (typeof r == "object") {
|
|
675
671
|
if (b) {
|
|
676
|
-
for (const
|
|
677
|
-
|
|
678
|
-
return
|
|
672
|
+
for (const u of Object.keys(r))
|
|
673
|
+
r[u] = new g(r[u]);
|
|
674
|
+
return r;
|
|
679
675
|
}
|
|
680
|
-
return new
|
|
676
|
+
return new g(r);
|
|
681
677
|
}
|
|
682
|
-
return
|
|
678
|
+
return r;
|
|
683
679
|
}
|
|
684
680
|
}
|
|
685
|
-
a.Handler =
|
|
686
|
-
class
|
|
687
|
-
constructor(
|
|
681
|
+
a.Handler = n;
|
|
682
|
+
class l {
|
|
683
|
+
constructor(r = {}) {
|
|
688
684
|
e(this, "plugin_id");
|
|
689
685
|
e(this, "provider_id");
|
|
690
686
|
e(this, "name");
|
|
691
687
|
e(this, "icon");
|
|
692
688
|
e(this, "description");
|
|
693
689
|
e(this, "handlers");
|
|
694
|
-
typeof
|
|
690
|
+
typeof r == "string" && (r = JSON.parse(r)), this.plugin_id = r.plugin_id, this.provider_id = r.provider_id, this.name = r.name, this.icon = r.icon, this.description = r.description, this.handlers = this.convertValues(r.handlers, n);
|
|
695
691
|
}
|
|
696
|
-
static createFrom(
|
|
697
|
-
return new
|
|
692
|
+
static createFrom(r = {}) {
|
|
693
|
+
return new l(r);
|
|
698
694
|
}
|
|
699
|
-
convertValues(
|
|
700
|
-
if (!
|
|
701
|
-
return
|
|
702
|
-
if (
|
|
703
|
-
return
|
|
704
|
-
if (typeof
|
|
695
|
+
convertValues(r, g, b = !1) {
|
|
696
|
+
if (!r)
|
|
697
|
+
return r;
|
|
698
|
+
if (r.slice && r.map)
|
|
699
|
+
return r.map((u) => this.convertValues(u, g));
|
|
700
|
+
if (typeof r == "object") {
|
|
705
701
|
if (b) {
|
|
706
|
-
for (const
|
|
707
|
-
|
|
708
|
-
return
|
|
702
|
+
for (const u of Object.keys(r))
|
|
703
|
+
r[u] = new g(r[u]);
|
|
704
|
+
return r;
|
|
709
705
|
}
|
|
710
|
-
return new
|
|
706
|
+
return new g(r);
|
|
711
707
|
}
|
|
712
|
-
return
|
|
708
|
+
return r;
|
|
713
709
|
}
|
|
714
710
|
}
|
|
715
|
-
a.MetricProviderSummary =
|
|
716
|
-
class
|
|
717
|
-
constructor(
|
|
711
|
+
a.MetricProviderSummary = l;
|
|
712
|
+
class i {
|
|
713
|
+
constructor(r = {}) {
|
|
718
714
|
e(this, "metric_id");
|
|
719
715
|
e(this, "data_points");
|
|
720
716
|
e(this, "labels");
|
|
721
|
-
typeof
|
|
717
|
+
typeof r == "string" && (r = JSON.parse(r)), this.metric_id = r.metric_id, this.data_points = this.convertValues(r.data_points, o), this.labels = r.labels;
|
|
722
718
|
}
|
|
723
|
-
static createFrom(
|
|
724
|
-
return new
|
|
719
|
+
static createFrom(r = {}) {
|
|
720
|
+
return new i(r);
|
|
725
721
|
}
|
|
726
|
-
convertValues(
|
|
727
|
-
if (!
|
|
728
|
-
return
|
|
729
|
-
if (
|
|
730
|
-
return
|
|
731
|
-
if (typeof
|
|
722
|
+
convertValues(r, g, b = !1) {
|
|
723
|
+
if (!r)
|
|
724
|
+
return r;
|
|
725
|
+
if (r.slice && r.map)
|
|
726
|
+
return r.map((u) => this.convertValues(u, g));
|
|
727
|
+
if (typeof r == "object") {
|
|
732
728
|
if (b) {
|
|
733
|
-
for (const
|
|
734
|
-
|
|
735
|
-
return
|
|
729
|
+
for (const u of Object.keys(r))
|
|
730
|
+
r[u] = new g(r[u]);
|
|
731
|
+
return r;
|
|
736
732
|
}
|
|
737
|
-
return new
|
|
733
|
+
return new g(r);
|
|
738
734
|
}
|
|
739
|
-
return
|
|
735
|
+
return r;
|
|
740
736
|
}
|
|
741
737
|
}
|
|
742
|
-
a.TimeSeries =
|
|
738
|
+
a.TimeSeries = i;
|
|
743
739
|
class s {
|
|
744
|
-
constructor(
|
|
740
|
+
constructor(r = {}) {
|
|
745
741
|
e(this, "time_series");
|
|
746
742
|
e(this, "current_value");
|
|
747
743
|
e(this, "aggregate_value");
|
|
748
|
-
typeof
|
|
744
|
+
typeof r == "string" && (r = JSON.parse(r)), this.time_series = this.convertValues(r.time_series, i), this.current_value = this.convertValues(r.current_value, p), this.aggregate_value = this.convertValues(r.aggregate_value, h);
|
|
749
745
|
}
|
|
750
|
-
static createFrom(
|
|
751
|
-
return new s(
|
|
746
|
+
static createFrom(r = {}) {
|
|
747
|
+
return new s(r);
|
|
752
748
|
}
|
|
753
|
-
convertValues(
|
|
754
|
-
if (!
|
|
755
|
-
return
|
|
756
|
-
if (
|
|
757
|
-
return
|
|
758
|
-
if (typeof
|
|
749
|
+
convertValues(r, g, b = !1) {
|
|
750
|
+
if (!r)
|
|
751
|
+
return r;
|
|
752
|
+
if (r.slice && r.map)
|
|
753
|
+
return r.map((u) => this.convertValues(u, g));
|
|
754
|
+
if (typeof r == "object") {
|
|
759
755
|
if (b) {
|
|
760
|
-
for (const
|
|
761
|
-
|
|
762
|
-
return
|
|
756
|
+
for (const u of Object.keys(r))
|
|
757
|
+
r[u] = new g(r[u]);
|
|
758
|
+
return r;
|
|
763
759
|
}
|
|
764
|
-
return new
|
|
760
|
+
return new g(r);
|
|
765
761
|
}
|
|
766
|
-
return
|
|
762
|
+
return r;
|
|
767
763
|
}
|
|
768
764
|
}
|
|
769
765
|
a.MetricResult = s;
|
|
770
|
-
class
|
|
771
|
-
constructor(
|
|
766
|
+
class v {
|
|
767
|
+
constructor(r = {}) {
|
|
772
768
|
e(this, "resource_key");
|
|
773
769
|
e(this, "resource_id");
|
|
774
770
|
e(this, "resource_namespace");
|
|
@@ -779,98 +775,98 @@ var K;
|
|
|
779
775
|
e(this, "end_time");
|
|
780
776
|
e(this, "step");
|
|
781
777
|
e(this, "params");
|
|
782
|
-
typeof
|
|
778
|
+
typeof r == "string" && (r = JSON.parse(r)), this.resource_key = r.resource_key, this.resource_id = r.resource_id, this.resource_namespace = r.resource_namespace, this.resource_data = r.resource_data, this.metric_ids = r.metric_ids, this.shape = r.shape, this.start_time = this.convertValues(r.start_time, S.Time), this.end_time = this.convertValues(r.end_time, S.Time), this.step = r.step, this.params = r.params;
|
|
783
779
|
}
|
|
784
|
-
static createFrom(
|
|
785
|
-
return new
|
|
780
|
+
static createFrom(r = {}) {
|
|
781
|
+
return new v(r);
|
|
786
782
|
}
|
|
787
|
-
convertValues(
|
|
788
|
-
if (!
|
|
789
|
-
return
|
|
790
|
-
if (
|
|
791
|
-
return
|
|
792
|
-
if (typeof
|
|
783
|
+
convertValues(r, g, b = !1) {
|
|
784
|
+
if (!r)
|
|
785
|
+
return r;
|
|
786
|
+
if (r.slice && r.map)
|
|
787
|
+
return r.map((u) => this.convertValues(u, g));
|
|
788
|
+
if (typeof r == "object") {
|
|
793
789
|
if (b) {
|
|
794
|
-
for (const
|
|
795
|
-
|
|
796
|
-
return
|
|
790
|
+
for (const u of Object.keys(r))
|
|
791
|
+
r[u] = new g(r[u]);
|
|
792
|
+
return r;
|
|
797
793
|
}
|
|
798
|
-
return new
|
|
794
|
+
return new g(r);
|
|
799
795
|
}
|
|
800
|
-
return
|
|
796
|
+
return r;
|
|
801
797
|
}
|
|
802
798
|
}
|
|
803
|
-
a.QueryRequest =
|
|
804
|
-
class
|
|
805
|
-
constructor(
|
|
799
|
+
a.QueryRequest = v;
|
|
800
|
+
class m {
|
|
801
|
+
constructor(r = {}) {
|
|
806
802
|
e(this, "success");
|
|
807
803
|
e(this, "results");
|
|
808
804
|
e(this, "error");
|
|
809
|
-
typeof
|
|
805
|
+
typeof r == "string" && (r = JSON.parse(r)), this.success = r.success, this.results = this.convertValues(r.results, s), this.error = r.error;
|
|
810
806
|
}
|
|
811
|
-
static createFrom(
|
|
812
|
-
return new
|
|
807
|
+
static createFrom(r = {}) {
|
|
808
|
+
return new m(r);
|
|
813
809
|
}
|
|
814
|
-
convertValues(
|
|
815
|
-
if (!
|
|
816
|
-
return
|
|
817
|
-
if (
|
|
818
|
-
return
|
|
819
|
-
if (typeof
|
|
810
|
+
convertValues(r, g, b = !1) {
|
|
811
|
+
if (!r)
|
|
812
|
+
return r;
|
|
813
|
+
if (r.slice && r.map)
|
|
814
|
+
return r.map((u) => this.convertValues(u, g));
|
|
815
|
+
if (typeof r == "object") {
|
|
820
816
|
if (b) {
|
|
821
|
-
for (const
|
|
822
|
-
|
|
823
|
-
return
|
|
817
|
+
for (const u of Object.keys(r))
|
|
818
|
+
r[u] = new g(r[u]);
|
|
819
|
+
return r;
|
|
824
820
|
}
|
|
825
|
-
return new
|
|
821
|
+
return new g(r);
|
|
826
822
|
}
|
|
827
|
-
return
|
|
823
|
+
return r;
|
|
828
824
|
}
|
|
829
825
|
}
|
|
830
|
-
a.QueryResponse =
|
|
831
|
-
class
|
|
832
|
-
constructor(
|
|
826
|
+
a.QueryResponse = m;
|
|
827
|
+
class V {
|
|
828
|
+
constructor(r = {}) {
|
|
833
829
|
e(this, "resource_key");
|
|
834
830
|
e(this, "resource_id");
|
|
835
831
|
e(this, "resource_namespace");
|
|
836
832
|
e(this, "resource_data");
|
|
837
833
|
e(this, "metric_ids");
|
|
838
834
|
e(this, "interval");
|
|
839
|
-
typeof
|
|
835
|
+
typeof r == "string" && (r = JSON.parse(r)), this.resource_key = r.resource_key, this.resource_id = r.resource_id, this.resource_namespace = r.resource_namespace, this.resource_data = r.resource_data, this.metric_ids = r.metric_ids, this.interval = r.interval;
|
|
840
836
|
}
|
|
841
|
-
static createFrom(
|
|
842
|
-
return new
|
|
837
|
+
static createFrom(r = {}) {
|
|
838
|
+
return new V(r);
|
|
843
839
|
}
|
|
844
840
|
}
|
|
845
|
-
a.SubscribeRequest =
|
|
846
|
-
})(
|
|
847
|
-
var
|
|
841
|
+
a.SubscribeRequest = V;
|
|
842
|
+
})(W || (W = {}));
|
|
843
|
+
var tt;
|
|
848
844
|
((a) => {
|
|
849
|
-
class
|
|
850
|
-
constructor(
|
|
845
|
+
class h {
|
|
846
|
+
constructor(n = {}) {
|
|
851
847
|
e(this, "resource_id");
|
|
852
848
|
e(this, "connection_id");
|
|
853
|
-
typeof
|
|
849
|
+
typeof n == "string" && (n = JSON.parse(n)), this.resource_id = n.resource_id, this.connection_id = n.connection_id;
|
|
854
850
|
}
|
|
855
|
-
static createFrom(
|
|
856
|
-
return new
|
|
851
|
+
static createFrom(n = {}) {
|
|
852
|
+
return new h(n);
|
|
857
853
|
}
|
|
858
854
|
}
|
|
859
|
-
a.FindPortForwardSessionRequest =
|
|
860
|
-
class
|
|
861
|
-
constructor(
|
|
855
|
+
a.FindPortForwardSessionRequest = h;
|
|
856
|
+
class d {
|
|
857
|
+
constructor(n = {}) {
|
|
862
858
|
e(this, "algorithm");
|
|
863
859
|
e(this, "key");
|
|
864
860
|
e(this, "enabled");
|
|
865
|
-
typeof
|
|
861
|
+
typeof n == "string" && (n = JSON.parse(n)), this.algorithm = n.algorithm, this.key = n.key, this.enabled = n.enabled;
|
|
866
862
|
}
|
|
867
|
-
static createFrom(
|
|
868
|
-
return new
|
|
863
|
+
static createFrom(n = {}) {
|
|
864
|
+
return new d(n);
|
|
869
865
|
}
|
|
870
866
|
}
|
|
871
|
-
a.PortForwardSessionEncryption =
|
|
872
|
-
class
|
|
873
|
-
constructor(
|
|
867
|
+
a.PortForwardSessionEncryption = d;
|
|
868
|
+
class p {
|
|
869
|
+
constructor(n = {}) {
|
|
874
870
|
e(this, "created_at");
|
|
875
871
|
e(this, "updated_at");
|
|
876
872
|
e(this, "connection");
|
|
@@ -882,30 +878,30 @@ var H;
|
|
|
882
878
|
e(this, "encryption");
|
|
883
879
|
e(this, "local_port");
|
|
884
880
|
e(this, "remote_port");
|
|
885
|
-
typeof
|
|
881
|
+
typeof n == "string" && (n = JSON.parse(n)), this.created_at = this.convertValues(n.created_at, S.Time), this.updated_at = this.convertValues(n.updated_at, S.Time), this.connection = n.connection, this.labels = n.labels, this.id = n.id, this.protocol = n.protocol, this.state = n.state, this.connection_type = n.connection_type, this.encryption = this.convertValues(n.encryption, d), this.local_port = n.local_port, this.remote_port = n.remote_port;
|
|
886
882
|
}
|
|
887
|
-
static createFrom(
|
|
888
|
-
return new
|
|
883
|
+
static createFrom(n = {}) {
|
|
884
|
+
return new p(n);
|
|
889
885
|
}
|
|
890
|
-
convertValues(
|
|
891
|
-
if (!
|
|
892
|
-
return
|
|
893
|
-
if (
|
|
894
|
-
return
|
|
895
|
-
if (typeof
|
|
896
|
-
if (
|
|
897
|
-
for (const s of Object.keys(
|
|
898
|
-
|
|
899
|
-
return
|
|
886
|
+
convertValues(n, l, i = !1) {
|
|
887
|
+
if (!n)
|
|
888
|
+
return n;
|
|
889
|
+
if (n.slice && n.map)
|
|
890
|
+
return n.map((s) => this.convertValues(s, l));
|
|
891
|
+
if (typeof n == "object") {
|
|
892
|
+
if (i) {
|
|
893
|
+
for (const s of Object.keys(n))
|
|
894
|
+
n[s] = new l(n[s]);
|
|
895
|
+
return n;
|
|
900
896
|
}
|
|
901
|
-
return new
|
|
897
|
+
return new l(n);
|
|
902
898
|
}
|
|
903
|
-
return
|
|
899
|
+
return n;
|
|
904
900
|
}
|
|
905
901
|
}
|
|
906
|
-
a.PortForwardSession =
|
|
902
|
+
a.PortForwardSession = p;
|
|
907
903
|
class o {
|
|
908
|
-
constructor(
|
|
904
|
+
constructor(n = {}) {
|
|
909
905
|
e(this, "connection");
|
|
910
906
|
e(this, "labels");
|
|
911
907
|
e(this, "params");
|
|
@@ -914,63 +910,98 @@ var H;
|
|
|
914
910
|
e(this, "encryption");
|
|
915
911
|
e(this, "local_port");
|
|
916
912
|
e(this, "remote_port");
|
|
917
|
-
typeof
|
|
913
|
+
typeof n == "string" && (n = JSON.parse(n)), this.connection = n.connection, this.labels = n.labels, this.params = n.params, this.protocol = n.protocol, this.connection_type = n.connection_type, this.encryption = this.convertValues(n.encryption, d), this.local_port = n.local_port, this.remote_port = n.remote_port;
|
|
918
914
|
}
|
|
919
|
-
static createFrom(
|
|
920
|
-
return new o(
|
|
915
|
+
static createFrom(n = {}) {
|
|
916
|
+
return new o(n);
|
|
921
917
|
}
|
|
922
|
-
convertValues(
|
|
923
|
-
if (!
|
|
924
|
-
return
|
|
925
|
-
if (
|
|
926
|
-
return
|
|
927
|
-
if (typeof
|
|
928
|
-
if (
|
|
929
|
-
for (const s of Object.keys(
|
|
930
|
-
|
|
931
|
-
return
|
|
918
|
+
convertValues(n, l, i = !1) {
|
|
919
|
+
if (!n)
|
|
920
|
+
return n;
|
|
921
|
+
if (n.slice && n.map)
|
|
922
|
+
return n.map((s) => this.convertValues(s, l));
|
|
923
|
+
if (typeof n == "object") {
|
|
924
|
+
if (i) {
|
|
925
|
+
for (const s of Object.keys(n))
|
|
926
|
+
n[s] = new l(n[s]);
|
|
927
|
+
return n;
|
|
932
928
|
}
|
|
933
|
-
return new
|
|
929
|
+
return new l(n);
|
|
934
930
|
}
|
|
935
|
-
return
|
|
931
|
+
return n;
|
|
936
932
|
}
|
|
937
933
|
}
|
|
938
934
|
a.PortForwardSessionOptions = o;
|
|
939
|
-
})(
|
|
940
|
-
var
|
|
935
|
+
})(tt || (tt = {}));
|
|
936
|
+
var et;
|
|
941
937
|
((a) => {
|
|
942
|
-
class
|
|
943
|
-
constructor(
|
|
938
|
+
class h {
|
|
939
|
+
constructor(p = {}) {
|
|
944
940
|
e(this, "DevMode");
|
|
945
941
|
e(this, "DevModePath");
|
|
946
942
|
e(this, "ExistingState");
|
|
947
|
-
typeof
|
|
948
|
-
}
|
|
949
|
-
static createFrom(
|
|
950
|
-
return new p
|
|
951
|
-
}
|
|
952
|
-
convertValues(
|
|
953
|
-
if (!
|
|
954
|
-
return
|
|
955
|
-
if (
|
|
956
|
-
return
|
|
957
|
-
if (typeof
|
|
958
|
-
if (
|
|
959
|
-
for (const
|
|
960
|
-
|
|
961
|
-
return
|
|
943
|
+
typeof p == "string" && (p = JSON.parse(p)), this.DevMode = p.DevMode, this.DevModePath = p.DevModePath, this.ExistingState = this.convertValues(p.ExistingState, Y.PluginStateRecord);
|
|
944
|
+
}
|
|
945
|
+
static createFrom(p = {}) {
|
|
946
|
+
return new h(p);
|
|
947
|
+
}
|
|
948
|
+
convertValues(p, o, f = !1) {
|
|
949
|
+
if (!p)
|
|
950
|
+
return p;
|
|
951
|
+
if (p.slice && p.map)
|
|
952
|
+
return p.map((n) => this.convertValues(n, o));
|
|
953
|
+
if (typeof p == "object") {
|
|
954
|
+
if (f) {
|
|
955
|
+
for (const n of Object.keys(p))
|
|
956
|
+
p[n] = new o(p[n]);
|
|
957
|
+
return p;
|
|
962
958
|
}
|
|
963
|
-
return new o(
|
|
959
|
+
return new o(p);
|
|
964
960
|
}
|
|
965
|
-
return
|
|
961
|
+
return p;
|
|
966
962
|
}
|
|
967
963
|
}
|
|
968
|
-
a.LoadPluginOptions =
|
|
969
|
-
})(
|
|
970
|
-
var
|
|
964
|
+
a.LoadPluginOptions = h;
|
|
965
|
+
})(et || (et = {}));
|
|
966
|
+
var it;
|
|
971
967
|
((a) => {
|
|
968
|
+
class h {
|
|
969
|
+
constructor(f = {}) {
|
|
970
|
+
e(this, "timestamp");
|
|
971
|
+
e(this, "pluginID");
|
|
972
|
+
e(this, "source");
|
|
973
|
+
e(this, "level");
|
|
974
|
+
e(this, "message");
|
|
975
|
+
typeof f == "string" && (f = JSON.parse(f)), this.timestamp = f.timestamp, this.pluginID = f.pluginID, this.source = f.source, this.level = f.level, this.message = f.message;
|
|
976
|
+
}
|
|
977
|
+
static createFrom(f = {}) {
|
|
978
|
+
return new h(f);
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
a.LogEntry = h;
|
|
982
|
+
class d {
|
|
983
|
+
static createFrom(f = {}) {
|
|
984
|
+
return new d(f);
|
|
985
|
+
}
|
|
986
|
+
constructor(f = {}) {
|
|
987
|
+
typeof f == "string" && (f = JSON.parse(f));
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
a.Manager = d;
|
|
972
991
|
class p {
|
|
973
|
-
|
|
992
|
+
static createFrom(f = {}) {
|
|
993
|
+
return new p(f);
|
|
994
|
+
}
|
|
995
|
+
constructor(f = {}) {
|
|
996
|
+
typeof f == "string" && (f = JSON.parse(f));
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
a.PluginLogStream = p;
|
|
1000
|
+
})(it || (it = {}));
|
|
1001
|
+
var nt;
|
|
1002
|
+
((a) => {
|
|
1003
|
+
class h {
|
|
1004
|
+
constructor(l = {}) {
|
|
974
1005
|
e(this, "id");
|
|
975
1006
|
e(this, "name");
|
|
976
1007
|
e(this, "description");
|
|
@@ -990,69 +1021,69 @@ var Y;
|
|
|
990
1021
|
e(this, "installed_version");
|
|
991
1022
|
e(this, "latest_version");
|
|
992
1023
|
e(this, "update_available");
|
|
993
|
-
typeof
|
|
1024
|
+
typeof l == "string" && (l = JSON.parse(l)), this.id = l.id, this.name = l.name, this.description = l.description, this.icon_url = l.icon_url, this.category = l.category, this.tags = l.tags, this.license = l.license, this.official = l.official, this.featured = l.featured, this.download_count = l.download_count, this.average_rating = l.average_rating, this.review_count = l.review_count, this.repository = l.repository, this.url = l.url, this.publisher_name = l.publisher_name, this.installed = l.installed, this.installed_version = l.installed_version, this.latest_version = l.latest_version, this.update_available = l.update_available;
|
|
994
1025
|
}
|
|
995
|
-
static createFrom(
|
|
996
|
-
return new
|
|
1026
|
+
static createFrom(l = {}) {
|
|
1027
|
+
return new h(l);
|
|
997
1028
|
}
|
|
998
1029
|
}
|
|
999
|
-
a.AvailablePlugin =
|
|
1000
|
-
class
|
|
1001
|
-
constructor(
|
|
1030
|
+
a.AvailablePlugin = h;
|
|
1031
|
+
class d {
|
|
1032
|
+
constructor(l = {}) {
|
|
1002
1033
|
e(this, "date");
|
|
1003
1034
|
e(this, "count");
|
|
1004
|
-
typeof
|
|
1035
|
+
typeof l == "string" && (l = JSON.parse(l)), this.date = l.date, this.count = l.count;
|
|
1005
1036
|
}
|
|
1006
|
-
static createFrom(
|
|
1007
|
-
return new
|
|
1037
|
+
static createFrom(l = {}) {
|
|
1038
|
+
return new d(l);
|
|
1008
1039
|
}
|
|
1009
1040
|
}
|
|
1010
|
-
a.DailyStat =
|
|
1011
|
-
class
|
|
1012
|
-
constructor(
|
|
1041
|
+
a.DailyStat = d;
|
|
1042
|
+
class p {
|
|
1043
|
+
constructor(l = {}) {
|
|
1013
1044
|
e(this, "total");
|
|
1014
1045
|
e(this, "last_month");
|
|
1015
1046
|
e(this, "last_week");
|
|
1016
1047
|
e(this, "daily_stats");
|
|
1017
|
-
typeof
|
|
1048
|
+
typeof l == "string" && (l = JSON.parse(l)), this.total = l.total, this.last_month = l.last_month, this.last_week = l.last_week, this.daily_stats = this.convertValues(l.daily_stats, d);
|
|
1018
1049
|
}
|
|
1019
|
-
static createFrom(
|
|
1020
|
-
return new l
|
|
1050
|
+
static createFrom(l = {}) {
|
|
1051
|
+
return new p(l);
|
|
1021
1052
|
}
|
|
1022
|
-
convertValues(
|
|
1023
|
-
if (!
|
|
1024
|
-
return
|
|
1025
|
-
if (
|
|
1026
|
-
return
|
|
1027
|
-
if (typeof
|
|
1053
|
+
convertValues(l, i, s = !1) {
|
|
1054
|
+
if (!l)
|
|
1055
|
+
return l;
|
|
1056
|
+
if (l.slice && l.map)
|
|
1057
|
+
return l.map((v) => this.convertValues(v, i));
|
|
1058
|
+
if (typeof l == "object") {
|
|
1028
1059
|
if (s) {
|
|
1029
|
-
for (const
|
|
1030
|
-
|
|
1031
|
-
return
|
|
1060
|
+
for (const v of Object.keys(l))
|
|
1061
|
+
l[v] = new i(l[v]);
|
|
1062
|
+
return l;
|
|
1032
1063
|
}
|
|
1033
|
-
return new
|
|
1064
|
+
return new i(l);
|
|
1034
1065
|
}
|
|
1035
|
-
return
|
|
1066
|
+
return l;
|
|
1036
1067
|
}
|
|
1037
1068
|
}
|
|
1038
|
-
a.DownloadStats =
|
|
1069
|
+
a.DownloadStats = p;
|
|
1039
1070
|
class o {
|
|
1040
|
-
constructor(
|
|
1071
|
+
constructor(l = {}) {
|
|
1041
1072
|
e(this, "id");
|
|
1042
1073
|
e(this, "user_id");
|
|
1043
1074
|
e(this, "rating");
|
|
1044
1075
|
e(this, "title");
|
|
1045
1076
|
e(this, "body");
|
|
1046
1077
|
e(this, "created_at");
|
|
1047
|
-
typeof
|
|
1078
|
+
typeof l == "string" && (l = JSON.parse(l)), this.id = l.id, this.user_id = l.user_id, this.rating = l.rating, this.title = l.title, this.body = l.body, this.created_at = l.created_at;
|
|
1048
1079
|
}
|
|
1049
|
-
static createFrom(
|
|
1050
|
-
return new o(
|
|
1080
|
+
static createFrom(l = {}) {
|
|
1081
|
+
return new o(l);
|
|
1051
1082
|
}
|
|
1052
1083
|
}
|
|
1053
1084
|
a.Review = o;
|
|
1054
|
-
class
|
|
1055
|
-
constructor(
|
|
1085
|
+
class f {
|
|
1086
|
+
constructor(l = {}) {
|
|
1056
1087
|
e(this, "version");
|
|
1057
1088
|
e(this, "description");
|
|
1058
1089
|
e(this, "changelog");
|
|
@@ -1060,191 +1091,113 @@ var Y;
|
|
|
1060
1091
|
e(this, "max_ide_version");
|
|
1061
1092
|
e(this, "capabilities");
|
|
1062
1093
|
e(this, "created_at");
|
|
1063
|
-
typeof
|
|
1094
|
+
typeof l == "string" && (l = JSON.parse(l)), this.version = l.version, this.description = l.description, this.changelog = l.changelog, this.min_ide_version = l.min_ide_version, this.max_ide_version = l.max_ide_version, this.capabilities = l.capabilities, this.created_at = l.created_at;
|
|
1064
1095
|
}
|
|
1065
|
-
static createFrom(
|
|
1066
|
-
return new
|
|
1096
|
+
static createFrom(l = {}) {
|
|
1097
|
+
return new f(l);
|
|
1067
1098
|
}
|
|
1068
1099
|
}
|
|
1069
|
-
a.VersionInfo =
|
|
1070
|
-
})(
|
|
1071
|
-
var
|
|
1100
|
+
a.VersionInfo = f;
|
|
1101
|
+
})(nt || (nt = {}));
|
|
1102
|
+
var rt;
|
|
1072
1103
|
((a) => {
|
|
1073
|
-
((
|
|
1074
|
-
|
|
1075
|
-
})(a.
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
e(this, "
|
|
1081
|
-
e(this, "multiple");
|
|
1082
|
-
e(this, "relative");
|
|
1083
|
-
e(this, "defaultPath");
|
|
1084
|
-
typeof r == "string" && (r = JSON.parse(r)), this.enabled = r.enabled, this.allowFolders = r.allowFolders, this.extensions = r.extensions, this.multiple = r.multiple, this.relative = r.relative, this.defaultPath = r.defaultPath;
|
|
1085
|
-
}
|
|
1086
|
-
static createFrom(r = {}) {
|
|
1087
|
-
return new p(r);
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
a.SettingFileSelection = p;
|
|
1091
|
-
class f {
|
|
1092
|
-
constructor(r = {}) {
|
|
1093
|
-
e(this, "label");
|
|
1104
|
+
((O) => {
|
|
1105
|
+
O[O.IDLE = 0] = "IDLE", O[O.SYNCING = 1] = "SYNCING", O[O.SYNCED = 2] = "SYNCED", O[O.ERROR = 3] = "ERROR", O[O.STOPPED = 4] = "STOPPED", O[O.FAILED = 5] = "FAILED", O[O.FORBIDDEN = 6] = "FORBIDDEN", O[O.SKIPPED = 7] = "SKIPPED";
|
|
1106
|
+
})(a.WatchState || (a.WatchState = {})), ((O) => {
|
|
1107
|
+
O[O.ON_CONNECT = 0] = "ON_CONNECT", O[O.ON_FIRST_QUERY = 1] = "ON_FIRST_QUERY", O[O.NEVER = 2] = "NEVER";
|
|
1108
|
+
})(a.SyncPolicy || (a.SyncPolicy = {}));
|
|
1109
|
+
class h {
|
|
1110
|
+
constructor(t = {}) {
|
|
1111
|
+
e(this, "type");
|
|
1094
1112
|
e(this, "description");
|
|
1095
|
-
e(this, "
|
|
1096
|
-
|
|
1113
|
+
e(this, "enum");
|
|
1114
|
+
e(this, "default");
|
|
1115
|
+
e(this, "minimum");
|
|
1116
|
+
e(this, "maximum");
|
|
1117
|
+
e(this, "properties");
|
|
1118
|
+
e(this, "required");
|
|
1119
|
+
typeof t == "string" && (t = JSON.parse(t)), this.type = t.type, this.description = t.description, this.enum = t.enum, this.default = t.default, this.minimum = t.minimum, this.maximum = t.maximum, this.properties = this.convertValues(t.properties, h, !0), this.required = t.required;
|
|
1097
1120
|
}
|
|
1098
|
-
static createFrom(
|
|
1099
|
-
return new
|
|
1121
|
+
static createFrom(t = {}) {
|
|
1122
|
+
return new h(t);
|
|
1123
|
+
}
|
|
1124
|
+
convertValues(t, y, w = !1) {
|
|
1125
|
+
if (!t)
|
|
1126
|
+
return t;
|
|
1127
|
+
if (t.slice && t.map)
|
|
1128
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1129
|
+
if (typeof t == "object") {
|
|
1130
|
+
if (w) {
|
|
1131
|
+
for (const c of Object.keys(t))
|
|
1132
|
+
t[c] = new y(t[c]);
|
|
1133
|
+
return t;
|
|
1134
|
+
}
|
|
1135
|
+
return new y(t);
|
|
1136
|
+
}
|
|
1137
|
+
return t;
|
|
1100
1138
|
}
|
|
1101
1139
|
}
|
|
1102
|
-
a.
|
|
1103
|
-
class
|
|
1104
|
-
constructor(
|
|
1105
|
-
e(this, "
|
|
1106
|
-
e(this, "
|
|
1107
|
-
|
|
1108
|
-
e(this, "type");
|
|
1109
|
-
e(this, "value");
|
|
1110
|
-
e(this, "default");
|
|
1111
|
-
e(this, "options");
|
|
1112
|
-
e(this, "fileSelection");
|
|
1113
|
-
e(this, "sensitive");
|
|
1114
|
-
typeof r == "string" && (r = JSON.parse(r)), this.id = r.id, this.label = r.label, this.description = r.description, this.type = r.type, this.value = r.value, this.default = r.default, this.options = this.convertValues(r.options, f), this.fileSelection = this.convertValues(r.fileSelection, p), this.sensitive = r.sensitive;
|
|
1140
|
+
a.SchemaProperty = h;
|
|
1141
|
+
class d {
|
|
1142
|
+
constructor(t = {}) {
|
|
1143
|
+
e(this, "properties");
|
|
1144
|
+
e(this, "required");
|
|
1145
|
+
typeof t == "string" && (t = JSON.parse(t)), this.properties = this.convertValues(t.properties, h, !0), this.required = t.required;
|
|
1115
1146
|
}
|
|
1116
|
-
static createFrom(
|
|
1117
|
-
return new
|
|
1147
|
+
static createFrom(t = {}) {
|
|
1148
|
+
return new d(t);
|
|
1118
1149
|
}
|
|
1119
|
-
convertValues(
|
|
1120
|
-
if (!
|
|
1121
|
-
return
|
|
1122
|
-
if (
|
|
1123
|
-
return
|
|
1124
|
-
if (typeof
|
|
1125
|
-
if (
|
|
1126
|
-
for (const
|
|
1127
|
-
|
|
1128
|
-
return
|
|
1150
|
+
convertValues(t, y, w = !1) {
|
|
1151
|
+
if (!t)
|
|
1152
|
+
return t;
|
|
1153
|
+
if (t.slice && t.map)
|
|
1154
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1155
|
+
if (typeof t == "object") {
|
|
1156
|
+
if (w) {
|
|
1157
|
+
for (const c of Object.keys(t))
|
|
1158
|
+
t[c] = new y(t[c]);
|
|
1159
|
+
return t;
|
|
1129
1160
|
}
|
|
1130
|
-
return new
|
|
1161
|
+
return new y(t);
|
|
1131
1162
|
}
|
|
1132
|
-
return
|
|
1163
|
+
return t;
|
|
1133
1164
|
}
|
|
1134
1165
|
}
|
|
1135
|
-
a.
|
|
1136
|
-
class
|
|
1137
|
-
constructor(
|
|
1138
|
-
e(this, "settings");
|
|
1166
|
+
a.Schema = d;
|
|
1167
|
+
class p {
|
|
1168
|
+
constructor(t = {}) {
|
|
1139
1169
|
e(this, "id");
|
|
1140
1170
|
e(this, "label");
|
|
1141
1171
|
e(this, "description");
|
|
1142
1172
|
e(this, "icon");
|
|
1143
|
-
|
|
1173
|
+
e(this, "scope");
|
|
1174
|
+
e(this, "streaming");
|
|
1175
|
+
e(this, "paramsSchema");
|
|
1176
|
+
e(this, "outputSchema");
|
|
1177
|
+
e(this, "dangerous");
|
|
1178
|
+
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.label = t.label, this.description = t.description, this.icon = t.icon, this.scope = t.scope, this.streaming = t.streaming, this.paramsSchema = this.convertValues(t.paramsSchema, d), this.outputSchema = this.convertValues(t.outputSchema, d), this.dangerous = t.dangerous;
|
|
1144
1179
|
}
|
|
1145
|
-
static createFrom(
|
|
1146
|
-
return new
|
|
1180
|
+
static createFrom(t = {}) {
|
|
1181
|
+
return new p(t);
|
|
1147
1182
|
}
|
|
1148
|
-
convertValues(
|
|
1149
|
-
if (!
|
|
1150
|
-
return
|
|
1151
|
-
if (
|
|
1152
|
-
return
|
|
1153
|
-
if (typeof
|
|
1154
|
-
if (
|
|
1155
|
-
for (const
|
|
1156
|
-
|
|
1157
|
-
return
|
|
1158
|
-
}
|
|
1159
|
-
return new i(r);
|
|
1160
|
-
}
|
|
1161
|
-
return r;
|
|
1162
|
-
}
|
|
1163
|
-
}
|
|
1164
|
-
a.Category = o;
|
|
1165
|
-
})(q || (q = {}));
|
|
1166
|
-
var _;
|
|
1167
|
-
((a) => {
|
|
1168
|
-
class p {
|
|
1169
|
-
static createFrom(l = {}) {
|
|
1170
|
-
return new p(l);
|
|
1171
|
-
}
|
|
1172
|
-
constructor(l = {}) {
|
|
1173
|
-
typeof l == "string" && (l = JSON.parse(l));
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
a.Time = p;
|
|
1177
|
-
})(_ || (_ = {}));
|
|
1178
|
-
var W;
|
|
1179
|
-
((a) => {
|
|
1180
|
-
((l) => {
|
|
1181
|
-
l.CONFIG = "config", l.FILESYSTEM = "fs", l.IMAGE = "image", l.KUBERNETES = "kubernetes", l.REPOSITORY = "repository", l.ROOTFS = "rootfs", l.SBOM = "sbom";
|
|
1182
|
-
})(a.Command || (a.Command = {})), ((l) => {
|
|
1183
|
-
l.VULN = "vuln", l.MISCONFIG = "misconfig", l.SECRET = "secret", l.LICENSE = "license";
|
|
1184
|
-
})(a.Scanner || (a.Scanner = {}));
|
|
1185
|
-
class p {
|
|
1186
|
-
constructor(o = {}) {
|
|
1187
|
-
e(this, "filePatterns");
|
|
1188
|
-
e(this, "skipDirs");
|
|
1189
|
-
e(this, "skipFiles");
|
|
1190
|
-
e(this, "scanners");
|
|
1191
|
-
typeof o == "string" && (o = JSON.parse(o)), this.filePatterns = o.filePatterns, this.skipDirs = o.skipDirs, this.skipFiles = o.skipFiles, this.scanners = o.scanners;
|
|
1192
|
-
}
|
|
1193
|
-
static createFrom(o = {}) {
|
|
1194
|
-
return new p(o);
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
a.ScanOptions = p;
|
|
1198
|
-
class f {
|
|
1199
|
-
constructor(o = {}) {
|
|
1200
|
-
e(this, "timestamp");
|
|
1201
|
-
e(this, "result");
|
|
1202
|
-
e(this, "id");
|
|
1203
|
-
e(this, "command");
|
|
1204
|
-
typeof o == "string" && (o = JSON.parse(o)), this.timestamp = this.convertValues(o.timestamp, _.Time), this.result = o.result, this.id = o.id, this.command = o.command;
|
|
1205
|
-
}
|
|
1206
|
-
static createFrom(o = {}) {
|
|
1207
|
-
return new f(o);
|
|
1208
|
-
}
|
|
1209
|
-
convertValues(o, y, r = !1) {
|
|
1210
|
-
if (!o)
|
|
1211
|
-
return o;
|
|
1212
|
-
if (o.slice && o.map)
|
|
1213
|
-
return o.map((i) => this.convertValues(i, y));
|
|
1214
|
-
if (typeof o == "object") {
|
|
1215
|
-
if (r) {
|
|
1216
|
-
for (const i of Object.keys(o))
|
|
1217
|
-
o[i] = new y(o[i]);
|
|
1218
|
-
return o;
|
|
1183
|
+
convertValues(t, y, w = !1) {
|
|
1184
|
+
if (!t)
|
|
1185
|
+
return t;
|
|
1186
|
+
if (t.slice && t.map)
|
|
1187
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1188
|
+
if (typeof t == "object") {
|
|
1189
|
+
if (w) {
|
|
1190
|
+
for (const c of Object.keys(t))
|
|
1191
|
+
t[c] = new y(t[c]);
|
|
1192
|
+
return t;
|
|
1219
1193
|
}
|
|
1220
|
-
return new y(
|
|
1194
|
+
return new y(t);
|
|
1221
1195
|
}
|
|
1222
|
-
return
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
a.ScanResult = f;
|
|
1226
|
-
})(W || (W = {}));
|
|
1227
|
-
var S;
|
|
1228
|
-
((a) => {
|
|
1229
|
-
((V) => {
|
|
1230
|
-
V.UNKNOWN = "UNKNOWN", V.CONNECTED = "CONNECTED", V.DISCONNECTED = "DISCONNECTED", V.PENDING = "PENDING", V.FAILED = "FAILED", V.ERROR = "ERROR", V.UNAUTHORIZED = "UNAUTHORIZED", V.FORBIDDEN = "FORBIDDEN", V.BAD_REQUEST = "BAD_REQUEST", V.NOT_FOUND = "NOT_FOUND", V.TIMEOUT = "TIMEOUT", V.UNAVAILABLE = "UNAVAILABLE", V.REQUEST_ENTITY_TOO_LARGE = "REQUEST_ENTITY_TOO_LARGE";
|
|
1231
|
-
})(a.ConnectionStatusCode || (a.ConnectionStatusCode = {}));
|
|
1232
|
-
class p {
|
|
1233
|
-
constructor(t = {}) {
|
|
1234
|
-
e(this, "id");
|
|
1235
|
-
e(this, "label");
|
|
1236
|
-
e(this, "description");
|
|
1237
|
-
e(this, "icon");
|
|
1238
|
-
e(this, "scope");
|
|
1239
|
-
e(this, "streaming");
|
|
1240
|
-
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.label = t.label, this.description = t.description, this.icon = t.icon, this.scope = t.scope, this.streaming = t.streaming;
|
|
1241
|
-
}
|
|
1242
|
-
static createFrom(t = {}) {
|
|
1243
|
-
return new p(t);
|
|
1196
|
+
return t;
|
|
1244
1197
|
}
|
|
1245
1198
|
}
|
|
1246
1199
|
a.ActionDescriptor = p;
|
|
1247
|
-
class
|
|
1200
|
+
class o {
|
|
1248
1201
|
constructor(t = {}) {
|
|
1249
1202
|
e(this, "id");
|
|
1250
1203
|
e(this, "namespace");
|
|
@@ -1252,11 +1205,11 @@ var S;
|
|
|
1252
1205
|
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.namespace = t.namespace, this.params = t.params;
|
|
1253
1206
|
}
|
|
1254
1207
|
static createFrom(t = {}) {
|
|
1255
|
-
return new
|
|
1208
|
+
return new o(t);
|
|
1256
1209
|
}
|
|
1257
1210
|
}
|
|
1258
|
-
a.ActionInput =
|
|
1259
|
-
class
|
|
1211
|
+
a.ActionInput = o;
|
|
1212
|
+
class f {
|
|
1260
1213
|
constructor(t = {}) {
|
|
1261
1214
|
e(this, "success");
|
|
1262
1215
|
e(this, "data");
|
|
@@ -1264,24 +1217,11 @@ var S;
|
|
|
1264
1217
|
typeof t == "string" && (t = JSON.parse(t)), this.success = t.success, this.data = t.data, this.message = t.message;
|
|
1265
1218
|
}
|
|
1266
1219
|
static createFrom(t = {}) {
|
|
1267
|
-
return new
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
a.ActionResult = l;
|
|
1271
|
-
class o {
|
|
1272
|
-
constructor(t = {}) {
|
|
1273
|
-
e(this, "selectors");
|
|
1274
|
-
e(this, "label_selector");
|
|
1275
|
-
e(this, "label");
|
|
1276
|
-
e(this, "paths");
|
|
1277
|
-
typeof t == "string" && (t = JSON.parse(t)), this.selectors = t.selectors, this.label_selector = t.label_selector, this.label = t.label, this.paths = t.paths;
|
|
1278
|
-
}
|
|
1279
|
-
static createFrom(t = {}) {
|
|
1280
|
-
return new o(t);
|
|
1220
|
+
return new f(t);
|
|
1281
1221
|
}
|
|
1282
1222
|
}
|
|
1283
|
-
a.
|
|
1284
|
-
class
|
|
1223
|
+
a.ActionResult = f;
|
|
1224
|
+
class n {
|
|
1285
1225
|
constructor(t = {}) {
|
|
1286
1226
|
e(this, "idAccessor");
|
|
1287
1227
|
e(this, "namespaceAccessor");
|
|
@@ -1294,11 +1234,11 @@ var S;
|
|
|
1294
1234
|
typeof t == "string" && (t = JSON.parse(t)), this.idAccessor = t.idAccessor, this.namespaceAccessor = t.namespaceAccessor, this.namespaced = t.namespaced, this.resourceKey = t.resourceKey, this.keyAccessor = t.keyAccessor, this.keyMap = t.keyMap, this.detailExtractors = t.detailExtractors, this.displayId = t.displayId;
|
|
1295
1235
|
}
|
|
1296
1236
|
static createFrom(t = {}) {
|
|
1297
|
-
return new
|
|
1237
|
+
return new n(t);
|
|
1298
1238
|
}
|
|
1299
1239
|
}
|
|
1300
|
-
a.ResourceLink =
|
|
1301
|
-
class
|
|
1240
|
+
a.ResourceLink = n;
|
|
1241
|
+
class l {
|
|
1302
1242
|
constructor(t = {}) {
|
|
1303
1243
|
e(this, "id");
|
|
1304
1244
|
e(this, "header");
|
|
@@ -1314,138 +1254,74 @@ var S;
|
|
|
1314
1254
|
e(this, "componentParams");
|
|
1315
1255
|
e(this, "resourceLink");
|
|
1316
1256
|
e(this, "valueMap");
|
|
1317
|
-
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.header = t.header, this.accessor = t.accessor, this.accessorPriority = t.accessorPriority, this.colorMap = t.colorMap, this.color = t.color, this.align = t.align, this.hidden = t.hidden, this.width = t.width, this.formatter = t.formatter, this.component = t.component, this.componentParams = t.componentParams, this.resourceLink = this.convertValues(t.resourceLink,
|
|
1257
|
+
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.header = t.header, this.accessor = t.accessor, this.accessorPriority = t.accessorPriority, this.colorMap = t.colorMap, this.color = t.color, this.align = t.align, this.hidden = t.hidden, this.width = t.width, this.formatter = t.formatter, this.component = t.component, this.componentParams = t.componentParams, this.resourceLink = this.convertValues(t.resourceLink, n), this.valueMap = t.valueMap;
|
|
1318
1258
|
}
|
|
1319
1259
|
static createFrom(t = {}) {
|
|
1320
|
-
return new
|
|
1260
|
+
return new l(t);
|
|
1321
1261
|
}
|
|
1322
|
-
convertValues(t,
|
|
1262
|
+
convertValues(t, y, w = !1) {
|
|
1323
1263
|
if (!t)
|
|
1324
1264
|
return t;
|
|
1325
1265
|
if (t.slice && t.map)
|
|
1326
|
-
return t.map((
|
|
1266
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1327
1267
|
if (typeof t == "object") {
|
|
1328
|
-
if (
|
|
1329
|
-
for (const
|
|
1330
|
-
t[
|
|
1268
|
+
if (w) {
|
|
1269
|
+
for (const c of Object.keys(t))
|
|
1270
|
+
t[c] = new y(t[c]);
|
|
1331
1271
|
return t;
|
|
1332
1272
|
}
|
|
1333
|
-
return new
|
|
1273
|
+
return new y(t);
|
|
1334
1274
|
}
|
|
1335
1275
|
return t;
|
|
1336
1276
|
}
|
|
1337
1277
|
}
|
|
1338
|
-
a.
|
|
1278
|
+
a.ColumnDefinition = l;
|
|
1339
1279
|
class i {
|
|
1340
1280
|
constructor(t = {}) {
|
|
1341
|
-
e(this, "last_refresh");
|
|
1342
|
-
e(this, "data");
|
|
1343
|
-
e(this, "labels");
|
|
1344
|
-
e(this, "id");
|
|
1345
|
-
e(this, "uid");
|
|
1346
|
-
e(this, "name");
|
|
1347
|
-
e(this, "description");
|
|
1348
|
-
e(this, "avatar");
|
|
1349
|
-
e(this, "expiry_time");
|
|
1350
|
-
e(this, "Client");
|
|
1351
|
-
typeof t == "string" && (t = JSON.parse(t)), this.last_refresh = this.convertValues(t.last_refresh, _.Time), this.data = t.data, this.labels = t.labels, this.id = t.id, this.uid = t.uid, this.name = t.name, this.description = t.description, this.avatar = t.avatar, this.expiry_time = t.expiry_time, this.Client = t.Client;
|
|
1352
|
-
}
|
|
1353
|
-
static createFrom(t = {}) {
|
|
1354
|
-
return new i(t);
|
|
1355
|
-
}
|
|
1356
|
-
convertValues(t, u, g = !1) {
|
|
1357
|
-
if (!t)
|
|
1358
|
-
return t;
|
|
1359
|
-
if (t.slice && t.map)
|
|
1360
|
-
return t.map((h) => this.convertValues(h, u));
|
|
1361
|
-
if (typeof t == "object") {
|
|
1362
|
-
if (g) {
|
|
1363
|
-
for (const h of Object.keys(t))
|
|
1364
|
-
t[h] = new u(t[h]);
|
|
1365
|
-
return t;
|
|
1366
|
-
}
|
|
1367
|
-
return new u(t);
|
|
1368
|
-
}
|
|
1369
|
-
return t;
|
|
1370
|
-
}
|
|
1371
|
-
}
|
|
1372
|
-
a.Connection = i;
|
|
1373
|
-
class m {
|
|
1374
|
-
constructor(t = {}) {
|
|
1375
|
-
e(this, "connection");
|
|
1376
|
-
e(this, "status");
|
|
1377
|
-
e(this, "error");
|
|
1378
|
-
e(this, "details");
|
|
1379
|
-
typeof t == "string" && (t = JSON.parse(t)), this.connection = this.convertValues(t.connection, i), this.status = t.status, this.error = t.error, this.details = t.details;
|
|
1380
|
-
}
|
|
1381
|
-
static createFrom(t = {}) {
|
|
1382
|
-
return new m(t);
|
|
1383
|
-
}
|
|
1384
|
-
convertValues(t, u, g = !1) {
|
|
1385
|
-
if (!t)
|
|
1386
|
-
return t;
|
|
1387
|
-
if (t.slice && t.map)
|
|
1388
|
-
return t.map((h) => this.convertValues(h, u));
|
|
1389
|
-
if (typeof t == "object") {
|
|
1390
|
-
if (g) {
|
|
1391
|
-
for (const h of Object.keys(t))
|
|
1392
|
-
t[h] = new u(t[h]);
|
|
1393
|
-
return t;
|
|
1394
|
-
}
|
|
1395
|
-
return new u(t);
|
|
1396
|
-
}
|
|
1397
|
-
return t;
|
|
1398
|
-
}
|
|
1399
|
-
}
|
|
1400
|
-
a.ConnectionStatus = m;
|
|
1401
|
-
class s {
|
|
1402
|
-
constructor(t = {}) {
|
|
1403
|
-
e(this, "params");
|
|
1404
1281
|
e(this, "input");
|
|
1405
1282
|
e(this, "namespace");
|
|
1406
|
-
typeof t == "string" && (t = JSON.parse(t)), this.
|
|
1283
|
+
typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.namespace = t.namespace;
|
|
1407
1284
|
}
|
|
1408
1285
|
static createFrom(t = {}) {
|
|
1409
|
-
return new
|
|
1286
|
+
return new i(t);
|
|
1410
1287
|
}
|
|
1411
1288
|
}
|
|
1412
|
-
a.CreateInput =
|
|
1413
|
-
class
|
|
1289
|
+
a.CreateInput = i;
|
|
1290
|
+
class s {
|
|
1414
1291
|
constructor(t = {}) {
|
|
1415
1292
|
e(this, "result");
|
|
1416
1293
|
e(this, "success");
|
|
1417
1294
|
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
|
|
1418
1295
|
}
|
|
1419
1296
|
static createFrom(t = {}) {
|
|
1420
|
-
return new
|
|
1297
|
+
return new s(t);
|
|
1421
1298
|
}
|
|
1422
1299
|
}
|
|
1423
|
-
a.CreateResult =
|
|
1424
|
-
class
|
|
1300
|
+
a.CreateResult = s;
|
|
1301
|
+
class v {
|
|
1425
1302
|
constructor(t = {}) {
|
|
1426
|
-
e(this, "input");
|
|
1427
|
-
e(this, "params");
|
|
1428
1303
|
e(this, "id");
|
|
1429
1304
|
e(this, "namespace");
|
|
1430
|
-
|
|
1305
|
+
e(this, "gracePeriodSeconds");
|
|
1306
|
+
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.namespace = t.namespace, this.gracePeriodSeconds = t.gracePeriodSeconds;
|
|
1431
1307
|
}
|
|
1432
1308
|
static createFrom(t = {}) {
|
|
1433
|
-
return new
|
|
1309
|
+
return new v(t);
|
|
1434
1310
|
}
|
|
1435
1311
|
}
|
|
1436
|
-
a.DeleteInput =
|
|
1437
|
-
class
|
|
1312
|
+
a.DeleteInput = v;
|
|
1313
|
+
class m {
|
|
1438
1314
|
constructor(t = {}) {
|
|
1439
1315
|
e(this, "result");
|
|
1440
1316
|
e(this, "success");
|
|
1441
1317
|
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
|
|
1442
1318
|
}
|
|
1443
1319
|
static createFrom(t = {}) {
|
|
1444
|
-
return new
|
|
1320
|
+
return new m(t);
|
|
1445
1321
|
}
|
|
1446
1322
|
}
|
|
1447
|
-
a.DeleteResult =
|
|
1448
|
-
class
|
|
1323
|
+
a.DeleteResult = m;
|
|
1324
|
+
class V {
|
|
1449
1325
|
constructor(t = {}) {
|
|
1450
1326
|
e(this, "resourceKey");
|
|
1451
1327
|
e(this, "fileMatch");
|
|
@@ -1456,318 +1332,418 @@ var S;
|
|
|
1456
1332
|
typeof t == "string" && (t = JSON.parse(t)), this.resourceKey = t.resourceKey, this.fileMatch = t.fileMatch, this.uri = t.uri, this.url = t.url, this.content = t.content, this.language = t.language;
|
|
1457
1333
|
}
|
|
1458
1334
|
static createFrom(t = {}) {
|
|
1459
|
-
return new
|
|
1460
|
-
}
|
|
1461
|
-
}
|
|
1462
|
-
a.EditorSchema = F;
|
|
1463
|
-
class n {
|
|
1464
|
-
constructor(t = {}) {
|
|
1465
|
-
e(this, "page");
|
|
1466
|
-
e(this, "pageSize");
|
|
1467
|
-
typeof t == "string" && (t = JSON.parse(t)), this.page = t.page, this.pageSize = t.pageSize;
|
|
1468
|
-
}
|
|
1469
|
-
static createFrom(t = {}) {
|
|
1470
|
-
return new n(t);
|
|
1335
|
+
return new V(t);
|
|
1471
1336
|
}
|
|
1472
1337
|
}
|
|
1473
|
-
a.
|
|
1474
|
-
class
|
|
1338
|
+
a.EditorSchema = V;
|
|
1339
|
+
class _ {
|
|
1475
1340
|
constructor(t = {}) {
|
|
1476
|
-
e(this, "
|
|
1477
|
-
e(this, "
|
|
1478
|
-
|
|
1341
|
+
e(this, "field");
|
|
1342
|
+
e(this, "operator");
|
|
1343
|
+
e(this, "value");
|
|
1344
|
+
typeof t == "string" && (t = JSON.parse(t)), this.field = t.field, this.operator = t.operator, this.value = t.value;
|
|
1479
1345
|
}
|
|
1480
1346
|
static createFrom(t = {}) {
|
|
1481
|
-
return new
|
|
1347
|
+
return new _(t);
|
|
1482
1348
|
}
|
|
1483
1349
|
}
|
|
1484
|
-
a.
|
|
1485
|
-
class
|
|
1350
|
+
a.FilterPredicate = _;
|
|
1351
|
+
class r {
|
|
1486
1352
|
constructor(t = {}) {
|
|
1487
|
-
e(this, "
|
|
1488
|
-
e(this, "
|
|
1489
|
-
e(this, "
|
|
1490
|
-
|
|
1491
|
-
e(this, "pagination");
|
|
1492
|
-
typeof t == "string" && (t = JSON.parse(t)), this.params = t.params, this.conditions = t.conditions, this.namespaces = t.namespaces, this.order = this.convertValues(t.order, v), this.pagination = this.convertValues(t.pagination, n);
|
|
1353
|
+
e(this, "logic");
|
|
1354
|
+
e(this, "predicates");
|
|
1355
|
+
e(this, "groups");
|
|
1356
|
+
typeof t == "string" && (t = JSON.parse(t)), this.logic = t.logic, this.predicates = this.convertValues(t.predicates, _), this.groups = this.convertValues(t.groups, r);
|
|
1493
1357
|
}
|
|
1494
1358
|
static createFrom(t = {}) {
|
|
1495
|
-
return new
|
|
1359
|
+
return new r(t);
|
|
1496
1360
|
}
|
|
1497
|
-
convertValues(t,
|
|
1361
|
+
convertValues(t, y, w = !1) {
|
|
1498
1362
|
if (!t)
|
|
1499
1363
|
return t;
|
|
1500
1364
|
if (t.slice && t.map)
|
|
1501
|
-
return t.map((
|
|
1365
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1502
1366
|
if (typeof t == "object") {
|
|
1503
|
-
if (
|
|
1504
|
-
for (const
|
|
1505
|
-
t[
|
|
1367
|
+
if (w) {
|
|
1368
|
+
for (const c of Object.keys(t))
|
|
1369
|
+
t[c] = new y(t[c]);
|
|
1506
1370
|
return t;
|
|
1507
1371
|
}
|
|
1508
|
-
return new
|
|
1372
|
+
return new y(t);
|
|
1509
1373
|
}
|
|
1510
1374
|
return t;
|
|
1511
1375
|
}
|
|
1512
1376
|
}
|
|
1513
|
-
a.
|
|
1514
|
-
class
|
|
1377
|
+
a.FilterExpression = r;
|
|
1378
|
+
class g {
|
|
1379
|
+
constructor(t = {}) {
|
|
1380
|
+
e(this, "path");
|
|
1381
|
+
e(this, "displayName");
|
|
1382
|
+
e(this, "description");
|
|
1383
|
+
e(this, "type");
|
|
1384
|
+
e(this, "operators");
|
|
1385
|
+
e(this, "allowedValues");
|
|
1386
|
+
e(this, "required");
|
|
1387
|
+
typeof t == "string" && (t = JSON.parse(t)), this.path = t.path, this.displayName = t.displayName, this.description = t.description, this.type = t.type, this.operators = t.operators, this.allowedValues = t.allowedValues, this.required = t.required;
|
|
1388
|
+
}
|
|
1389
|
+
static createFrom(t = {}) {
|
|
1390
|
+
return new g(t);
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
a.FilterField = g;
|
|
1394
|
+
class b {
|
|
1515
1395
|
constructor(t = {}) {
|
|
1516
1396
|
e(this, "page");
|
|
1517
1397
|
e(this, "pageSize");
|
|
1518
|
-
e(this, "
|
|
1519
|
-
|
|
1520
|
-
typeof t == "string" && (t = JSON.parse(t)), this.page = t.page, this.pageSize = t.pageSize, this.total = t.total, this.pages = t.pages;
|
|
1398
|
+
e(this, "cursor");
|
|
1399
|
+
typeof t == "string" && (t = JSON.parse(t)), this.page = t.page, this.pageSize = t.pageSize, this.cursor = t.cursor;
|
|
1521
1400
|
}
|
|
1522
1401
|
static createFrom(t = {}) {
|
|
1523
|
-
return new
|
|
1402
|
+
return new b(t);
|
|
1524
1403
|
}
|
|
1525
1404
|
}
|
|
1526
|
-
a.
|
|
1527
|
-
class
|
|
1405
|
+
a.PaginationParams = b;
|
|
1406
|
+
class u {
|
|
1528
1407
|
constructor(t = {}) {
|
|
1529
|
-
e(this, "
|
|
1530
|
-
e(this, "
|
|
1408
|
+
e(this, "field");
|
|
1409
|
+
e(this, "descending");
|
|
1410
|
+
typeof t == "string" && (t = JSON.parse(t)), this.field = t.field, this.descending = t.descending;
|
|
1411
|
+
}
|
|
1412
|
+
static createFrom(t = {}) {
|
|
1413
|
+
return new u(t);
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
a.OrderField = u;
|
|
1417
|
+
class R {
|
|
1418
|
+
constructor(t = {}) {
|
|
1419
|
+
e(this, "filters");
|
|
1420
|
+
e(this, "textQuery");
|
|
1421
|
+
e(this, "namespaces");
|
|
1422
|
+
e(this, "order");
|
|
1531
1423
|
e(this, "pagination");
|
|
1532
|
-
typeof t == "string" && (t = JSON.parse(t)), this.
|
|
1424
|
+
typeof t == "string" && (t = JSON.parse(t)), this.filters = this.convertValues(t.filters, r), this.textQuery = t.textQuery, this.namespaces = t.namespaces, this.order = this.convertValues(t.order, u), this.pagination = this.convertValues(t.pagination, b);
|
|
1533
1425
|
}
|
|
1534
1426
|
static createFrom(t = {}) {
|
|
1535
|
-
return new
|
|
1427
|
+
return new R(t);
|
|
1536
1428
|
}
|
|
1537
|
-
convertValues(t,
|
|
1429
|
+
convertValues(t, y, w = !1) {
|
|
1538
1430
|
if (!t)
|
|
1539
1431
|
return t;
|
|
1540
1432
|
if (t.slice && t.map)
|
|
1541
|
-
return t.map((
|
|
1433
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1542
1434
|
if (typeof t == "object") {
|
|
1543
|
-
if (
|
|
1544
|
-
for (const
|
|
1545
|
-
t[
|
|
1435
|
+
if (w) {
|
|
1436
|
+
for (const c of Object.keys(t))
|
|
1437
|
+
t[c] = new y(t[c]);
|
|
1546
1438
|
return t;
|
|
1547
1439
|
}
|
|
1548
|
-
return new
|
|
1440
|
+
return new y(t);
|
|
1549
1441
|
}
|
|
1550
1442
|
return t;
|
|
1551
1443
|
}
|
|
1552
1444
|
}
|
|
1553
|
-
a.
|
|
1554
|
-
class
|
|
1445
|
+
a.FindInput = R;
|
|
1446
|
+
class P {
|
|
1555
1447
|
constructor(t = {}) {
|
|
1556
|
-
e(this, "
|
|
1557
|
-
e(this, "
|
|
1558
|
-
e(this, "
|
|
1559
|
-
|
|
1448
|
+
e(this, "result");
|
|
1449
|
+
e(this, "success");
|
|
1450
|
+
e(this, "totalCount");
|
|
1451
|
+
e(this, "nextCursor");
|
|
1452
|
+
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success, this.totalCount = t.totalCount, this.nextCursor = t.nextCursor;
|
|
1560
1453
|
}
|
|
1561
1454
|
static createFrom(t = {}) {
|
|
1562
|
-
return new
|
|
1455
|
+
return new P(t);
|
|
1563
1456
|
}
|
|
1564
1457
|
}
|
|
1565
|
-
a.
|
|
1566
|
-
class
|
|
1458
|
+
a.FindResult = P;
|
|
1459
|
+
class I {
|
|
1567
1460
|
constructor(t = {}) {
|
|
1568
|
-
e(this, "
|
|
1569
|
-
e(this, "
|
|
1570
|
-
typeof t == "string" && (t = JSON.parse(t)), this.
|
|
1461
|
+
e(this, "id");
|
|
1462
|
+
e(this, "namespace");
|
|
1463
|
+
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.namespace = t.namespace;
|
|
1571
1464
|
}
|
|
1572
1465
|
static createFrom(t = {}) {
|
|
1573
|
-
return new
|
|
1466
|
+
return new I(t);
|
|
1574
1467
|
}
|
|
1575
1468
|
}
|
|
1576
|
-
a.
|
|
1577
|
-
class
|
|
1469
|
+
a.GetInput = I;
|
|
1470
|
+
class T {
|
|
1578
1471
|
constructor(t = {}) {
|
|
1579
|
-
e(this, "
|
|
1580
|
-
e(this, "
|
|
1581
|
-
|
|
1582
|
-
e(this, "totalResources");
|
|
1583
|
-
e(this, "syncedCount");
|
|
1584
|
-
e(this, "errorCount");
|
|
1585
|
-
typeof t == "string" && (t = JSON.parse(t)), this.connection = t.connection, this.resources = t.resources, this.resourceCounts = t.resourceCounts, this.totalResources = t.totalResources, this.syncedCount = t.syncedCount, this.errorCount = t.errorCount;
|
|
1472
|
+
e(this, "result");
|
|
1473
|
+
e(this, "success");
|
|
1474
|
+
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
|
|
1586
1475
|
}
|
|
1587
1476
|
static createFrom(t = {}) {
|
|
1588
|
-
return new
|
|
1477
|
+
return new T(t);
|
|
1589
1478
|
}
|
|
1590
1479
|
}
|
|
1591
|
-
a.
|
|
1592
|
-
class
|
|
1480
|
+
a.GetResult = T;
|
|
1481
|
+
class N {
|
|
1593
1482
|
constructor(t = {}) {
|
|
1594
|
-
e(this, "
|
|
1595
|
-
e(this, "
|
|
1596
|
-
e(this, "
|
|
1597
|
-
e(this, "
|
|
1598
|
-
e(this, "
|
|
1599
|
-
|
|
1483
|
+
e(this, "type");
|
|
1484
|
+
e(this, "status");
|
|
1485
|
+
e(this, "reason");
|
|
1486
|
+
e(this, "message");
|
|
1487
|
+
e(this, "lastProbeTime");
|
|
1488
|
+
e(this, "lastTransitionTime");
|
|
1489
|
+
typeof t == "string" && (t = JSON.parse(t)), this.type = t.type, this.status = t.status, this.reason = t.reason, this.message = t.message, this.lastProbeTime = this.convertValues(t.lastProbeTime, S.Time), this.lastTransitionTime = this.convertValues(t.lastTransitionTime, S.Time);
|
|
1600
1490
|
}
|
|
1601
1491
|
static createFrom(t = {}) {
|
|
1602
|
-
return new
|
|
1492
|
+
return new N(t);
|
|
1603
1493
|
}
|
|
1604
|
-
convertValues(t,
|
|
1494
|
+
convertValues(t, y, w = !1) {
|
|
1605
1495
|
if (!t)
|
|
1606
1496
|
return t;
|
|
1607
1497
|
if (t.slice && t.map)
|
|
1608
|
-
return t.map((
|
|
1498
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1609
1499
|
if (typeof t == "object") {
|
|
1610
|
-
if (
|
|
1611
|
-
for (const
|
|
1612
|
-
t[
|
|
1500
|
+
if (w) {
|
|
1501
|
+
for (const c of Object.keys(t))
|
|
1502
|
+
t[c] = new y(t[c]);
|
|
1613
1503
|
return t;
|
|
1614
1504
|
}
|
|
1615
|
-
return new
|
|
1505
|
+
return new y(t);
|
|
1616
1506
|
}
|
|
1617
1507
|
return t;
|
|
1618
1508
|
}
|
|
1619
1509
|
}
|
|
1620
|
-
a.
|
|
1621
|
-
class
|
|
1510
|
+
a.HealthCondition = N;
|
|
1511
|
+
class A {
|
|
1622
1512
|
constructor(t = {}) {
|
|
1623
|
-
e(this, "params");
|
|
1624
1513
|
e(this, "namespaces");
|
|
1625
1514
|
e(this, "order");
|
|
1626
1515
|
e(this, "pagination");
|
|
1627
|
-
typeof t == "string" && (t = JSON.parse(t)), this.
|
|
1516
|
+
typeof t == "string" && (t = JSON.parse(t)), this.namespaces = t.namespaces, this.order = this.convertValues(t.order, u), this.pagination = this.convertValues(t.pagination, b);
|
|
1628
1517
|
}
|
|
1629
1518
|
static createFrom(t = {}) {
|
|
1630
|
-
return new
|
|
1519
|
+
return new A(t);
|
|
1631
1520
|
}
|
|
1632
|
-
convertValues(t,
|
|
1521
|
+
convertValues(t, y, w = !1) {
|
|
1633
1522
|
if (!t)
|
|
1634
1523
|
return t;
|
|
1635
1524
|
if (t.slice && t.map)
|
|
1636
|
-
return t.map((
|
|
1525
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1637
1526
|
if (typeof t == "object") {
|
|
1638
|
-
if (
|
|
1639
|
-
for (const
|
|
1640
|
-
t[
|
|
1527
|
+
if (w) {
|
|
1528
|
+
for (const c of Object.keys(t))
|
|
1529
|
+
t[c] = new y(t[c]);
|
|
1641
1530
|
return t;
|
|
1642
1531
|
}
|
|
1643
|
-
return new
|
|
1532
|
+
return new y(t);
|
|
1644
1533
|
}
|
|
1645
1534
|
return t;
|
|
1646
1535
|
}
|
|
1647
1536
|
}
|
|
1648
|
-
a.ListInput =
|
|
1649
|
-
class
|
|
1537
|
+
a.ListInput = A;
|
|
1538
|
+
class C {
|
|
1650
1539
|
constructor(t = {}) {
|
|
1651
1540
|
e(this, "result");
|
|
1652
1541
|
e(this, "success");
|
|
1653
|
-
e(this, "
|
|
1654
|
-
|
|
1542
|
+
e(this, "totalCount");
|
|
1543
|
+
e(this, "nextCursor");
|
|
1544
|
+
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success, this.totalCount = t.totalCount, this.nextCursor = t.nextCursor;
|
|
1655
1545
|
}
|
|
1656
1546
|
static createFrom(t = {}) {
|
|
1657
|
-
return new
|
|
1547
|
+
return new C(t);
|
|
1658
1548
|
}
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1549
|
+
}
|
|
1550
|
+
a.ListResult = C;
|
|
1551
|
+
class F {
|
|
1552
|
+
constructor(t = {}) {
|
|
1553
|
+
e(this, "method");
|
|
1554
|
+
e(this, "fieldPath");
|
|
1555
|
+
e(this, "ownerRefKind");
|
|
1556
|
+
e(this, "labelSelector");
|
|
1557
|
+
typeof t == "string" && (t = JSON.parse(t)), this.method = t.method, this.fieldPath = t.fieldPath, this.ownerRefKind = t.ownerRefKind, this.labelSelector = t.labelSelector;
|
|
1558
|
+
}
|
|
1559
|
+
static createFrom(t = {}) {
|
|
1560
|
+
return new F(t);
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
a.RelationshipExtractor = F;
|
|
1564
|
+
class k {
|
|
1565
|
+
constructor(t = {}) {
|
|
1566
|
+
e(this, "type");
|
|
1567
|
+
e(this, "targetResourceKey");
|
|
1568
|
+
e(this, "label");
|
|
1569
|
+
e(this, "inverseLabel");
|
|
1570
|
+
e(this, "cardinality");
|
|
1571
|
+
e(this, "extractor");
|
|
1572
|
+
typeof t == "string" && (t = JSON.parse(t)), this.type = t.type, this.targetResourceKey = t.targetResourceKey, this.label = t.label, this.inverseLabel = t.inverseLabel, this.cardinality = t.cardinality, this.extractor = this.convertValues(t.extractor, F);
|
|
1573
|
+
}
|
|
1574
|
+
static createFrom(t = {}) {
|
|
1575
|
+
return new k(t);
|
|
1576
|
+
}
|
|
1577
|
+
convertValues(t, y, w = !1) {
|
|
1578
|
+
if (!t)
|
|
1579
|
+
return t;
|
|
1580
|
+
if (t.slice && t.map)
|
|
1581
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1582
|
+
if (typeof t == "object") {
|
|
1583
|
+
if (w) {
|
|
1584
|
+
for (const c of Object.keys(t))
|
|
1585
|
+
t[c] = new y(t[c]);
|
|
1586
|
+
return t;
|
|
1587
|
+
}
|
|
1588
|
+
return new y(t);
|
|
1589
|
+
}
|
|
1672
1590
|
return t;
|
|
1673
1591
|
}
|
|
1674
1592
|
}
|
|
1675
|
-
a.
|
|
1676
|
-
class
|
|
1593
|
+
a.RelationshipDescriptor = k;
|
|
1594
|
+
class J {
|
|
1677
1595
|
constructor(t = {}) {
|
|
1596
|
+
e(this, "pluginId");
|
|
1597
|
+
e(this, "connectionId");
|
|
1598
|
+
e(this, "resourceKey");
|
|
1678
1599
|
e(this, "id");
|
|
1679
|
-
e(this, "
|
|
1680
|
-
e(this, "
|
|
1681
|
-
|
|
1682
|
-
e(this, "devMode");
|
|
1683
|
-
e(this, "devPath");
|
|
1684
|
-
e(this, "capabilities");
|
|
1685
|
-
e(this, "lastError");
|
|
1686
|
-
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.metadata = this.convertValues(t.metadata, N.PluginMeta), this.phase = t.phase, this.enabled = t.enabled, this.devMode = t.devMode, this.devPath = t.devPath, this.capabilities = t.capabilities, this.lastError = t.lastError;
|
|
1600
|
+
e(this, "namespace");
|
|
1601
|
+
e(this, "displayName");
|
|
1602
|
+
typeof t == "string" && (t = JSON.parse(t)), this.pluginId = t.pluginId, this.connectionId = t.connectionId, this.resourceKey = t.resourceKey, this.id = t.id, this.namespace = t.namespace, this.displayName = t.displayName;
|
|
1687
1603
|
}
|
|
1688
1604
|
static createFrom(t = {}) {
|
|
1689
|
-
return new
|
|
1605
|
+
return new J(t);
|
|
1690
1606
|
}
|
|
1691
|
-
|
|
1607
|
+
}
|
|
1608
|
+
a.ResourceRef = J;
|
|
1609
|
+
class L {
|
|
1610
|
+
constructor(t = {}) {
|
|
1611
|
+
e(this, "descriptor");
|
|
1612
|
+
e(this, "targets");
|
|
1613
|
+
typeof t == "string" && (t = JSON.parse(t)), this.descriptor = this.convertValues(t.descriptor, k), this.targets = this.convertValues(t.targets, J);
|
|
1614
|
+
}
|
|
1615
|
+
static createFrom(t = {}) {
|
|
1616
|
+
return new L(t);
|
|
1617
|
+
}
|
|
1618
|
+
convertValues(t, y, w = !1) {
|
|
1692
1619
|
if (!t)
|
|
1693
1620
|
return t;
|
|
1694
1621
|
if (t.slice && t.map)
|
|
1695
|
-
return t.map((
|
|
1622
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1696
1623
|
if (typeof t == "object") {
|
|
1697
|
-
if (
|
|
1698
|
-
for (const
|
|
1699
|
-
t[
|
|
1624
|
+
if (w) {
|
|
1625
|
+
for (const c of Object.keys(t))
|
|
1626
|
+
t[c] = new y(t[c]);
|
|
1700
1627
|
return t;
|
|
1701
1628
|
}
|
|
1702
|
-
return new
|
|
1629
|
+
return new y(t);
|
|
1703
1630
|
}
|
|
1704
1631
|
return t;
|
|
1705
1632
|
}
|
|
1706
1633
|
}
|
|
1707
|
-
a.
|
|
1708
|
-
class
|
|
1634
|
+
a.ResolvedRelationship = L;
|
|
1635
|
+
class E {
|
|
1709
1636
|
constructor(t = {}) {
|
|
1710
|
-
e(this, "
|
|
1711
|
-
e(this, "
|
|
1712
|
-
e(this, "
|
|
1713
|
-
|
|
1714
|
-
e(this, "devMode");
|
|
1715
|
-
e(this, "devPath");
|
|
1716
|
-
e(this, "lastError");
|
|
1717
|
-
e(this, "errorCount");
|
|
1718
|
-
e(this, "installedAt");
|
|
1719
|
-
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.phase = t.phase, this.metadata = this.convertValues(t.metadata, N.PluginMeta), this.enabled = t.enabled, this.devMode = t.devMode, this.devPath = t.devPath, this.lastError = t.lastError, this.errorCount = t.errorCount, this.installedAt = this.convertValues(t.installedAt, _.Time);
|
|
1637
|
+
e(this, "level");
|
|
1638
|
+
e(this, "expectedCount");
|
|
1639
|
+
e(this, "defaultPageSize");
|
|
1640
|
+
typeof t == "string" && (t = JSON.parse(t)), this.level = t.level, this.expectedCount = t.expectedCount, this.defaultPageSize = t.defaultPageSize;
|
|
1720
1641
|
}
|
|
1721
1642
|
static createFrom(t = {}) {
|
|
1722
|
-
return new
|
|
1643
|
+
return new E(t);
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
a.ScaleHint = E;
|
|
1647
|
+
class x {
|
|
1648
|
+
constructor(t = {}) {
|
|
1649
|
+
e(this, "canGet");
|
|
1650
|
+
e(this, "canList");
|
|
1651
|
+
e(this, "canFind");
|
|
1652
|
+
e(this, "canCreate");
|
|
1653
|
+
e(this, "canUpdate");
|
|
1654
|
+
e(this, "canDelete");
|
|
1655
|
+
e(this, "watchable");
|
|
1656
|
+
e(this, "filterable");
|
|
1657
|
+
e(this, "searchable");
|
|
1658
|
+
e(this, "hasActions");
|
|
1659
|
+
e(this, "hasSchema");
|
|
1660
|
+
e(this, "namespaceScoped");
|
|
1661
|
+
e(this, "hasRelationships");
|
|
1662
|
+
e(this, "hasHealth");
|
|
1663
|
+
e(this, "hasEvents");
|
|
1664
|
+
e(this, "scaleHint");
|
|
1665
|
+
typeof t == "string" && (t = JSON.parse(t)), this.canGet = t.canGet, this.canList = t.canList, this.canFind = t.canFind, this.canCreate = t.canCreate, this.canUpdate = t.canUpdate, this.canDelete = t.canDelete, this.watchable = t.watchable, this.filterable = t.filterable, this.searchable = t.searchable, this.hasActions = t.hasActions, this.hasSchema = t.hasSchema, this.namespaceScoped = t.namespaceScoped, this.hasRelationships = t.hasRelationships, this.hasHealth = t.hasHealth, this.hasEvents = t.hasEvents, this.scaleHint = this.convertValues(t.scaleHint, E);
|
|
1723
1666
|
}
|
|
1724
|
-
|
|
1667
|
+
static createFrom(t = {}) {
|
|
1668
|
+
return new x(t);
|
|
1669
|
+
}
|
|
1670
|
+
convertValues(t, y, w = !1) {
|
|
1725
1671
|
if (!t)
|
|
1726
1672
|
return t;
|
|
1727
1673
|
if (t.slice && t.map)
|
|
1728
|
-
return t.map((
|
|
1674
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1729
1675
|
if (typeof t == "object") {
|
|
1730
|
-
if (
|
|
1731
|
-
for (const
|
|
1732
|
-
t[
|
|
1676
|
+
if (w) {
|
|
1677
|
+
for (const c of Object.keys(t))
|
|
1678
|
+
t[c] = new y(t[c]);
|
|
1733
1679
|
return t;
|
|
1734
1680
|
}
|
|
1735
|
-
return new
|
|
1681
|
+
return new y(t);
|
|
1736
1682
|
}
|
|
1737
1683
|
return t;
|
|
1738
1684
|
}
|
|
1739
1685
|
}
|
|
1740
|
-
a.
|
|
1741
|
-
class
|
|
1686
|
+
a.ResourceCapabilities = x;
|
|
1687
|
+
class M {
|
|
1742
1688
|
constructor(t = {}) {
|
|
1743
1689
|
e(this, "id_accessor");
|
|
1744
1690
|
e(this, "namespace_accessor");
|
|
1745
1691
|
e(this, "memoizer_accessor");
|
|
1746
1692
|
e(this, "columnDefs");
|
|
1747
|
-
|
|
1748
|
-
typeof t == "string" && (t = JSON.parse(t)), this.id_accessor = t.id_accessor, this.namespace_accessor = t.namespace_accessor, this.memoizer_accessor = t.memoizer_accessor, this.columnDefs = this.convertValues(t.columnDefs, r), this.supportedOperations = t.supportedOperations;
|
|
1693
|
+
typeof t == "string" && (t = JSON.parse(t)), this.id_accessor = t.id_accessor, this.namespace_accessor = t.namespace_accessor, this.memoizer_accessor = t.memoizer_accessor, this.columnDefs = this.convertValues(t.columnDefs, l);
|
|
1749
1694
|
}
|
|
1750
1695
|
static createFrom(t = {}) {
|
|
1751
|
-
return new
|
|
1696
|
+
return new M(t);
|
|
1752
1697
|
}
|
|
1753
|
-
convertValues(t,
|
|
1698
|
+
convertValues(t, y, w = !1) {
|
|
1754
1699
|
if (!t)
|
|
1755
1700
|
return t;
|
|
1756
1701
|
if (t.slice && t.map)
|
|
1757
|
-
return t.map((
|
|
1702
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1758
1703
|
if (typeof t == "object") {
|
|
1759
|
-
if (
|
|
1760
|
-
for (const
|
|
1761
|
-
t[
|
|
1704
|
+
if (w) {
|
|
1705
|
+
for (const c of Object.keys(t))
|
|
1706
|
+
t[c] = new y(t[c]);
|
|
1762
1707
|
return t;
|
|
1763
1708
|
}
|
|
1764
|
-
return new
|
|
1709
|
+
return new y(t);
|
|
1765
1710
|
}
|
|
1766
1711
|
return t;
|
|
1767
1712
|
}
|
|
1768
1713
|
}
|
|
1769
|
-
a.ResourceDefinition =
|
|
1770
|
-
class
|
|
1714
|
+
a.ResourceDefinition = M;
|
|
1715
|
+
class U {
|
|
1716
|
+
constructor(t = {}) {
|
|
1717
|
+
e(this, "type");
|
|
1718
|
+
e(this, "reason");
|
|
1719
|
+
e(this, "message");
|
|
1720
|
+
e(this, "source");
|
|
1721
|
+
e(this, "count");
|
|
1722
|
+
e(this, "firstSeen");
|
|
1723
|
+
e(this, "lastSeen");
|
|
1724
|
+
typeof t == "string" && (t = JSON.parse(t)), this.type = t.type, this.reason = t.reason, this.message = t.message, this.source = t.source, this.count = t.count, this.firstSeen = this.convertValues(t.firstSeen, S.Time), this.lastSeen = this.convertValues(t.lastSeen, S.Time);
|
|
1725
|
+
}
|
|
1726
|
+
static createFrom(t = {}) {
|
|
1727
|
+
return new U(t);
|
|
1728
|
+
}
|
|
1729
|
+
convertValues(t, y, w = !1) {
|
|
1730
|
+
if (!t)
|
|
1731
|
+
return t;
|
|
1732
|
+
if (t.slice && t.map)
|
|
1733
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1734
|
+
if (typeof t == "object") {
|
|
1735
|
+
if (w) {
|
|
1736
|
+
for (const c of Object.keys(t))
|
|
1737
|
+
t[c] = new y(t[c]);
|
|
1738
|
+
return t;
|
|
1739
|
+
}
|
|
1740
|
+
return new y(t);
|
|
1741
|
+
}
|
|
1742
|
+
return t;
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
a.ResourceEvent = U;
|
|
1746
|
+
class G {
|
|
1771
1747
|
constructor(t = {}) {
|
|
1772
1748
|
e(this, "id");
|
|
1773
1749
|
e(this, "name");
|
|
@@ -1777,26 +1753,55 @@ var S;
|
|
|
1777
1753
|
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.name = t.name, this.description = t.description, this.icon = t.icon, this.resources = this.convertValues(t.resources, Array, !0);
|
|
1778
1754
|
}
|
|
1779
1755
|
static createFrom(t = {}) {
|
|
1780
|
-
return new
|
|
1756
|
+
return new G(t);
|
|
1781
1757
|
}
|
|
1782
|
-
convertValues(t,
|
|
1758
|
+
convertValues(t, y, w = !1) {
|
|
1783
1759
|
if (!t)
|
|
1784
1760
|
return t;
|
|
1785
1761
|
if (t.slice && t.map)
|
|
1786
|
-
return t.map((
|
|
1762
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1787
1763
|
if (typeof t == "object") {
|
|
1788
|
-
if (
|
|
1789
|
-
for (const
|
|
1790
|
-
t[
|
|
1764
|
+
if (w) {
|
|
1765
|
+
for (const c of Object.keys(t))
|
|
1766
|
+
t[c] = new y(t[c]);
|
|
1791
1767
|
return t;
|
|
1792
1768
|
}
|
|
1793
|
-
return new
|
|
1769
|
+
return new y(t);
|
|
1794
1770
|
}
|
|
1795
1771
|
return t;
|
|
1796
1772
|
}
|
|
1797
1773
|
}
|
|
1798
|
-
a.ResourceGroup =
|
|
1799
|
-
class
|
|
1774
|
+
a.ResourceGroup = G;
|
|
1775
|
+
class K {
|
|
1776
|
+
constructor(t = {}) {
|
|
1777
|
+
e(this, "status");
|
|
1778
|
+
e(this, "reason");
|
|
1779
|
+
e(this, "message");
|
|
1780
|
+
e(this, "since");
|
|
1781
|
+
e(this, "conditions");
|
|
1782
|
+
typeof t == "string" && (t = JSON.parse(t)), this.status = t.status, this.reason = t.reason, this.message = t.message, this.since = this.convertValues(t.since, S.Time), this.conditions = this.convertValues(t.conditions, N);
|
|
1783
|
+
}
|
|
1784
|
+
static createFrom(t = {}) {
|
|
1785
|
+
return new K(t);
|
|
1786
|
+
}
|
|
1787
|
+
convertValues(t, y, w = !1) {
|
|
1788
|
+
if (!t)
|
|
1789
|
+
return t;
|
|
1790
|
+
if (t.slice && t.map)
|
|
1791
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1792
|
+
if (typeof t == "object") {
|
|
1793
|
+
if (w) {
|
|
1794
|
+
for (const c of Object.keys(t))
|
|
1795
|
+
t[c] = new y(t[c]);
|
|
1796
|
+
return t;
|
|
1797
|
+
}
|
|
1798
|
+
return new y(t);
|
|
1799
|
+
}
|
|
1800
|
+
return t;
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
a.ResourceHealth = K;
|
|
1804
|
+
class B {
|
|
1800
1805
|
constructor(t = {}) {
|
|
1801
1806
|
e(this, "group");
|
|
1802
1807
|
e(this, "version");
|
|
@@ -1808,114 +1813,480 @@ var S;
|
|
|
1808
1813
|
typeof t == "string" && (t = JSON.parse(t)), this.group = t.group, this.version = t.version, this.kind = t.kind, this.label = t.label, this.icon = t.icon, this.description = t.description, this.category = t.category;
|
|
1809
1814
|
}
|
|
1810
1815
|
static createFrom(t = {}) {
|
|
1811
|
-
return new
|
|
1816
|
+
return new B(t);
|
|
1812
1817
|
}
|
|
1813
1818
|
}
|
|
1814
|
-
a.ResourceMeta =
|
|
1815
|
-
class
|
|
1819
|
+
a.ResourceMeta = B;
|
|
1820
|
+
class H {
|
|
1816
1821
|
constructor(t = {}) {
|
|
1817
1822
|
e(this, "input");
|
|
1818
|
-
e(this, "params");
|
|
1819
1823
|
e(this, "id");
|
|
1820
1824
|
e(this, "namespace");
|
|
1821
|
-
typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.
|
|
1825
|
+
typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.id = t.id, this.namespace = t.namespace;
|
|
1822
1826
|
}
|
|
1823
1827
|
static createFrom(t = {}) {
|
|
1824
|
-
return new
|
|
1828
|
+
return new H(t);
|
|
1825
1829
|
}
|
|
1826
1830
|
}
|
|
1827
|
-
a.UpdateInput =
|
|
1828
|
-
class
|
|
1831
|
+
a.UpdateInput = H;
|
|
1832
|
+
class q {
|
|
1829
1833
|
constructor(t = {}) {
|
|
1830
1834
|
e(this, "result");
|
|
1831
1835
|
e(this, "success");
|
|
1832
1836
|
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
|
|
1833
1837
|
}
|
|
1834
1838
|
static createFrom(t = {}) {
|
|
1835
|
-
return new
|
|
1839
|
+
return new q(t);
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
a.UpdateResult = q;
|
|
1843
|
+
class j {
|
|
1844
|
+
constructor(t = {}) {
|
|
1845
|
+
e(this, "partitions");
|
|
1846
|
+
typeof t == "string" && (t = JSON.parse(t)), this.partitions = t.partitions;
|
|
1847
|
+
}
|
|
1848
|
+
static createFrom(t = {}) {
|
|
1849
|
+
return new j(t);
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
a.WatchScope = j;
|
|
1853
|
+
class Q {
|
|
1854
|
+
constructor(t = {}) {
|
|
1855
|
+
e(this, "connectionId");
|
|
1856
|
+
e(this, "resources");
|
|
1857
|
+
e(this, "resourceCounts");
|
|
1858
|
+
e(this, "scope");
|
|
1859
|
+
typeof t == "string" && (t = JSON.parse(t)), this.connectionId = t.connectionId, this.resources = t.resources, this.resourceCounts = t.resourceCounts, this.scope = this.convertValues(t.scope, j);
|
|
1860
|
+
}
|
|
1861
|
+
static createFrom(t = {}) {
|
|
1862
|
+
return new Q(t);
|
|
1863
|
+
}
|
|
1864
|
+
convertValues(t, y, w = !1) {
|
|
1865
|
+
if (!t)
|
|
1866
|
+
return t;
|
|
1867
|
+
if (t.slice && t.map)
|
|
1868
|
+
return t.map((c) => this.convertValues(c, y));
|
|
1869
|
+
if (typeof t == "object") {
|
|
1870
|
+
if (w) {
|
|
1871
|
+
for (const c of Object.keys(t))
|
|
1872
|
+
t[c] = new y(t[c]);
|
|
1873
|
+
return t;
|
|
1874
|
+
}
|
|
1875
|
+
return new y(t);
|
|
1876
|
+
}
|
|
1877
|
+
return t;
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
a.WatchConnectionSummary = Q;
|
|
1881
|
+
})(rt || (rt = {}));
|
|
1882
|
+
var st;
|
|
1883
|
+
((a) => {
|
|
1884
|
+
((f) => {
|
|
1885
|
+
f.TEXT = "text", f.SELECT = "select", f.MULTISELECT = "multiselect", f.INTEGER = "integer", f.FLOAT = "float", f.TOGGLE = "toggle", f.COLOR = "color", f.DATETIME = "datetime", f.PASSWORD = "password";
|
|
1886
|
+
})(a.SettingType || (a.SettingType = {}));
|
|
1887
|
+
class h {
|
|
1888
|
+
constructor(n = {}) {
|
|
1889
|
+
e(this, "enabled");
|
|
1890
|
+
e(this, "allowFolders");
|
|
1891
|
+
e(this, "extensions");
|
|
1892
|
+
e(this, "multiple");
|
|
1893
|
+
e(this, "relative");
|
|
1894
|
+
e(this, "defaultPath");
|
|
1895
|
+
typeof n == "string" && (n = JSON.parse(n)), this.enabled = n.enabled, this.allowFolders = n.allowFolders, this.extensions = n.extensions, this.multiple = n.multiple, this.relative = n.relative, this.defaultPath = n.defaultPath;
|
|
1896
|
+
}
|
|
1897
|
+
static createFrom(n = {}) {
|
|
1898
|
+
return new h(n);
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
a.SettingFileSelection = h;
|
|
1902
|
+
class d {
|
|
1903
|
+
constructor(n = {}) {
|
|
1904
|
+
e(this, "label");
|
|
1905
|
+
e(this, "description");
|
|
1906
|
+
e(this, "value");
|
|
1907
|
+
typeof n == "string" && (n = JSON.parse(n)), this.label = n.label, this.description = n.description, this.value = n.value;
|
|
1908
|
+
}
|
|
1909
|
+
static createFrom(n = {}) {
|
|
1910
|
+
return new d(n);
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
a.SettingOption = d;
|
|
1914
|
+
class p {
|
|
1915
|
+
constructor(n = {}) {
|
|
1916
|
+
e(this, "id");
|
|
1917
|
+
e(this, "label");
|
|
1918
|
+
e(this, "description");
|
|
1919
|
+
e(this, "type");
|
|
1920
|
+
e(this, "value");
|
|
1921
|
+
e(this, "default");
|
|
1922
|
+
e(this, "options");
|
|
1923
|
+
e(this, "fileSelection");
|
|
1924
|
+
e(this, "sensitive");
|
|
1925
|
+
typeof n == "string" && (n = JSON.parse(n)), this.id = n.id, this.label = n.label, this.description = n.description, this.type = n.type, this.value = n.value, this.default = n.default, this.options = this.convertValues(n.options, d), this.fileSelection = this.convertValues(n.fileSelection, h), this.sensitive = n.sensitive;
|
|
1926
|
+
}
|
|
1927
|
+
static createFrom(n = {}) {
|
|
1928
|
+
return new p(n);
|
|
1929
|
+
}
|
|
1930
|
+
convertValues(n, l, i = !1) {
|
|
1931
|
+
if (!n)
|
|
1932
|
+
return n;
|
|
1933
|
+
if (n.slice && n.map)
|
|
1934
|
+
return n.map((s) => this.convertValues(s, l));
|
|
1935
|
+
if (typeof n == "object") {
|
|
1936
|
+
if (i) {
|
|
1937
|
+
for (const s of Object.keys(n))
|
|
1938
|
+
n[s] = new l(n[s]);
|
|
1939
|
+
return n;
|
|
1940
|
+
}
|
|
1941
|
+
return new l(n);
|
|
1942
|
+
}
|
|
1943
|
+
return n;
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
a.Setting = p;
|
|
1947
|
+
class o {
|
|
1948
|
+
constructor(n = {}) {
|
|
1949
|
+
e(this, "settings");
|
|
1950
|
+
e(this, "id");
|
|
1951
|
+
e(this, "label");
|
|
1952
|
+
e(this, "description");
|
|
1953
|
+
e(this, "icon");
|
|
1954
|
+
typeof n == "string" && (n = JSON.parse(n)), this.settings = this.convertValues(n.settings, p, !0), this.id = n.id, this.label = n.label, this.description = n.description, this.icon = n.icon;
|
|
1955
|
+
}
|
|
1956
|
+
static createFrom(n = {}) {
|
|
1957
|
+
return new o(n);
|
|
1958
|
+
}
|
|
1959
|
+
convertValues(n, l, i = !1) {
|
|
1960
|
+
if (!n)
|
|
1961
|
+
return n;
|
|
1962
|
+
if (n.slice && n.map)
|
|
1963
|
+
return n.map((s) => this.convertValues(s, l));
|
|
1964
|
+
if (typeof n == "object") {
|
|
1965
|
+
if (i) {
|
|
1966
|
+
for (const s of Object.keys(n))
|
|
1967
|
+
n[s] = new l(n[s]);
|
|
1968
|
+
return n;
|
|
1969
|
+
}
|
|
1970
|
+
return new l(n);
|
|
1971
|
+
}
|
|
1972
|
+
return n;
|
|
1836
1973
|
}
|
|
1837
1974
|
}
|
|
1838
|
-
a.
|
|
1975
|
+
a.Category = o;
|
|
1976
|
+
})(st || (st = {}));
|
|
1977
|
+
var S;
|
|
1978
|
+
((a) => {
|
|
1979
|
+
class h {
|
|
1980
|
+
static createFrom(p = {}) {
|
|
1981
|
+
return new h(p);
|
|
1982
|
+
}
|
|
1983
|
+
constructor(p = {}) {
|
|
1984
|
+
typeof p == "string" && (p = JSON.parse(p));
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1987
|
+
a.Time = h;
|
|
1839
1988
|
})(S || (S = {}));
|
|
1840
|
-
var
|
|
1989
|
+
var at;
|
|
1990
|
+
((a) => {
|
|
1991
|
+
((p) => {
|
|
1992
|
+
p.CONFIG = "config", p.FILESYSTEM = "fs", p.IMAGE = "image", p.KUBERNETES = "kubernetes", p.REPOSITORY = "repository", p.ROOTFS = "rootfs", p.SBOM = "sbom";
|
|
1993
|
+
})(a.Command || (a.Command = {})), ((p) => {
|
|
1994
|
+
p.VULN = "vuln", p.MISCONFIG = "misconfig", p.SECRET = "secret", p.LICENSE = "license";
|
|
1995
|
+
})(a.Scanner || (a.Scanner = {}));
|
|
1996
|
+
class h {
|
|
1997
|
+
constructor(o = {}) {
|
|
1998
|
+
e(this, "filePatterns");
|
|
1999
|
+
e(this, "skipDirs");
|
|
2000
|
+
e(this, "skipFiles");
|
|
2001
|
+
e(this, "scanners");
|
|
2002
|
+
typeof o == "string" && (o = JSON.parse(o)), this.filePatterns = o.filePatterns, this.skipDirs = o.skipDirs, this.skipFiles = o.skipFiles, this.scanners = o.scanners;
|
|
2003
|
+
}
|
|
2004
|
+
static createFrom(o = {}) {
|
|
2005
|
+
return new h(o);
|
|
2006
|
+
}
|
|
2007
|
+
}
|
|
2008
|
+
a.ScanOptions = h;
|
|
2009
|
+
class d {
|
|
2010
|
+
constructor(o = {}) {
|
|
2011
|
+
e(this, "timestamp");
|
|
2012
|
+
e(this, "result");
|
|
2013
|
+
e(this, "id");
|
|
2014
|
+
e(this, "command");
|
|
2015
|
+
typeof o == "string" && (o = JSON.parse(o)), this.timestamp = this.convertValues(o.timestamp, S.Time), this.result = o.result, this.id = o.id, this.command = o.command;
|
|
2016
|
+
}
|
|
2017
|
+
static createFrom(o = {}) {
|
|
2018
|
+
return new d(o);
|
|
2019
|
+
}
|
|
2020
|
+
convertValues(o, f, n = !1) {
|
|
2021
|
+
if (!o)
|
|
2022
|
+
return o;
|
|
2023
|
+
if (o.slice && o.map)
|
|
2024
|
+
return o.map((l) => this.convertValues(l, f));
|
|
2025
|
+
if (typeof o == "object") {
|
|
2026
|
+
if (n) {
|
|
2027
|
+
for (const l of Object.keys(o))
|
|
2028
|
+
o[l] = new f(o[l]);
|
|
2029
|
+
return o;
|
|
2030
|
+
}
|
|
2031
|
+
return new f(o);
|
|
2032
|
+
}
|
|
2033
|
+
return o;
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
a.ScanResult = d;
|
|
2037
|
+
})(at || (at = {}));
|
|
2038
|
+
var Y;
|
|
1841
2039
|
((a) => {
|
|
2040
|
+
((l) => {
|
|
2041
|
+
l.UNKNOWN = "UNKNOWN", l.CONNECTED = "CONNECTED", l.DISCONNECTED = "DISCONNECTED", l.PENDING = "PENDING", l.FAILED = "FAILED", l.ERROR = "ERROR", l.UNAUTHORIZED = "UNAUTHORIZED", l.FORBIDDEN = "FORBIDDEN", l.BAD_REQUEST = "BAD_REQUEST", l.NOT_FOUND = "NOT_FOUND", l.TIMEOUT = "TIMEOUT", l.UNAVAILABLE = "UNAVAILABLE", l.REQUEST_ENTITY_TOO_LARGE = "REQUEST_ENTITY_TOO_LARGE";
|
|
2042
|
+
})(a.ConnectionStatusCode || (a.ConnectionStatusCode = {}));
|
|
2043
|
+
class h {
|
|
2044
|
+
constructor(i = {}) {
|
|
2045
|
+
e(this, "enabled");
|
|
2046
|
+
e(this, "triggers");
|
|
2047
|
+
e(this, "retry");
|
|
2048
|
+
typeof i == "string" && (i = JSON.parse(i)), this.enabled = i.enabled, this.triggers = i.triggers, this.retry = i.retry;
|
|
2049
|
+
}
|
|
2050
|
+
static createFrom(i = {}) {
|
|
2051
|
+
return new h(i);
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
a.ConnectionAutoConnect = h;
|
|
2055
|
+
class d {
|
|
2056
|
+
constructor(i = {}) {
|
|
2057
|
+
e(this, "auto_connect");
|
|
2058
|
+
typeof i == "string" && (i = JSON.parse(i)), this.auto_connect = this.convertValues(i.auto_connect, h);
|
|
2059
|
+
}
|
|
2060
|
+
static createFrom(i = {}) {
|
|
2061
|
+
return new d(i);
|
|
2062
|
+
}
|
|
2063
|
+
convertValues(i, s, v = !1) {
|
|
2064
|
+
if (!i)
|
|
2065
|
+
return i;
|
|
2066
|
+
if (i.slice && i.map)
|
|
2067
|
+
return i.map((m) => this.convertValues(m, s));
|
|
2068
|
+
if (typeof i == "object") {
|
|
2069
|
+
if (v) {
|
|
2070
|
+
for (const m of Object.keys(i))
|
|
2071
|
+
i[m] = new s(i[m]);
|
|
2072
|
+
return i;
|
|
2073
|
+
}
|
|
2074
|
+
return new s(i);
|
|
2075
|
+
}
|
|
2076
|
+
return i;
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
a.ConnectionLifecycle = d;
|
|
1842
2080
|
class p {
|
|
1843
|
-
constructor(
|
|
1844
|
-
e(this, "
|
|
1845
|
-
|
|
2081
|
+
constructor(i = {}) {
|
|
2082
|
+
e(this, "last_refresh");
|
|
2083
|
+
e(this, "data");
|
|
2084
|
+
e(this, "labels");
|
|
2085
|
+
e(this, "lifecycle");
|
|
2086
|
+
e(this, "id");
|
|
2087
|
+
e(this, "uid");
|
|
2088
|
+
e(this, "name");
|
|
2089
|
+
e(this, "description");
|
|
2090
|
+
e(this, "avatar");
|
|
2091
|
+
e(this, "expiry_time");
|
|
2092
|
+
e(this, "Client");
|
|
2093
|
+
typeof i == "string" && (i = JSON.parse(i)), this.last_refresh = this.convertValues(i.last_refresh, S.Time), this.data = i.data, this.labels = i.labels, this.lifecycle = this.convertValues(i.lifecycle, d), this.id = i.id, this.uid = i.uid, this.name = i.name, this.description = i.description, this.avatar = i.avatar, this.expiry_time = i.expiry_time, this.Client = i.Client;
|
|
1846
2094
|
}
|
|
1847
|
-
static createFrom(
|
|
1848
|
-
return new p(
|
|
2095
|
+
static createFrom(i = {}) {
|
|
2096
|
+
return new p(i);
|
|
2097
|
+
}
|
|
2098
|
+
convertValues(i, s, v = !1) {
|
|
2099
|
+
if (!i)
|
|
2100
|
+
return i;
|
|
2101
|
+
if (i.slice && i.map)
|
|
2102
|
+
return i.map((m) => this.convertValues(m, s));
|
|
2103
|
+
if (typeof i == "object") {
|
|
2104
|
+
if (v) {
|
|
2105
|
+
for (const m of Object.keys(i))
|
|
2106
|
+
i[m] = new s(i[m]);
|
|
2107
|
+
return i;
|
|
2108
|
+
}
|
|
2109
|
+
return new s(i);
|
|
2110
|
+
}
|
|
2111
|
+
return i;
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
a.Connection = p;
|
|
2115
|
+
class o {
|
|
2116
|
+
constructor(i = {}) {
|
|
2117
|
+
e(this, "connection");
|
|
2118
|
+
e(this, "status");
|
|
2119
|
+
e(this, "error");
|
|
2120
|
+
e(this, "details");
|
|
2121
|
+
typeof i == "string" && (i = JSON.parse(i)), this.connection = this.convertValues(i.connection, p), this.status = i.status, this.error = i.error, this.details = i.details;
|
|
2122
|
+
}
|
|
2123
|
+
static createFrom(i = {}) {
|
|
2124
|
+
return new o(i);
|
|
2125
|
+
}
|
|
2126
|
+
convertValues(i, s, v = !1) {
|
|
2127
|
+
if (!i)
|
|
2128
|
+
return i;
|
|
2129
|
+
if (i.slice && i.map)
|
|
2130
|
+
return i.map((m) => this.convertValues(m, s));
|
|
2131
|
+
if (typeof i == "object") {
|
|
2132
|
+
if (v) {
|
|
2133
|
+
for (const m of Object.keys(i))
|
|
2134
|
+
i[m] = new s(i[m]);
|
|
2135
|
+
return i;
|
|
2136
|
+
}
|
|
2137
|
+
return new s(i);
|
|
2138
|
+
}
|
|
2139
|
+
return i;
|
|
1849
2140
|
}
|
|
1850
2141
|
}
|
|
1851
|
-
a.
|
|
2142
|
+
a.ConnectionStatus = o;
|
|
1852
2143
|
class f {
|
|
1853
|
-
constructor(
|
|
2144
|
+
constructor(i = {}) {
|
|
2145
|
+
e(this, "id");
|
|
2146
|
+
e(this, "metadata");
|
|
2147
|
+
e(this, "phase");
|
|
2148
|
+
e(this, "enabled");
|
|
2149
|
+
e(this, "devMode");
|
|
2150
|
+
e(this, "devPath");
|
|
2151
|
+
e(this, "capabilities");
|
|
2152
|
+
e(this, "lastError");
|
|
2153
|
+
typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.metadata = this.convertValues(i.metadata, D.PluginMeta), this.phase = i.phase, this.enabled = i.enabled, this.devMode = i.devMode, this.devPath = i.devPath, this.capabilities = i.capabilities, this.lastError = i.lastError;
|
|
2154
|
+
}
|
|
2155
|
+
static createFrom(i = {}) {
|
|
2156
|
+
return new f(i);
|
|
2157
|
+
}
|
|
2158
|
+
convertValues(i, s, v = !1) {
|
|
2159
|
+
if (!i)
|
|
2160
|
+
return i;
|
|
2161
|
+
if (i.slice && i.map)
|
|
2162
|
+
return i.map((m) => this.convertValues(m, s));
|
|
2163
|
+
if (typeof i == "object") {
|
|
2164
|
+
if (v) {
|
|
2165
|
+
for (const m of Object.keys(i))
|
|
2166
|
+
i[m] = new s(i[m]);
|
|
2167
|
+
return i;
|
|
2168
|
+
}
|
|
2169
|
+
return new s(i);
|
|
2170
|
+
}
|
|
2171
|
+
return i;
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
a.PluginInfo = f;
|
|
2175
|
+
class n {
|
|
2176
|
+
constructor(i = {}) {
|
|
2177
|
+
e(this, "id");
|
|
2178
|
+
e(this, "phase");
|
|
2179
|
+
e(this, "metadata");
|
|
2180
|
+
e(this, "enabled");
|
|
2181
|
+
e(this, "devMode");
|
|
2182
|
+
e(this, "devPath");
|
|
2183
|
+
e(this, "lastError");
|
|
2184
|
+
e(this, "errorCount");
|
|
2185
|
+
e(this, "installedAt");
|
|
2186
|
+
typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.phase = i.phase, this.metadata = this.convertValues(i.metadata, D.PluginMeta), this.enabled = i.enabled, this.devMode = i.devMode, this.devPath = i.devPath, this.lastError = i.lastError, this.errorCount = i.errorCount, this.installedAt = this.convertValues(i.installedAt, S.Time);
|
|
2187
|
+
}
|
|
2188
|
+
static createFrom(i = {}) {
|
|
2189
|
+
return new n(i);
|
|
2190
|
+
}
|
|
2191
|
+
convertValues(i, s, v = !1) {
|
|
2192
|
+
if (!i)
|
|
2193
|
+
return i;
|
|
2194
|
+
if (i.slice && i.map)
|
|
2195
|
+
return i.map((m) => this.convertValues(m, s));
|
|
2196
|
+
if (typeof i == "object") {
|
|
2197
|
+
if (v) {
|
|
2198
|
+
for (const m of Object.keys(i))
|
|
2199
|
+
i[m] = new s(i[m]);
|
|
2200
|
+
return i;
|
|
2201
|
+
}
|
|
2202
|
+
return new s(i);
|
|
2203
|
+
}
|
|
2204
|
+
return i;
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
a.PluginStateRecord = n;
|
|
2208
|
+
})(Y || (Y = {}));
|
|
2209
|
+
var lt;
|
|
2210
|
+
((a) => {
|
|
2211
|
+
class h {
|
|
2212
|
+
constructor(n = {}) {
|
|
2213
|
+
e(this, "plugin");
|
|
2214
|
+
typeof n == "string" && (n = JSON.parse(n)), this.plugin = n.plugin;
|
|
2215
|
+
}
|
|
2216
|
+
static createFrom(n = {}) {
|
|
2217
|
+
return new h(n);
|
|
2218
|
+
}
|
|
2219
|
+
}
|
|
2220
|
+
a.GetPluginComponentsInput = h;
|
|
2221
|
+
class d {
|
|
2222
|
+
constructor(n = {}) {
|
|
1854
2223
|
e(this, "plugin");
|
|
1855
2224
|
e(this, "resource");
|
|
1856
2225
|
e(this, "area");
|
|
1857
|
-
typeof
|
|
2226
|
+
typeof n == "string" && (n = JSON.parse(n)), this.plugin = n.plugin, this.resource = n.resource, this.area = n.area;
|
|
1858
2227
|
}
|
|
1859
|
-
static createFrom(
|
|
1860
|
-
return new
|
|
2228
|
+
static createFrom(n = {}) {
|
|
2229
|
+
return new d(n);
|
|
1861
2230
|
}
|
|
1862
2231
|
}
|
|
1863
|
-
a.GetResourceAreaComponentInput =
|
|
1864
|
-
class
|
|
1865
|
-
constructor(
|
|
2232
|
+
a.GetResourceAreaComponentInput = d;
|
|
2233
|
+
class p {
|
|
2234
|
+
constructor(n = {}) {
|
|
1866
2235
|
e(this, "plugin");
|
|
1867
2236
|
e(this, "resource");
|
|
1868
|
-
typeof
|
|
2237
|
+
typeof n == "string" && (n = JSON.parse(n)), this.plugin = n.plugin, this.resource = n.resource;
|
|
1869
2238
|
}
|
|
1870
|
-
static createFrom(
|
|
1871
|
-
return new
|
|
2239
|
+
static createFrom(n = {}) {
|
|
2240
|
+
return new p(n);
|
|
1872
2241
|
}
|
|
1873
2242
|
}
|
|
1874
|
-
a.GetResourceComponentsInput =
|
|
2243
|
+
a.GetResourceComponentsInput = p;
|
|
1875
2244
|
class o {
|
|
1876
|
-
constructor(
|
|
2245
|
+
constructor(n = {}) {
|
|
1877
2246
|
e(this, "owner");
|
|
1878
2247
|
e(this, "name");
|
|
1879
2248
|
e(this, "plugin");
|
|
1880
2249
|
e(this, "resource");
|
|
1881
2250
|
e(this, "area");
|
|
1882
2251
|
e(this, "extension");
|
|
1883
|
-
typeof
|
|
2252
|
+
typeof n == "string" && (n = JSON.parse(n)), this.owner = n.owner, this.name = n.name, this.plugin = n.plugin, this.resource = n.resource, this.area = n.area, this.extension = n.extension;
|
|
1884
2253
|
}
|
|
1885
|
-
static createFrom(
|
|
1886
|
-
return new o(
|
|
2254
|
+
static createFrom(n = {}) {
|
|
2255
|
+
return new o(n);
|
|
1887
2256
|
}
|
|
1888
2257
|
}
|
|
1889
2258
|
a.ResourceComponent = o;
|
|
1890
|
-
})(
|
|
1891
|
-
var
|
|
2259
|
+
})(lt || (lt = {}));
|
|
2260
|
+
var ot;
|
|
1892
2261
|
((a) => {
|
|
1893
|
-
class
|
|
1894
|
-
constructor(
|
|
2262
|
+
class h {
|
|
2263
|
+
constructor(p = {}) {
|
|
1895
2264
|
e(this, "filename");
|
|
1896
2265
|
e(this, "contents");
|
|
1897
|
-
typeof
|
|
2266
|
+
typeof p == "string" && (p = JSON.parse(p)), this.filename = p.filename, this.contents = p.contents;
|
|
1898
2267
|
}
|
|
1899
|
-
static createFrom(
|
|
1900
|
-
return new p
|
|
2268
|
+
static createFrom(p = {}) {
|
|
2269
|
+
return new h(p);
|
|
1901
2270
|
}
|
|
1902
2271
|
}
|
|
1903
|
-
a.GetLanguageInput =
|
|
1904
|
-
})(
|
|
2272
|
+
a.GetLanguageInput = h;
|
|
2273
|
+
})(ot || (ot = {}));
|
|
1905
2274
|
export {
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
S as
|
|
1919
|
-
|
|
1920
|
-
|
|
2275
|
+
D as config,
|
|
2276
|
+
z as devserver,
|
|
2277
|
+
Z as exec,
|
|
2278
|
+
X as logs,
|
|
2279
|
+
$ as main,
|
|
2280
|
+
W as metric,
|
|
2281
|
+
tt as networker,
|
|
2282
|
+
et as plugin,
|
|
2283
|
+
it as pluginlog,
|
|
2284
|
+
nt as registry,
|
|
2285
|
+
rt as resource,
|
|
2286
|
+
st as settings,
|
|
2287
|
+
S as time,
|
|
2288
|
+
at as trivy,
|
|
2289
|
+
Y as types,
|
|
2290
|
+
lt as ui,
|
|
2291
|
+
ot as utils
|
|
1921
2292
|
};
|