@omniviewdev/runtime 0.2.0 → 0.2.2
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/hooks/resource/useResource.d.ts +3 -3
- package/dist/hooks/resource/useResourceMutations.d.ts +3 -3
- package/dist/hooks/resource/useResourceSearch.d.ts +1 -1
- package/dist/hooks/resource/useResources.d.ts +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +57 -57
- package/dist/models.cjs +1 -1
- package/dist/models.js +302 -348
- package/dist/types/extensions.d.ts +14 -4
- package/dist/types/homepage.d.ts +25 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/wailsjs/go/models.d.ts +33 -59
- package/dist/wailsjs/go/resource/Client.d.ts +9 -9
- package/package.json +1 -1
package/dist/models.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var e = (a, h, d) =>
|
|
1
|
+
var st = Object.defineProperty;
|
|
2
|
+
var at = (a, h, d) => h in a ? st(a, h, { enumerable: !0, configurable: !0, writable: !0, value: d }) : a[h] = d;
|
|
3
|
+
var e = (a, h, d) => at(a, typeof h != "symbol" ? h + "" : h, d);
|
|
4
4
|
var D;
|
|
5
5
|
((a) => {
|
|
6
6
|
class h {
|
|
@@ -37,15 +37,15 @@ var D;
|
|
|
37
37
|
static createFrom(s = {}) {
|
|
38
38
|
return new p(s);
|
|
39
39
|
}
|
|
40
|
-
convertValues(s, v,
|
|
40
|
+
convertValues(s, v, f = !1) {
|
|
41
41
|
if (!s)
|
|
42
42
|
return s;
|
|
43
43
|
if (s.slice && s.map)
|
|
44
|
-
return s.map((
|
|
44
|
+
return s.map((O) => this.convertValues(O, v));
|
|
45
45
|
if (typeof s == "object") {
|
|
46
|
-
if (
|
|
47
|
-
for (const
|
|
48
|
-
s[
|
|
46
|
+
if (f) {
|
|
47
|
+
for (const O of Object.keys(s))
|
|
48
|
+
s[O] = new v(s[O]);
|
|
49
49
|
return s;
|
|
50
50
|
}
|
|
51
51
|
return new v(s);
|
|
@@ -65,7 +65,7 @@ var D;
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
a.PluginMaintainer = o;
|
|
68
|
-
class
|
|
68
|
+
class m {
|
|
69
69
|
constructor(s = {}) {
|
|
70
70
|
e(this, "primary");
|
|
71
71
|
e(this, "secondary");
|
|
@@ -73,27 +73,27 @@ var D;
|
|
|
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 m(s);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
a.PluginThemeColors =
|
|
79
|
+
a.PluginThemeColors = m;
|
|
80
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, m);
|
|
84
84
|
}
|
|
85
85
|
static createFrom(s = {}) {
|
|
86
86
|
return new n(s);
|
|
87
87
|
}
|
|
88
|
-
convertValues(s, v,
|
|
88
|
+
convertValues(s, v, f = !1) {
|
|
89
89
|
if (!s)
|
|
90
90
|
return s;
|
|
91
91
|
if (s.slice && s.map)
|
|
92
|
-
return s.map((
|
|
92
|
+
return s.map((O) => this.convertValues(O, v));
|
|
93
93
|
if (typeof s == "object") {
|
|
94
|
-
if (
|
|
95
|
-
for (const
|
|
96
|
-
s[
|
|
94
|
+
if (f) {
|
|
95
|
+
for (const O of Object.keys(s))
|
|
96
|
+
s[O] = new v(s[O]);
|
|
97
97
|
return s;
|
|
98
98
|
}
|
|
99
99
|
return new v(s);
|
|
@@ -128,15 +128,15 @@ var D;
|
|
|
128
128
|
static createFrom(s = {}) {
|
|
129
129
|
return new l(s);
|
|
130
130
|
}
|
|
131
|
-
convertValues(s, v,
|
|
131
|
+
convertValues(s, v, f = !1) {
|
|
132
132
|
if (!s)
|
|
133
133
|
return s;
|
|
134
134
|
if (s.slice && s.map)
|
|
135
|
-
return s.map((
|
|
135
|
+
return s.map((O) => this.convertValues(O, v));
|
|
136
136
|
if (typeof s == "object") {
|
|
137
|
-
if (
|
|
138
|
-
for (const
|
|
139
|
-
s[
|
|
137
|
+
if (f) {
|
|
138
|
+
for (const O of Object.keys(s))
|
|
139
|
+
s[O] = new v(s[O]);
|
|
140
140
|
return s;
|
|
141
141
|
}
|
|
142
142
|
return new v(s);
|
|
@@ -146,7 +146,7 @@ var D;
|
|
|
146
146
|
}
|
|
147
147
|
a.PluginMeta = l;
|
|
148
148
|
})(D || (D = {}));
|
|
149
|
-
var
|
|
149
|
+
var H;
|
|
150
150
|
((a) => {
|
|
151
151
|
class h {
|
|
152
152
|
constructor(n = {}) {
|
|
@@ -208,8 +208,8 @@ var z;
|
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
a.LogEntry = o;
|
|
211
|
-
})(
|
|
212
|
-
var
|
|
211
|
+
})(H || (H = {}));
|
|
212
|
+
var q;
|
|
213
213
|
((a) => {
|
|
214
214
|
class h {
|
|
215
215
|
constructor(i = {}) {
|
|
@@ -232,7 +232,7 @@ var Z;
|
|
|
232
232
|
e(this, "id");
|
|
233
233
|
e(this, "command");
|
|
234
234
|
e(this, "attached");
|
|
235
|
-
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, _.Time), this.labels = i.labels, this.params = i.params, this.id = i.id, this.command = i.command, this.attached = i.attached;
|
|
236
236
|
}
|
|
237
237
|
static createFrom(i = {}) {
|
|
238
238
|
return new d(i);
|
|
@@ -241,11 +241,11 @@ var Z;
|
|
|
241
241
|
if (!i)
|
|
242
242
|
return i;
|
|
243
243
|
if (i.slice && i.map)
|
|
244
|
-
return i.map((
|
|
244
|
+
return i.map((f) => this.convertValues(f, s));
|
|
245
245
|
if (typeof i == "object") {
|
|
246
246
|
if (v) {
|
|
247
|
-
for (const
|
|
248
|
-
i[
|
|
247
|
+
for (const f of Object.keys(i))
|
|
248
|
+
i[f] = new s(i[f]);
|
|
249
249
|
return i;
|
|
250
250
|
}
|
|
251
251
|
return new s(i);
|
|
@@ -267,11 +267,11 @@ var Z;
|
|
|
267
267
|
if (!i)
|
|
268
268
|
return i;
|
|
269
269
|
if (i.slice && i.map)
|
|
270
|
-
return i.map((
|
|
270
|
+
return i.map((f) => this.convertValues(f, s));
|
|
271
271
|
if (typeof i == "object") {
|
|
272
272
|
if (v) {
|
|
273
|
-
for (const
|
|
274
|
-
i[
|
|
273
|
+
for (const f of Object.keys(i))
|
|
274
|
+
i[f] = new s(i[f]);
|
|
275
275
|
return i;
|
|
276
276
|
}
|
|
277
277
|
return new s(i);
|
|
@@ -291,7 +291,7 @@ var Z;
|
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
a.CreateTerminalOptions = o;
|
|
294
|
-
class
|
|
294
|
+
class m {
|
|
295
295
|
constructor(i = {}) {
|
|
296
296
|
e(this, "plugin");
|
|
297
297
|
e(this, "resource");
|
|
@@ -300,17 +300,17 @@ var Z;
|
|
|
300
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;
|
|
301
301
|
}
|
|
302
302
|
static createFrom(i = {}) {
|
|
303
|
-
return new
|
|
303
|
+
return new m(i);
|
|
304
304
|
}
|
|
305
305
|
convertValues(i, s, v = !1) {
|
|
306
306
|
if (!i)
|
|
307
307
|
return i;
|
|
308
308
|
if (i.slice && i.map)
|
|
309
|
-
return i.map((
|
|
309
|
+
return i.map((f) => this.convertValues(f, s));
|
|
310
310
|
if (typeof i == "object") {
|
|
311
311
|
if (v) {
|
|
312
|
-
for (const
|
|
313
|
-
i[
|
|
312
|
+
for (const f of Object.keys(i))
|
|
313
|
+
i[f] = new s(i[f]);
|
|
314
314
|
return i;
|
|
315
315
|
}
|
|
316
316
|
return new s(i);
|
|
@@ -318,7 +318,7 @@ var Z;
|
|
|
318
318
|
return i;
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
|
-
a.Handler =
|
|
321
|
+
a.Handler = m;
|
|
322
322
|
class n {
|
|
323
323
|
constructor(i = {}) {
|
|
324
324
|
e(this, "params");
|
|
@@ -336,8 +336,8 @@ var Z;
|
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
338
|
a.SessionOptions = n;
|
|
339
|
-
})(
|
|
340
|
-
var
|
|
339
|
+
})(q || (q = {}));
|
|
340
|
+
var Q;
|
|
341
341
|
((a) => {
|
|
342
342
|
class h {
|
|
343
343
|
constructor(i = {}) {
|
|
@@ -364,7 +364,7 @@ var X;
|
|
|
364
364
|
e(this, "limit_bytes");
|
|
365
365
|
e(this, "include_source_events");
|
|
366
366
|
e(this, "params");
|
|
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,
|
|
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, _.Time), this.limit_bytes = i.limit_bytes, this.include_source_events = i.include_source_events, this.params = i.params;
|
|
368
368
|
}
|
|
369
369
|
static createFrom(i = {}) {
|
|
370
370
|
return new d(i);
|
|
@@ -373,11 +373,11 @@ var X;
|
|
|
373
373
|
if (!i)
|
|
374
374
|
return i;
|
|
375
375
|
if (i.slice && i.map)
|
|
376
|
-
return i.map((
|
|
376
|
+
return i.map((f) => this.convertValues(f, s));
|
|
377
377
|
if (typeof i == "object") {
|
|
378
378
|
if (v) {
|
|
379
|
-
for (const
|
|
380
|
-
i[
|
|
379
|
+
for (const f of Object.keys(i))
|
|
380
|
+
i[f] = new s(i[f]);
|
|
381
381
|
return i;
|
|
382
382
|
}
|
|
383
383
|
return new s(i);
|
|
@@ -401,11 +401,11 @@ var X;
|
|
|
401
401
|
if (!i)
|
|
402
402
|
return i;
|
|
403
403
|
if (i.slice && i.map)
|
|
404
|
-
return i.map((
|
|
404
|
+
return i.map((f) => this.convertValues(f, s));
|
|
405
405
|
if (typeof i == "object") {
|
|
406
406
|
if (v) {
|
|
407
|
-
for (const
|
|
408
|
-
i[
|
|
407
|
+
for (const f of Object.keys(i))
|
|
408
|
+
i[f] = new s(i[f]);
|
|
409
409
|
return i;
|
|
410
410
|
}
|
|
411
411
|
return new s(i);
|
|
@@ -428,11 +428,11 @@ var X;
|
|
|
428
428
|
if (!i)
|
|
429
429
|
return i;
|
|
430
430
|
if (i.slice && i.map)
|
|
431
|
-
return i.map((
|
|
431
|
+
return i.map((f) => this.convertValues(f, s));
|
|
432
432
|
if (typeof i == "object") {
|
|
433
433
|
if (v) {
|
|
434
|
-
for (const
|
|
435
|
-
i[
|
|
434
|
+
for (const f of Object.keys(i))
|
|
435
|
+
i[f] = new s(i[f]);
|
|
436
436
|
return i;
|
|
437
437
|
}
|
|
438
438
|
return new s(i);
|
|
@@ -441,17 +441,17 @@ var X;
|
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
a.Handler = o;
|
|
444
|
-
class
|
|
444
|
+
class m {
|
|
445
445
|
constructor(i = {}) {
|
|
446
446
|
e(this, "id");
|
|
447
447
|
e(this, "labels");
|
|
448
448
|
typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.labels = i.labels;
|
|
449
449
|
}
|
|
450
450
|
static createFrom(i = {}) {
|
|
451
|
-
return new
|
|
451
|
+
return new m(i);
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
a.LogSource =
|
|
454
|
+
a.LogSource = m;
|
|
455
455
|
class n {
|
|
456
456
|
constructor(i = {}) {
|
|
457
457
|
e(this, "id");
|
|
@@ -463,7 +463,7 @@ var X;
|
|
|
463
463
|
e(this, "status");
|
|
464
464
|
e(this, "active_sources");
|
|
465
465
|
e(this, "created_at");
|
|
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,
|
|
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, m), this.created_at = this.convertValues(i.created_at, _.Time);
|
|
467
467
|
}
|
|
468
468
|
static createFrom(i = {}) {
|
|
469
469
|
return new n(i);
|
|
@@ -472,11 +472,11 @@ var X;
|
|
|
472
472
|
if (!i)
|
|
473
473
|
return i;
|
|
474
474
|
if (i.slice && i.map)
|
|
475
|
-
return i.map((
|
|
475
|
+
return i.map((f) => this.convertValues(f, s));
|
|
476
476
|
if (typeof i == "object") {
|
|
477
477
|
if (v) {
|
|
478
|
-
for (const
|
|
479
|
-
i[
|
|
478
|
+
for (const f of Object.keys(i))
|
|
479
|
+
i[f] = new s(i[f]);
|
|
480
480
|
return i;
|
|
481
481
|
}
|
|
482
482
|
return new s(i);
|
|
@@ -485,8 +485,8 @@ var X;
|
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
487
|
a.LogSession = n;
|
|
488
|
-
})(
|
|
489
|
-
var
|
|
488
|
+
})(Q || (Q = {}));
|
|
489
|
+
var Y;
|
|
490
490
|
((a) => {
|
|
491
491
|
class h {
|
|
492
492
|
constructor(o = {}) {
|
|
@@ -514,25 +514,25 @@ var $;
|
|
|
514
514
|
static createFrom(o = {}) {
|
|
515
515
|
return new d(o);
|
|
516
516
|
}
|
|
517
|
-
convertValues(o,
|
|
517
|
+
convertValues(o, m, n = !1) {
|
|
518
518
|
if (!o)
|
|
519
519
|
return o;
|
|
520
520
|
if (o.slice && o.map)
|
|
521
|
-
return o.map((l) => this.convertValues(l,
|
|
521
|
+
return o.map((l) => this.convertValues(l, m));
|
|
522
522
|
if (typeof o == "object") {
|
|
523
523
|
if (n) {
|
|
524
524
|
for (const l of Object.keys(o))
|
|
525
|
-
o[l] = new
|
|
525
|
+
o[l] = new m(o[l]);
|
|
526
526
|
return o;
|
|
527
527
|
}
|
|
528
|
-
return new
|
|
528
|
+
return new m(o);
|
|
529
529
|
}
|
|
530
530
|
return o;
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
a.FileDialogOptions = d;
|
|
534
|
-
})(
|
|
535
|
-
var
|
|
534
|
+
})(Y || (Y = {}));
|
|
535
|
+
var z;
|
|
536
536
|
((a) => {
|
|
537
537
|
class h {
|
|
538
538
|
constructor(r = {}) {
|
|
@@ -572,18 +572,18 @@ var W;
|
|
|
572
572
|
e(this, "value");
|
|
573
573
|
e(this, "timestamp");
|
|
574
574
|
e(this, "labels");
|
|
575
|
-
typeof r == "string" && (r = JSON.parse(r)), this.metric_id = r.metric_id, this.value = r.value, this.timestamp = this.convertValues(r.timestamp,
|
|
575
|
+
typeof r == "string" && (r = JSON.parse(r)), this.metric_id = r.metric_id, this.value = r.value, this.timestamp = this.convertValues(r.timestamp, _.Time), this.labels = r.labels;
|
|
576
576
|
}
|
|
577
577
|
static createFrom(r = {}) {
|
|
578
578
|
return new p(r);
|
|
579
579
|
}
|
|
580
|
-
convertValues(r, g,
|
|
580
|
+
convertValues(r, g, V = !1) {
|
|
581
581
|
if (!r)
|
|
582
582
|
return r;
|
|
583
583
|
if (r.slice && r.map)
|
|
584
584
|
return r.map((u) => this.convertValues(u, g));
|
|
585
585
|
if (typeof r == "object") {
|
|
586
|
-
if (
|
|
586
|
+
if (V) {
|
|
587
587
|
for (const u of Object.keys(r))
|
|
588
588
|
r[u] = new g(r[u]);
|
|
589
589
|
return r;
|
|
@@ -599,18 +599,18 @@ var W;
|
|
|
599
599
|
e(this, "timestamp");
|
|
600
600
|
e(this, "value");
|
|
601
601
|
e(this, "labels");
|
|
602
|
-
typeof r == "string" && (r = JSON.parse(r)), this.timestamp = this.convertValues(r.timestamp,
|
|
602
|
+
typeof r == "string" && (r = JSON.parse(r)), this.timestamp = this.convertValues(r.timestamp, _.Time), this.value = r.value, this.labels = r.labels;
|
|
603
603
|
}
|
|
604
604
|
static createFrom(r = {}) {
|
|
605
605
|
return new o(r);
|
|
606
606
|
}
|
|
607
|
-
convertValues(r, g,
|
|
607
|
+
convertValues(r, g, V = !1) {
|
|
608
608
|
if (!r)
|
|
609
609
|
return r;
|
|
610
610
|
if (r.slice && r.map)
|
|
611
611
|
return r.map((u) => this.convertValues(u, g));
|
|
612
612
|
if (typeof r == "object") {
|
|
613
|
-
if (
|
|
613
|
+
if (V) {
|
|
614
614
|
for (const u of Object.keys(r))
|
|
615
615
|
r[u] = new g(r[u]);
|
|
616
616
|
return r;
|
|
@@ -621,7 +621,7 @@ var W;
|
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
623
|
a.DataPoint = o;
|
|
624
|
-
class
|
|
624
|
+
class m {
|
|
625
625
|
constructor(r = {}) {
|
|
626
626
|
e(this, "id");
|
|
627
627
|
e(this, "name");
|
|
@@ -634,15 +634,15 @@ var W;
|
|
|
634
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;
|
|
635
635
|
}
|
|
636
636
|
static createFrom(r = {}) {
|
|
637
|
-
return new
|
|
637
|
+
return new m(r);
|
|
638
638
|
}
|
|
639
|
-
convertValues(r, g,
|
|
639
|
+
convertValues(r, g, V = !1) {
|
|
640
640
|
if (!r)
|
|
641
641
|
return r;
|
|
642
642
|
if (r.slice && r.map)
|
|
643
643
|
return r.map((u) => this.convertValues(u, g));
|
|
644
644
|
if (typeof r == "object") {
|
|
645
|
-
if (
|
|
645
|
+
if (V) {
|
|
646
646
|
for (const u of Object.keys(r))
|
|
647
647
|
r[u] = new g(r[u]);
|
|
648
648
|
return r;
|
|
@@ -652,23 +652,23 @@ var W;
|
|
|
652
652
|
return r;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
a.MetricDescriptor =
|
|
655
|
+
a.MetricDescriptor = m;
|
|
656
656
|
class n {
|
|
657
657
|
constructor(r = {}) {
|
|
658
658
|
e(this, "resource");
|
|
659
659
|
e(this, "metrics");
|
|
660
|
-
typeof r == "string" && (r = JSON.parse(r)), this.resource = r.resource, this.metrics = this.convertValues(r.metrics,
|
|
660
|
+
typeof r == "string" && (r = JSON.parse(r)), this.resource = r.resource, this.metrics = this.convertValues(r.metrics, m);
|
|
661
661
|
}
|
|
662
662
|
static createFrom(r = {}) {
|
|
663
663
|
return new n(r);
|
|
664
664
|
}
|
|
665
|
-
convertValues(r, g,
|
|
665
|
+
convertValues(r, g, V = !1) {
|
|
666
666
|
if (!r)
|
|
667
667
|
return r;
|
|
668
668
|
if (r.slice && r.map)
|
|
669
669
|
return r.map((u) => this.convertValues(u, g));
|
|
670
670
|
if (typeof r == "object") {
|
|
671
|
-
if (
|
|
671
|
+
if (V) {
|
|
672
672
|
for (const u of Object.keys(r))
|
|
673
673
|
r[u] = new g(r[u]);
|
|
674
674
|
return r;
|
|
@@ -692,13 +692,13 @@ var W;
|
|
|
692
692
|
static createFrom(r = {}) {
|
|
693
693
|
return new l(r);
|
|
694
694
|
}
|
|
695
|
-
convertValues(r, g,
|
|
695
|
+
convertValues(r, g, V = !1) {
|
|
696
696
|
if (!r)
|
|
697
697
|
return r;
|
|
698
698
|
if (r.slice && r.map)
|
|
699
699
|
return r.map((u) => this.convertValues(u, g));
|
|
700
700
|
if (typeof r == "object") {
|
|
701
|
-
if (
|
|
701
|
+
if (V) {
|
|
702
702
|
for (const u of Object.keys(r))
|
|
703
703
|
r[u] = new g(r[u]);
|
|
704
704
|
return r;
|
|
@@ -719,13 +719,13 @@ var W;
|
|
|
719
719
|
static createFrom(r = {}) {
|
|
720
720
|
return new i(r);
|
|
721
721
|
}
|
|
722
|
-
convertValues(r, g,
|
|
722
|
+
convertValues(r, g, V = !1) {
|
|
723
723
|
if (!r)
|
|
724
724
|
return r;
|
|
725
725
|
if (r.slice && r.map)
|
|
726
726
|
return r.map((u) => this.convertValues(u, g));
|
|
727
727
|
if (typeof r == "object") {
|
|
728
|
-
if (
|
|
728
|
+
if (V) {
|
|
729
729
|
for (const u of Object.keys(r))
|
|
730
730
|
r[u] = new g(r[u]);
|
|
731
731
|
return r;
|
|
@@ -746,13 +746,13 @@ var W;
|
|
|
746
746
|
static createFrom(r = {}) {
|
|
747
747
|
return new s(r);
|
|
748
748
|
}
|
|
749
|
-
convertValues(r, g,
|
|
749
|
+
convertValues(r, g, V = !1) {
|
|
750
750
|
if (!r)
|
|
751
751
|
return r;
|
|
752
752
|
if (r.slice && r.map)
|
|
753
753
|
return r.map((u) => this.convertValues(u, g));
|
|
754
754
|
if (typeof r == "object") {
|
|
755
|
-
if (
|
|
755
|
+
if (V) {
|
|
756
756
|
for (const u of Object.keys(r))
|
|
757
757
|
r[u] = new g(r[u]);
|
|
758
758
|
return r;
|
|
@@ -775,18 +775,18 @@ var W;
|
|
|
775
775
|
e(this, "end_time");
|
|
776
776
|
e(this, "step");
|
|
777
777
|
e(this, "params");
|
|
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,
|
|
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, _.Time), this.end_time = this.convertValues(r.end_time, _.Time), this.step = r.step, this.params = r.params;
|
|
779
779
|
}
|
|
780
780
|
static createFrom(r = {}) {
|
|
781
781
|
return new v(r);
|
|
782
782
|
}
|
|
783
|
-
convertValues(r, g,
|
|
783
|
+
convertValues(r, g, V = !1) {
|
|
784
784
|
if (!r)
|
|
785
785
|
return r;
|
|
786
786
|
if (r.slice && r.map)
|
|
787
787
|
return r.map((u) => this.convertValues(u, g));
|
|
788
788
|
if (typeof r == "object") {
|
|
789
|
-
if (
|
|
789
|
+
if (V) {
|
|
790
790
|
for (const u of Object.keys(r))
|
|
791
791
|
r[u] = new g(r[u]);
|
|
792
792
|
return r;
|
|
@@ -797,7 +797,7 @@ var W;
|
|
|
797
797
|
}
|
|
798
798
|
}
|
|
799
799
|
a.QueryRequest = v;
|
|
800
|
-
class
|
|
800
|
+
class f {
|
|
801
801
|
constructor(r = {}) {
|
|
802
802
|
e(this, "success");
|
|
803
803
|
e(this, "results");
|
|
@@ -805,15 +805,15 @@ var W;
|
|
|
805
805
|
typeof r == "string" && (r = JSON.parse(r)), this.success = r.success, this.results = this.convertValues(r.results, s), this.error = r.error;
|
|
806
806
|
}
|
|
807
807
|
static createFrom(r = {}) {
|
|
808
|
-
return new
|
|
808
|
+
return new f(r);
|
|
809
809
|
}
|
|
810
|
-
convertValues(r, g,
|
|
810
|
+
convertValues(r, g, V = !1) {
|
|
811
811
|
if (!r)
|
|
812
812
|
return r;
|
|
813
813
|
if (r.slice && r.map)
|
|
814
814
|
return r.map((u) => this.convertValues(u, g));
|
|
815
815
|
if (typeof r == "object") {
|
|
816
|
-
if (
|
|
816
|
+
if (V) {
|
|
817
817
|
for (const u of Object.keys(r))
|
|
818
818
|
r[u] = new g(r[u]);
|
|
819
819
|
return r;
|
|
@@ -823,8 +823,8 @@ var W;
|
|
|
823
823
|
return r;
|
|
824
824
|
}
|
|
825
825
|
}
|
|
826
|
-
a.QueryResponse =
|
|
827
|
-
class
|
|
826
|
+
a.QueryResponse = f;
|
|
827
|
+
class O {
|
|
828
828
|
constructor(r = {}) {
|
|
829
829
|
e(this, "resource_key");
|
|
830
830
|
e(this, "resource_id");
|
|
@@ -835,12 +835,12 @@ var W;
|
|
|
835
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;
|
|
836
836
|
}
|
|
837
837
|
static createFrom(r = {}) {
|
|
838
|
-
return new
|
|
838
|
+
return new O(r);
|
|
839
839
|
}
|
|
840
840
|
}
|
|
841
|
-
a.SubscribeRequest =
|
|
842
|
-
})(
|
|
843
|
-
var
|
|
841
|
+
a.SubscribeRequest = O;
|
|
842
|
+
})(z || (z = {}));
|
|
843
|
+
var Z;
|
|
844
844
|
((a) => {
|
|
845
845
|
class h {
|
|
846
846
|
constructor(n = {}) {
|
|
@@ -878,7 +878,7 @@ var tt;
|
|
|
878
878
|
e(this, "encryption");
|
|
879
879
|
e(this, "local_port");
|
|
880
880
|
e(this, "remote_port");
|
|
881
|
-
typeof n == "string" && (n = JSON.parse(n)), this.created_at = this.convertValues(n.created_at,
|
|
881
|
+
typeof n == "string" && (n = JSON.parse(n)), this.created_at = this.convertValues(n.created_at, _.Time), this.updated_at = this.convertValues(n.updated_at, _.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;
|
|
882
882
|
}
|
|
883
883
|
static createFrom(n = {}) {
|
|
884
884
|
return new p(n);
|
|
@@ -932,26 +932,26 @@ var tt;
|
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
a.PortForwardSessionOptions = o;
|
|
935
|
-
})(
|
|
936
|
-
var
|
|
935
|
+
})(Z || (Z = {}));
|
|
936
|
+
var X;
|
|
937
937
|
((a) => {
|
|
938
938
|
class h {
|
|
939
939
|
constructor(p = {}) {
|
|
940
940
|
e(this, "DevMode");
|
|
941
941
|
e(this, "DevModePath");
|
|
942
942
|
e(this, "ExistingState");
|
|
943
|
-
typeof p == "string" && (p = JSON.parse(p)), this.DevMode = p.DevMode, this.DevModePath = p.DevModePath, this.ExistingState = this.convertValues(p.ExistingState,
|
|
943
|
+
typeof p == "string" && (p = JSON.parse(p)), this.DevMode = p.DevMode, this.DevModePath = p.DevModePath, this.ExistingState = this.convertValues(p.ExistingState, B.PluginStateRecord);
|
|
944
944
|
}
|
|
945
945
|
static createFrom(p = {}) {
|
|
946
946
|
return new h(p);
|
|
947
947
|
}
|
|
948
|
-
convertValues(p, o,
|
|
948
|
+
convertValues(p, o, m = !1) {
|
|
949
949
|
if (!p)
|
|
950
950
|
return p;
|
|
951
951
|
if (p.slice && p.map)
|
|
952
952
|
return p.map((n) => this.convertValues(n, o));
|
|
953
953
|
if (typeof p == "object") {
|
|
954
|
-
if (
|
|
954
|
+
if (m) {
|
|
955
955
|
for (const n of Object.keys(p))
|
|
956
956
|
p[n] = new o(p[n]);
|
|
957
957
|
return p;
|
|
@@ -962,43 +962,43 @@ var et;
|
|
|
962
962
|
}
|
|
963
963
|
}
|
|
964
964
|
a.LoadPluginOptions = h;
|
|
965
|
-
})(
|
|
966
|
-
var
|
|
965
|
+
})(X || (X = {}));
|
|
966
|
+
var $;
|
|
967
967
|
((a) => {
|
|
968
968
|
class h {
|
|
969
|
-
constructor(
|
|
969
|
+
constructor(m = {}) {
|
|
970
970
|
e(this, "timestamp");
|
|
971
971
|
e(this, "pluginID");
|
|
972
972
|
e(this, "source");
|
|
973
973
|
e(this, "level");
|
|
974
974
|
e(this, "message");
|
|
975
|
-
typeof
|
|
975
|
+
typeof m == "string" && (m = JSON.parse(m)), this.timestamp = m.timestamp, this.pluginID = m.pluginID, this.source = m.source, this.level = m.level, this.message = m.message;
|
|
976
976
|
}
|
|
977
|
-
static createFrom(
|
|
978
|
-
return new h(
|
|
977
|
+
static createFrom(m = {}) {
|
|
978
|
+
return new h(m);
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
981
|
a.LogEntry = h;
|
|
982
982
|
class d {
|
|
983
|
-
static createFrom(
|
|
984
|
-
return new d(
|
|
983
|
+
static createFrom(m = {}) {
|
|
984
|
+
return new d(m);
|
|
985
985
|
}
|
|
986
|
-
constructor(
|
|
987
|
-
typeof
|
|
986
|
+
constructor(m = {}) {
|
|
987
|
+
typeof m == "string" && (m = JSON.parse(m));
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
990
|
a.Manager = d;
|
|
991
991
|
class p {
|
|
992
|
-
static createFrom(
|
|
993
|
-
return new p(
|
|
992
|
+
static createFrom(m = {}) {
|
|
993
|
+
return new p(m);
|
|
994
994
|
}
|
|
995
|
-
constructor(
|
|
996
|
-
typeof
|
|
995
|
+
constructor(m = {}) {
|
|
996
|
+
typeof m == "string" && (m = JSON.parse(m));
|
|
997
997
|
}
|
|
998
998
|
}
|
|
999
999
|
a.PluginLogStream = p;
|
|
1000
|
-
})(
|
|
1001
|
-
var
|
|
1000
|
+
})($ || ($ = {}));
|
|
1001
|
+
var W;
|
|
1002
1002
|
((a) => {
|
|
1003
1003
|
class h {
|
|
1004
1004
|
constructor(l = {}) {
|
|
@@ -1082,7 +1082,7 @@ var nt;
|
|
|
1082
1082
|
}
|
|
1083
1083
|
}
|
|
1084
1084
|
a.Review = o;
|
|
1085
|
-
class
|
|
1085
|
+
class m {
|
|
1086
1086
|
constructor(l = {}) {
|
|
1087
1087
|
e(this, "version");
|
|
1088
1088
|
e(this, "description");
|
|
@@ -1094,17 +1094,17 @@ var nt;
|
|
|
1094
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;
|
|
1095
1095
|
}
|
|
1096
1096
|
static createFrom(l = {}) {
|
|
1097
|
-
return new
|
|
1097
|
+
return new m(l);
|
|
1098
1098
|
}
|
|
1099
1099
|
}
|
|
1100
|
-
a.VersionInfo =
|
|
1101
|
-
})(
|
|
1102
|
-
var
|
|
1100
|
+
a.VersionInfo = m;
|
|
1101
|
+
})(W || (W = {}));
|
|
1102
|
+
var tt;
|
|
1103
1103
|
((a) => {
|
|
1104
|
-
((
|
|
1105
|
-
|
|
1106
|
-
})(a.WatchState || (a.WatchState = {})), ((
|
|
1107
|
-
|
|
1104
|
+
((b) => {
|
|
1105
|
+
b[b.IDLE = 0] = "IDLE", b[b.SYNCING = 1] = "SYNCING", b[b.SYNCED = 2] = "SYNCED", b[b.ERROR = 3] = "ERROR", b[b.STOPPED = 4] = "STOPPED", b[b.FAILED = 5] = "FAILED", b[b.FORBIDDEN = 6] = "FORBIDDEN", b[b.SKIPPED = 7] = "SKIPPED";
|
|
1106
|
+
})(a.WatchState || (a.WatchState = {})), ((b) => {
|
|
1107
|
+
b[b.ON_CONNECT = 0] = "ON_CONNECT", b[b.ON_FIRST_QUERY = 1] = "ON_FIRST_QUERY", b[b.NEVER = 2] = "NEVER";
|
|
1108
1108
|
})(a.SyncPolicy || (a.SyncPolicy = {}));
|
|
1109
1109
|
class h {
|
|
1110
1110
|
constructor(t = {}) {
|
|
@@ -1209,7 +1209,7 @@ var rt;
|
|
|
1209
1209
|
}
|
|
1210
1210
|
}
|
|
1211
1211
|
a.ActionInput = o;
|
|
1212
|
-
class
|
|
1212
|
+
class m {
|
|
1213
1213
|
constructor(t = {}) {
|
|
1214
1214
|
e(this, "success");
|
|
1215
1215
|
e(this, "data");
|
|
@@ -1217,11 +1217,58 @@ var rt;
|
|
|
1217
1217
|
typeof t == "string" && (t = JSON.parse(t)), this.success = t.success, this.data = t.data, this.message = t.message;
|
|
1218
1218
|
}
|
|
1219
1219
|
static createFrom(t = {}) {
|
|
1220
|
-
return new
|
|
1220
|
+
return new m(t);
|
|
1221
1221
|
}
|
|
1222
1222
|
}
|
|
1223
|
-
a.ActionResult =
|
|
1223
|
+
a.ActionResult = m;
|
|
1224
1224
|
class n {
|
|
1225
|
+
constructor(t = {}) {
|
|
1226
|
+
e(this, "input");
|
|
1227
|
+
e(this, "namespace");
|
|
1228
|
+
typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.namespace = t.namespace;
|
|
1229
|
+
}
|
|
1230
|
+
static createFrom(t = {}) {
|
|
1231
|
+
return new n(t);
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
a.ClientCreateInput = n;
|
|
1235
|
+
class l {
|
|
1236
|
+
constructor(t = {}) {
|
|
1237
|
+
e(this, "result");
|
|
1238
|
+
e(this, "success");
|
|
1239
|
+
e(this, "totalCount");
|
|
1240
|
+
e(this, "nextCursor");
|
|
1241
|
+
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success, this.totalCount = t.totalCount, this.nextCursor = t.nextCursor;
|
|
1242
|
+
}
|
|
1243
|
+
static createFrom(t = {}) {
|
|
1244
|
+
return new l(t);
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
a.ClientListResult = l;
|
|
1248
|
+
class i {
|
|
1249
|
+
constructor(t = {}) {
|
|
1250
|
+
e(this, "result");
|
|
1251
|
+
e(this, "success");
|
|
1252
|
+
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
|
|
1253
|
+
}
|
|
1254
|
+
static createFrom(t = {}) {
|
|
1255
|
+
return new i(t);
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
a.ClientResult = i;
|
|
1259
|
+
class s {
|
|
1260
|
+
constructor(t = {}) {
|
|
1261
|
+
e(this, "input");
|
|
1262
|
+
e(this, "id");
|
|
1263
|
+
e(this, "namespace");
|
|
1264
|
+
typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.id = t.id, this.namespace = t.namespace;
|
|
1265
|
+
}
|
|
1266
|
+
static createFrom(t = {}) {
|
|
1267
|
+
return new s(t);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
a.ClientUpdateInput = s;
|
|
1271
|
+
class v {
|
|
1225
1272
|
constructor(t = {}) {
|
|
1226
1273
|
e(this, "idAccessor");
|
|
1227
1274
|
e(this, "namespaceAccessor");
|
|
@@ -1234,11 +1281,11 @@ var rt;
|
|
|
1234
1281
|
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;
|
|
1235
1282
|
}
|
|
1236
1283
|
static createFrom(t = {}) {
|
|
1237
|
-
return new
|
|
1284
|
+
return new v(t);
|
|
1238
1285
|
}
|
|
1239
1286
|
}
|
|
1240
|
-
a.ResourceLink =
|
|
1241
|
-
class
|
|
1287
|
+
a.ResourceLink = v;
|
|
1288
|
+
class f {
|
|
1242
1289
|
constructor(t = {}) {
|
|
1243
1290
|
e(this, "id");
|
|
1244
1291
|
e(this, "header");
|
|
@@ -1254,10 +1301,10 @@ var rt;
|
|
|
1254
1301
|
e(this, "componentParams");
|
|
1255
1302
|
e(this, "resourceLink");
|
|
1256
1303
|
e(this, "valueMap");
|
|
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,
|
|
1304
|
+
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, v), this.valueMap = t.valueMap;
|
|
1258
1305
|
}
|
|
1259
1306
|
static createFrom(t = {}) {
|
|
1260
|
-
return new
|
|
1307
|
+
return new f(t);
|
|
1261
1308
|
}
|
|
1262
1309
|
convertValues(t, y, w = !1) {
|
|
1263
1310
|
if (!t)
|
|
@@ -1275,30 +1322,8 @@ var rt;
|
|
|
1275
1322
|
return t;
|
|
1276
1323
|
}
|
|
1277
1324
|
}
|
|
1278
|
-
a.ColumnDefinition =
|
|
1279
|
-
class
|
|
1280
|
-
constructor(t = {}) {
|
|
1281
|
-
e(this, "input");
|
|
1282
|
-
e(this, "namespace");
|
|
1283
|
-
typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.namespace = t.namespace;
|
|
1284
|
-
}
|
|
1285
|
-
static createFrom(t = {}) {
|
|
1286
|
-
return new i(t);
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
a.CreateInput = i;
|
|
1290
|
-
class s {
|
|
1291
|
-
constructor(t = {}) {
|
|
1292
|
-
e(this, "result");
|
|
1293
|
-
e(this, "success");
|
|
1294
|
-
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
|
|
1295
|
-
}
|
|
1296
|
-
static createFrom(t = {}) {
|
|
1297
|
-
return new s(t);
|
|
1298
|
-
}
|
|
1299
|
-
}
|
|
1300
|
-
a.CreateResult = s;
|
|
1301
|
-
class v {
|
|
1325
|
+
a.ColumnDefinition = f;
|
|
1326
|
+
class O {
|
|
1302
1327
|
constructor(t = {}) {
|
|
1303
1328
|
e(this, "id");
|
|
1304
1329
|
e(this, "namespace");
|
|
@@ -1306,22 +1331,11 @@ var rt;
|
|
|
1306
1331
|
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.namespace = t.namespace, this.gracePeriodSeconds = t.gracePeriodSeconds;
|
|
1307
1332
|
}
|
|
1308
1333
|
static createFrom(t = {}) {
|
|
1309
|
-
return new
|
|
1334
|
+
return new O(t);
|
|
1310
1335
|
}
|
|
1311
1336
|
}
|
|
1312
|
-
a.DeleteInput =
|
|
1313
|
-
class
|
|
1314
|
-
constructor(t = {}) {
|
|
1315
|
-
e(this, "result");
|
|
1316
|
-
e(this, "success");
|
|
1317
|
-
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
|
|
1318
|
-
}
|
|
1319
|
-
static createFrom(t = {}) {
|
|
1320
|
-
return new m(t);
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
a.DeleteResult = m;
|
|
1324
|
-
class V {
|
|
1337
|
+
a.DeleteInput = O;
|
|
1338
|
+
class R {
|
|
1325
1339
|
constructor(t = {}) {
|
|
1326
1340
|
e(this, "resourceKey");
|
|
1327
1341
|
e(this, "fileMatch");
|
|
@@ -1332,11 +1346,11 @@ var rt;
|
|
|
1332
1346
|
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;
|
|
1333
1347
|
}
|
|
1334
1348
|
static createFrom(t = {}) {
|
|
1335
|
-
return new
|
|
1349
|
+
return new R(t);
|
|
1336
1350
|
}
|
|
1337
1351
|
}
|
|
1338
|
-
a.EditorSchema =
|
|
1339
|
-
class
|
|
1352
|
+
a.EditorSchema = R;
|
|
1353
|
+
class r {
|
|
1340
1354
|
constructor(t = {}) {
|
|
1341
1355
|
e(this, "field");
|
|
1342
1356
|
e(this, "operator");
|
|
@@ -1344,19 +1358,19 @@ var rt;
|
|
|
1344
1358
|
typeof t == "string" && (t = JSON.parse(t)), this.field = t.field, this.operator = t.operator, this.value = t.value;
|
|
1345
1359
|
}
|
|
1346
1360
|
static createFrom(t = {}) {
|
|
1347
|
-
return new
|
|
1361
|
+
return new r(t);
|
|
1348
1362
|
}
|
|
1349
1363
|
}
|
|
1350
|
-
a.FilterPredicate =
|
|
1351
|
-
class
|
|
1364
|
+
a.FilterPredicate = r;
|
|
1365
|
+
class g {
|
|
1352
1366
|
constructor(t = {}) {
|
|
1353
1367
|
e(this, "logic");
|
|
1354
1368
|
e(this, "predicates");
|
|
1355
1369
|
e(this, "groups");
|
|
1356
|
-
typeof t == "string" && (t = JSON.parse(t)), this.logic = t.logic, this.predicates = this.convertValues(t.predicates,
|
|
1370
|
+
typeof t == "string" && (t = JSON.parse(t)), this.logic = t.logic, this.predicates = this.convertValues(t.predicates, r), this.groups = this.convertValues(t.groups, g);
|
|
1357
1371
|
}
|
|
1358
1372
|
static createFrom(t = {}) {
|
|
1359
|
-
return new
|
|
1373
|
+
return new g(t);
|
|
1360
1374
|
}
|
|
1361
1375
|
convertValues(t, y, w = !1) {
|
|
1362
1376
|
if (!t)
|
|
@@ -1374,8 +1388,8 @@ var rt;
|
|
|
1374
1388
|
return t;
|
|
1375
1389
|
}
|
|
1376
1390
|
}
|
|
1377
|
-
a.FilterExpression =
|
|
1378
|
-
class
|
|
1391
|
+
a.FilterExpression = g;
|
|
1392
|
+
class V {
|
|
1379
1393
|
constructor(t = {}) {
|
|
1380
1394
|
e(this, "path");
|
|
1381
1395
|
e(this, "displayName");
|
|
@@ -1387,11 +1401,11 @@ var rt;
|
|
|
1387
1401
|
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
1402
|
}
|
|
1389
1403
|
static createFrom(t = {}) {
|
|
1390
|
-
return new
|
|
1404
|
+
return new V(t);
|
|
1391
1405
|
}
|
|
1392
1406
|
}
|
|
1393
|
-
a.FilterField =
|
|
1394
|
-
class
|
|
1407
|
+
a.FilterField = V;
|
|
1408
|
+
class u {
|
|
1395
1409
|
constructor(t = {}) {
|
|
1396
1410
|
e(this, "page");
|
|
1397
1411
|
e(this, "pageSize");
|
|
@@ -1399,32 +1413,32 @@ var rt;
|
|
|
1399
1413
|
typeof t == "string" && (t = JSON.parse(t)), this.page = t.page, this.pageSize = t.pageSize, this.cursor = t.cursor;
|
|
1400
1414
|
}
|
|
1401
1415
|
static createFrom(t = {}) {
|
|
1402
|
-
return new
|
|
1416
|
+
return new u(t);
|
|
1403
1417
|
}
|
|
1404
1418
|
}
|
|
1405
|
-
a.PaginationParams =
|
|
1406
|
-
class
|
|
1419
|
+
a.PaginationParams = u;
|
|
1420
|
+
class S {
|
|
1407
1421
|
constructor(t = {}) {
|
|
1408
1422
|
e(this, "field");
|
|
1409
1423
|
e(this, "descending");
|
|
1410
1424
|
typeof t == "string" && (t = JSON.parse(t)), this.field = t.field, this.descending = t.descending;
|
|
1411
1425
|
}
|
|
1412
1426
|
static createFrom(t = {}) {
|
|
1413
|
-
return new
|
|
1427
|
+
return new S(t);
|
|
1414
1428
|
}
|
|
1415
1429
|
}
|
|
1416
|
-
a.OrderField =
|
|
1417
|
-
class
|
|
1430
|
+
a.OrderField = S;
|
|
1431
|
+
class P {
|
|
1418
1432
|
constructor(t = {}) {
|
|
1419
1433
|
e(this, "filters");
|
|
1420
1434
|
e(this, "textQuery");
|
|
1421
1435
|
e(this, "namespaces");
|
|
1422
1436
|
e(this, "order");
|
|
1423
1437
|
e(this, "pagination");
|
|
1424
|
-
typeof t == "string" && (t = JSON.parse(t)), this.filters = this.convertValues(t.filters,
|
|
1438
|
+
typeof t == "string" && (t = JSON.parse(t)), this.filters = this.convertValues(t.filters, g), this.textQuery = t.textQuery, this.namespaces = t.namespaces, this.order = this.convertValues(t.order, S), this.pagination = this.convertValues(t.pagination, u);
|
|
1425
1439
|
}
|
|
1426
1440
|
static createFrom(t = {}) {
|
|
1427
|
-
return new
|
|
1441
|
+
return new P(t);
|
|
1428
1442
|
}
|
|
1429
1443
|
convertValues(t, y, w = !1) {
|
|
1430
1444
|
if (!t)
|
|
@@ -1442,20 +1456,7 @@ var rt;
|
|
|
1442
1456
|
return t;
|
|
1443
1457
|
}
|
|
1444
1458
|
}
|
|
1445
|
-
a.FindInput =
|
|
1446
|
-
class P {
|
|
1447
|
-
constructor(t = {}) {
|
|
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;
|
|
1453
|
-
}
|
|
1454
|
-
static createFrom(t = {}) {
|
|
1455
|
-
return new P(t);
|
|
1456
|
-
}
|
|
1457
|
-
}
|
|
1458
|
-
a.FindResult = P;
|
|
1459
|
+
a.FindInput = P;
|
|
1459
1460
|
class I {
|
|
1460
1461
|
constructor(t = {}) {
|
|
1461
1462
|
e(this, "id");
|
|
@@ -1467,17 +1468,6 @@ var rt;
|
|
|
1467
1468
|
}
|
|
1468
1469
|
}
|
|
1469
1470
|
a.GetInput = I;
|
|
1470
|
-
class T {
|
|
1471
|
-
constructor(t = {}) {
|
|
1472
|
-
e(this, "result");
|
|
1473
|
-
e(this, "success");
|
|
1474
|
-
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
|
|
1475
|
-
}
|
|
1476
|
-
static createFrom(t = {}) {
|
|
1477
|
-
return new T(t);
|
|
1478
|
-
}
|
|
1479
|
-
}
|
|
1480
|
-
a.GetResult = T;
|
|
1481
1471
|
class N {
|
|
1482
1472
|
constructor(t = {}) {
|
|
1483
1473
|
e(this, "type");
|
|
@@ -1486,7 +1476,7 @@ var rt;
|
|
|
1486
1476
|
e(this, "message");
|
|
1487
1477
|
e(this, "lastProbeTime");
|
|
1488
1478
|
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,
|
|
1479
|
+
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, _.Time), this.lastTransitionTime = this.convertValues(t.lastTransitionTime, _.Time);
|
|
1490
1480
|
}
|
|
1491
1481
|
static createFrom(t = {}) {
|
|
1492
1482
|
return new N(t);
|
|
@@ -1508,15 +1498,15 @@ var rt;
|
|
|
1508
1498
|
}
|
|
1509
1499
|
}
|
|
1510
1500
|
a.HealthCondition = N;
|
|
1511
|
-
class
|
|
1501
|
+
class T {
|
|
1512
1502
|
constructor(t = {}) {
|
|
1513
1503
|
e(this, "namespaces");
|
|
1514
1504
|
e(this, "order");
|
|
1515
1505
|
e(this, "pagination");
|
|
1516
|
-
typeof t == "string" && (t = JSON.parse(t)), this.namespaces = t.namespaces, this.order = this.convertValues(t.order,
|
|
1506
|
+
typeof t == "string" && (t = JSON.parse(t)), this.namespaces = t.namespaces, this.order = this.convertValues(t.order, S), this.pagination = this.convertValues(t.pagination, u);
|
|
1517
1507
|
}
|
|
1518
1508
|
static createFrom(t = {}) {
|
|
1519
|
-
return new
|
|
1509
|
+
return new T(t);
|
|
1520
1510
|
}
|
|
1521
1511
|
convertValues(t, y, w = !1) {
|
|
1522
1512
|
if (!t)
|
|
@@ -1534,20 +1524,7 @@ var rt;
|
|
|
1534
1524
|
return t;
|
|
1535
1525
|
}
|
|
1536
1526
|
}
|
|
1537
|
-
a.ListInput =
|
|
1538
|
-
class C {
|
|
1539
|
-
constructor(t = {}) {
|
|
1540
|
-
e(this, "result");
|
|
1541
|
-
e(this, "success");
|
|
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;
|
|
1545
|
-
}
|
|
1546
|
-
static createFrom(t = {}) {
|
|
1547
|
-
return new C(t);
|
|
1548
|
-
}
|
|
1549
|
-
}
|
|
1550
|
-
a.ListResult = C;
|
|
1527
|
+
a.ListInput = T;
|
|
1551
1528
|
class F {
|
|
1552
1529
|
constructor(t = {}) {
|
|
1553
1530
|
e(this, "method");
|
|
@@ -1606,14 +1583,14 @@ var rt;
|
|
|
1606
1583
|
}
|
|
1607
1584
|
}
|
|
1608
1585
|
a.ResourceRef = J;
|
|
1609
|
-
class
|
|
1586
|
+
class A {
|
|
1610
1587
|
constructor(t = {}) {
|
|
1611
1588
|
e(this, "descriptor");
|
|
1612
1589
|
e(this, "targets");
|
|
1613
1590
|
typeof t == "string" && (t = JSON.parse(t)), this.descriptor = this.convertValues(t.descriptor, k), this.targets = this.convertValues(t.targets, J);
|
|
1614
1591
|
}
|
|
1615
1592
|
static createFrom(t = {}) {
|
|
1616
|
-
return new
|
|
1593
|
+
return new A(t);
|
|
1617
1594
|
}
|
|
1618
1595
|
convertValues(t, y, w = !1) {
|
|
1619
1596
|
if (!t)
|
|
@@ -1631,7 +1608,7 @@ var rt;
|
|
|
1631
1608
|
return t;
|
|
1632
1609
|
}
|
|
1633
1610
|
}
|
|
1634
|
-
a.ResolvedRelationship =
|
|
1611
|
+
a.ResolvedRelationship = A;
|
|
1635
1612
|
class E {
|
|
1636
1613
|
constructor(t = {}) {
|
|
1637
1614
|
e(this, "level");
|
|
@@ -1644,7 +1621,7 @@ var rt;
|
|
|
1644
1621
|
}
|
|
1645
1622
|
}
|
|
1646
1623
|
a.ScaleHint = E;
|
|
1647
|
-
class
|
|
1624
|
+
class C {
|
|
1648
1625
|
constructor(t = {}) {
|
|
1649
1626
|
e(this, "canGet");
|
|
1650
1627
|
e(this, "canList");
|
|
@@ -1665,7 +1642,7 @@ var rt;
|
|
|
1665
1642
|
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);
|
|
1666
1643
|
}
|
|
1667
1644
|
static createFrom(t = {}) {
|
|
1668
|
-
return new
|
|
1645
|
+
return new C(t);
|
|
1669
1646
|
}
|
|
1670
1647
|
convertValues(t, y, w = !1) {
|
|
1671
1648
|
if (!t)
|
|
@@ -1683,17 +1660,17 @@ var rt;
|
|
|
1683
1660
|
return t;
|
|
1684
1661
|
}
|
|
1685
1662
|
}
|
|
1686
|
-
a.ResourceCapabilities =
|
|
1687
|
-
class
|
|
1663
|
+
a.ResourceCapabilities = C;
|
|
1664
|
+
class L {
|
|
1688
1665
|
constructor(t = {}) {
|
|
1689
1666
|
e(this, "id_accessor");
|
|
1690
1667
|
e(this, "namespace_accessor");
|
|
1691
1668
|
e(this, "memoizer_accessor");
|
|
1692
1669
|
e(this, "columnDefs");
|
|
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,
|
|
1670
|
+
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, f);
|
|
1694
1671
|
}
|
|
1695
1672
|
static createFrom(t = {}) {
|
|
1696
|
-
return new
|
|
1673
|
+
return new L(t);
|
|
1697
1674
|
}
|
|
1698
1675
|
convertValues(t, y, w = !1) {
|
|
1699
1676
|
if (!t)
|
|
@@ -1711,8 +1688,8 @@ var rt;
|
|
|
1711
1688
|
return t;
|
|
1712
1689
|
}
|
|
1713
1690
|
}
|
|
1714
|
-
a.ResourceDefinition =
|
|
1715
|
-
class
|
|
1691
|
+
a.ResourceDefinition = L;
|
|
1692
|
+
class M {
|
|
1716
1693
|
constructor(t = {}) {
|
|
1717
1694
|
e(this, "type");
|
|
1718
1695
|
e(this, "reason");
|
|
@@ -1721,10 +1698,10 @@ var rt;
|
|
|
1721
1698
|
e(this, "count");
|
|
1722
1699
|
e(this, "firstSeen");
|
|
1723
1700
|
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,
|
|
1701
|
+
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, _.Time), this.lastSeen = this.convertValues(t.lastSeen, _.Time);
|
|
1725
1702
|
}
|
|
1726
1703
|
static createFrom(t = {}) {
|
|
1727
|
-
return new
|
|
1704
|
+
return new M(t);
|
|
1728
1705
|
}
|
|
1729
1706
|
convertValues(t, y, w = !1) {
|
|
1730
1707
|
if (!t)
|
|
@@ -1742,8 +1719,8 @@ var rt;
|
|
|
1742
1719
|
return t;
|
|
1743
1720
|
}
|
|
1744
1721
|
}
|
|
1745
|
-
a.ResourceEvent =
|
|
1746
|
-
class
|
|
1722
|
+
a.ResourceEvent = M;
|
|
1723
|
+
class x {
|
|
1747
1724
|
constructor(t = {}) {
|
|
1748
1725
|
e(this, "id");
|
|
1749
1726
|
e(this, "name");
|
|
@@ -1753,7 +1730,7 @@ var rt;
|
|
|
1753
1730
|
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);
|
|
1754
1731
|
}
|
|
1755
1732
|
static createFrom(t = {}) {
|
|
1756
|
-
return new
|
|
1733
|
+
return new x(t);
|
|
1757
1734
|
}
|
|
1758
1735
|
convertValues(t, y, w = !1) {
|
|
1759
1736
|
if (!t)
|
|
@@ -1771,18 +1748,18 @@ var rt;
|
|
|
1771
1748
|
return t;
|
|
1772
1749
|
}
|
|
1773
1750
|
}
|
|
1774
|
-
a.ResourceGroup =
|
|
1775
|
-
class
|
|
1751
|
+
a.ResourceGroup = x;
|
|
1752
|
+
class U {
|
|
1776
1753
|
constructor(t = {}) {
|
|
1777
1754
|
e(this, "status");
|
|
1778
1755
|
e(this, "reason");
|
|
1779
1756
|
e(this, "message");
|
|
1780
1757
|
e(this, "since");
|
|
1781
1758
|
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,
|
|
1759
|
+
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, _.Time), this.conditions = this.convertValues(t.conditions, N);
|
|
1783
1760
|
}
|
|
1784
1761
|
static createFrom(t = {}) {
|
|
1785
|
-
return new
|
|
1762
|
+
return new U(t);
|
|
1786
1763
|
}
|
|
1787
1764
|
convertValues(t, y, w = !1) {
|
|
1788
1765
|
if (!t)
|
|
@@ -1800,8 +1777,8 @@ var rt;
|
|
|
1800
1777
|
return t;
|
|
1801
1778
|
}
|
|
1802
1779
|
}
|
|
1803
|
-
a.ResourceHealth =
|
|
1804
|
-
class
|
|
1780
|
+
a.ResourceHealth = U;
|
|
1781
|
+
class G {
|
|
1805
1782
|
constructor(t = {}) {
|
|
1806
1783
|
e(this, "group");
|
|
1807
1784
|
e(this, "version");
|
|
@@ -1813,33 +1790,10 @@ var rt;
|
|
|
1813
1790
|
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;
|
|
1814
1791
|
}
|
|
1815
1792
|
static createFrom(t = {}) {
|
|
1816
|
-
return new
|
|
1817
|
-
}
|
|
1818
|
-
}
|
|
1819
|
-
a.ResourceMeta = B;
|
|
1820
|
-
class H {
|
|
1821
|
-
constructor(t = {}) {
|
|
1822
|
-
e(this, "input");
|
|
1823
|
-
e(this, "id");
|
|
1824
|
-
e(this, "namespace");
|
|
1825
|
-
typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.id = t.id, this.namespace = t.namespace;
|
|
1826
|
-
}
|
|
1827
|
-
static createFrom(t = {}) {
|
|
1828
|
-
return new H(t);
|
|
1829
|
-
}
|
|
1830
|
-
}
|
|
1831
|
-
a.UpdateInput = H;
|
|
1832
|
-
class q {
|
|
1833
|
-
constructor(t = {}) {
|
|
1834
|
-
e(this, "result");
|
|
1835
|
-
e(this, "success");
|
|
1836
|
-
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
|
|
1837
|
-
}
|
|
1838
|
-
static createFrom(t = {}) {
|
|
1839
|
-
return new q(t);
|
|
1793
|
+
return new G(t);
|
|
1840
1794
|
}
|
|
1841
1795
|
}
|
|
1842
|
-
a.
|
|
1796
|
+
a.ResourceMeta = G;
|
|
1843
1797
|
class j {
|
|
1844
1798
|
constructor(t = {}) {
|
|
1845
1799
|
e(this, "partitions");
|
|
@@ -1850,7 +1804,7 @@ var rt;
|
|
|
1850
1804
|
}
|
|
1851
1805
|
}
|
|
1852
1806
|
a.WatchScope = j;
|
|
1853
|
-
class
|
|
1807
|
+
class K {
|
|
1854
1808
|
constructor(t = {}) {
|
|
1855
1809
|
e(this, "connectionId");
|
|
1856
1810
|
e(this, "resources");
|
|
@@ -1859,7 +1813,7 @@ var rt;
|
|
|
1859
1813
|
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
1814
|
}
|
|
1861
1815
|
static createFrom(t = {}) {
|
|
1862
|
-
return new
|
|
1816
|
+
return new K(t);
|
|
1863
1817
|
}
|
|
1864
1818
|
convertValues(t, y, w = !1) {
|
|
1865
1819
|
if (!t)
|
|
@@ -1877,12 +1831,12 @@ var rt;
|
|
|
1877
1831
|
return t;
|
|
1878
1832
|
}
|
|
1879
1833
|
}
|
|
1880
|
-
a.WatchConnectionSummary =
|
|
1881
|
-
})(
|
|
1882
|
-
var
|
|
1834
|
+
a.WatchConnectionSummary = K;
|
|
1835
|
+
})(tt || (tt = {}));
|
|
1836
|
+
var et;
|
|
1883
1837
|
((a) => {
|
|
1884
|
-
((
|
|
1885
|
-
|
|
1838
|
+
((m) => {
|
|
1839
|
+
m.TEXT = "text", m.SELECT = "select", m.MULTISELECT = "multiselect", m.INTEGER = "integer", m.FLOAT = "float", m.TOGGLE = "toggle", m.COLOR = "color", m.DATETIME = "datetime", m.PASSWORD = "password";
|
|
1886
1840
|
})(a.SettingType || (a.SettingType = {}));
|
|
1887
1841
|
class h {
|
|
1888
1842
|
constructor(n = {}) {
|
|
@@ -1973,8 +1927,8 @@ var st;
|
|
|
1973
1927
|
}
|
|
1974
1928
|
}
|
|
1975
1929
|
a.Category = o;
|
|
1976
|
-
})(
|
|
1977
|
-
var
|
|
1930
|
+
})(et || (et = {}));
|
|
1931
|
+
var _;
|
|
1978
1932
|
((a) => {
|
|
1979
1933
|
class h {
|
|
1980
1934
|
static createFrom(p = {}) {
|
|
@@ -1985,14 +1939,14 @@ var S;
|
|
|
1985
1939
|
}
|
|
1986
1940
|
}
|
|
1987
1941
|
a.Time = h;
|
|
1988
|
-
})(
|
|
1989
|
-
var
|
|
1942
|
+
})(_ || (_ = {}));
|
|
1943
|
+
var it;
|
|
1990
1944
|
((a) => {
|
|
1991
1945
|
((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
1946
|
p.VULN = "vuln", p.MISCONFIG = "misconfig", p.SECRET = "secret", p.LICENSE = "license";
|
|
1995
|
-
})(a.Scanner || (a.Scanner = {}))
|
|
1947
|
+
})(a.Scanner || (a.Scanner = {})), ((p) => {
|
|
1948
|
+
p.CONFIG = "config", p.FILESYSTEM = "fs", p.IMAGE = "image", p.KUBERNETES = "kubernetes", p.REPOSITORY = "repository", p.ROOTFS = "rootfs", p.SBOM = "sbom";
|
|
1949
|
+
})(a.Command || (a.Command = {}));
|
|
1996
1950
|
class h {
|
|
1997
1951
|
constructor(o = {}) {
|
|
1998
1952
|
e(this, "filePatterns");
|
|
@@ -2012,30 +1966,30 @@ var at;
|
|
|
2012
1966
|
e(this, "result");
|
|
2013
1967
|
e(this, "id");
|
|
2014
1968
|
e(this, "command");
|
|
2015
|
-
typeof o == "string" && (o = JSON.parse(o)), this.timestamp = this.convertValues(o.timestamp,
|
|
1969
|
+
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;
|
|
2016
1970
|
}
|
|
2017
1971
|
static createFrom(o = {}) {
|
|
2018
1972
|
return new d(o);
|
|
2019
1973
|
}
|
|
2020
|
-
convertValues(o,
|
|
1974
|
+
convertValues(o, m, n = !1) {
|
|
2021
1975
|
if (!o)
|
|
2022
1976
|
return o;
|
|
2023
1977
|
if (o.slice && o.map)
|
|
2024
|
-
return o.map((l) => this.convertValues(l,
|
|
1978
|
+
return o.map((l) => this.convertValues(l, m));
|
|
2025
1979
|
if (typeof o == "object") {
|
|
2026
1980
|
if (n) {
|
|
2027
1981
|
for (const l of Object.keys(o))
|
|
2028
|
-
o[l] = new
|
|
1982
|
+
o[l] = new m(o[l]);
|
|
2029
1983
|
return o;
|
|
2030
1984
|
}
|
|
2031
|
-
return new
|
|
1985
|
+
return new m(o);
|
|
2032
1986
|
}
|
|
2033
1987
|
return o;
|
|
2034
1988
|
}
|
|
2035
1989
|
}
|
|
2036
1990
|
a.ScanResult = d;
|
|
2037
|
-
})(
|
|
2038
|
-
var
|
|
1991
|
+
})(it || (it = {}));
|
|
1992
|
+
var B;
|
|
2039
1993
|
((a) => {
|
|
2040
1994
|
((l) => {
|
|
2041
1995
|
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";
|
|
@@ -2064,11 +2018,11 @@ var Y;
|
|
|
2064
2018
|
if (!i)
|
|
2065
2019
|
return i;
|
|
2066
2020
|
if (i.slice && i.map)
|
|
2067
|
-
return i.map((
|
|
2021
|
+
return i.map((f) => this.convertValues(f, s));
|
|
2068
2022
|
if (typeof i == "object") {
|
|
2069
2023
|
if (v) {
|
|
2070
|
-
for (const
|
|
2071
|
-
i[
|
|
2024
|
+
for (const f of Object.keys(i))
|
|
2025
|
+
i[f] = new s(i[f]);
|
|
2072
2026
|
return i;
|
|
2073
2027
|
}
|
|
2074
2028
|
return new s(i);
|
|
@@ -2090,7 +2044,7 @@ var Y;
|
|
|
2090
2044
|
e(this, "avatar");
|
|
2091
2045
|
e(this, "expiry_time");
|
|
2092
2046
|
e(this, "Client");
|
|
2093
|
-
typeof i == "string" && (i = JSON.parse(i)), this.last_refresh = this.convertValues(i.last_refresh,
|
|
2047
|
+
typeof i == "string" && (i = JSON.parse(i)), this.last_refresh = this.convertValues(i.last_refresh, _.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;
|
|
2094
2048
|
}
|
|
2095
2049
|
static createFrom(i = {}) {
|
|
2096
2050
|
return new p(i);
|
|
@@ -2099,11 +2053,11 @@ var Y;
|
|
|
2099
2053
|
if (!i)
|
|
2100
2054
|
return i;
|
|
2101
2055
|
if (i.slice && i.map)
|
|
2102
|
-
return i.map((
|
|
2056
|
+
return i.map((f) => this.convertValues(f, s));
|
|
2103
2057
|
if (typeof i == "object") {
|
|
2104
2058
|
if (v) {
|
|
2105
|
-
for (const
|
|
2106
|
-
i[
|
|
2059
|
+
for (const f of Object.keys(i))
|
|
2060
|
+
i[f] = new s(i[f]);
|
|
2107
2061
|
return i;
|
|
2108
2062
|
}
|
|
2109
2063
|
return new s(i);
|
|
@@ -2127,11 +2081,11 @@ var Y;
|
|
|
2127
2081
|
if (!i)
|
|
2128
2082
|
return i;
|
|
2129
2083
|
if (i.slice && i.map)
|
|
2130
|
-
return i.map((
|
|
2084
|
+
return i.map((f) => this.convertValues(f, s));
|
|
2131
2085
|
if (typeof i == "object") {
|
|
2132
2086
|
if (v) {
|
|
2133
|
-
for (const
|
|
2134
|
-
i[
|
|
2087
|
+
for (const f of Object.keys(i))
|
|
2088
|
+
i[f] = new s(i[f]);
|
|
2135
2089
|
return i;
|
|
2136
2090
|
}
|
|
2137
2091
|
return new s(i);
|
|
@@ -2140,7 +2094,7 @@ var Y;
|
|
|
2140
2094
|
}
|
|
2141
2095
|
}
|
|
2142
2096
|
a.ConnectionStatus = o;
|
|
2143
|
-
class
|
|
2097
|
+
class m {
|
|
2144
2098
|
constructor(i = {}) {
|
|
2145
2099
|
e(this, "id");
|
|
2146
2100
|
e(this, "metadata");
|
|
@@ -2153,17 +2107,17 @@ var Y;
|
|
|
2153
2107
|
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
2108
|
}
|
|
2155
2109
|
static createFrom(i = {}) {
|
|
2156
|
-
return new
|
|
2110
|
+
return new m(i);
|
|
2157
2111
|
}
|
|
2158
2112
|
convertValues(i, s, v = !1) {
|
|
2159
2113
|
if (!i)
|
|
2160
2114
|
return i;
|
|
2161
2115
|
if (i.slice && i.map)
|
|
2162
|
-
return i.map((
|
|
2116
|
+
return i.map((f) => this.convertValues(f, s));
|
|
2163
2117
|
if (typeof i == "object") {
|
|
2164
2118
|
if (v) {
|
|
2165
|
-
for (const
|
|
2166
|
-
i[
|
|
2119
|
+
for (const f of Object.keys(i))
|
|
2120
|
+
i[f] = new s(i[f]);
|
|
2167
2121
|
return i;
|
|
2168
2122
|
}
|
|
2169
2123
|
return new s(i);
|
|
@@ -2171,7 +2125,7 @@ var Y;
|
|
|
2171
2125
|
return i;
|
|
2172
2126
|
}
|
|
2173
2127
|
}
|
|
2174
|
-
a.PluginInfo =
|
|
2128
|
+
a.PluginInfo = m;
|
|
2175
2129
|
class n {
|
|
2176
2130
|
constructor(i = {}) {
|
|
2177
2131
|
e(this, "id");
|
|
@@ -2183,7 +2137,7 @@ var Y;
|
|
|
2183
2137
|
e(this, "lastError");
|
|
2184
2138
|
e(this, "errorCount");
|
|
2185
2139
|
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,
|
|
2140
|
+
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, _.Time);
|
|
2187
2141
|
}
|
|
2188
2142
|
static createFrom(i = {}) {
|
|
2189
2143
|
return new n(i);
|
|
@@ -2192,11 +2146,11 @@ var Y;
|
|
|
2192
2146
|
if (!i)
|
|
2193
2147
|
return i;
|
|
2194
2148
|
if (i.slice && i.map)
|
|
2195
|
-
return i.map((
|
|
2149
|
+
return i.map((f) => this.convertValues(f, s));
|
|
2196
2150
|
if (typeof i == "object") {
|
|
2197
2151
|
if (v) {
|
|
2198
|
-
for (const
|
|
2199
|
-
i[
|
|
2152
|
+
for (const f of Object.keys(i))
|
|
2153
|
+
i[f] = new s(i[f]);
|
|
2200
2154
|
return i;
|
|
2201
2155
|
}
|
|
2202
2156
|
return new s(i);
|
|
@@ -2205,8 +2159,8 @@ var Y;
|
|
|
2205
2159
|
}
|
|
2206
2160
|
}
|
|
2207
2161
|
a.PluginStateRecord = n;
|
|
2208
|
-
})(
|
|
2209
|
-
var
|
|
2162
|
+
})(B || (B = {}));
|
|
2163
|
+
var nt;
|
|
2210
2164
|
((a) => {
|
|
2211
2165
|
class h {
|
|
2212
2166
|
constructor(n = {}) {
|
|
@@ -2256,8 +2210,8 @@ var lt;
|
|
|
2256
2210
|
}
|
|
2257
2211
|
}
|
|
2258
2212
|
a.ResourceComponent = o;
|
|
2259
|
-
})(
|
|
2260
|
-
var
|
|
2213
|
+
})(nt || (nt = {}));
|
|
2214
|
+
var rt;
|
|
2261
2215
|
((a) => {
|
|
2262
2216
|
class h {
|
|
2263
2217
|
constructor(p = {}) {
|
|
@@ -2270,23 +2224,23 @@ var ot;
|
|
|
2270
2224
|
}
|
|
2271
2225
|
}
|
|
2272
2226
|
a.GetLanguageInput = h;
|
|
2273
|
-
})(
|
|
2227
|
+
})(rt || (rt = {}));
|
|
2274
2228
|
export {
|
|
2275
2229
|
D as config,
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2230
|
+
H as devserver,
|
|
2231
|
+
q as exec,
|
|
2232
|
+
Q as logs,
|
|
2233
|
+
Y as main,
|
|
2234
|
+
z as metric,
|
|
2235
|
+
Z as networker,
|
|
2236
|
+
X as plugin,
|
|
2237
|
+
$ as pluginlog,
|
|
2238
|
+
W as registry,
|
|
2239
|
+
tt as resource,
|
|
2240
|
+
et as settings,
|
|
2241
|
+
_ as time,
|
|
2242
|
+
it as trivy,
|
|
2243
|
+
B as types,
|
|
2244
|
+
nt as ui,
|
|
2245
|
+
rt as utils
|
|
2292
2246
|
};
|