@omniviewdev/runtime 0.1.3 → 0.1.4
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-DGdSmmVk.js → Client-9Aa3u0B7.js} +270 -274
- package/dist/Client-B7h6-bCB.cjs +1 -0
- package/dist/api.cjs +1 -1
- package/dist/api.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/models.cjs +1 -1
- package/dist/models.js +166 -161
- package/dist/wailsjs/go/models.d.ts +20 -15
- package/dist/wailsjs/go/plugin/pluginManager.d.ts +7 -9
- package/package.json +1 -1
- package/dist/Client-ES-O5dCV.cjs +0 -1
package/dist/models.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var $ = Object.defineProperty;
|
|
2
2
|
var tt = (a, p, f) => p in a ? $(a, p, { enumerable: !0, configurable: !0, writable: !0, value: f }) : a[p] = f;
|
|
3
3
|
var e = (a, p, f) => tt(a, typeof p != "symbol" ? p + "" : p, f);
|
|
4
|
-
var
|
|
4
|
+
var N;
|
|
5
5
|
((a) => {
|
|
6
6
|
class p {
|
|
7
7
|
constructor(s = {}) {
|
|
@@ -37,13 +37,13 @@ var k;
|
|
|
37
37
|
static createFrom(s = {}) {
|
|
38
38
|
return new l(s);
|
|
39
39
|
}
|
|
40
|
-
convertValues(s, c,
|
|
40
|
+
convertValues(s, c, O = !1) {
|
|
41
41
|
if (!s)
|
|
42
42
|
return s;
|
|
43
43
|
if (s.slice && s.map)
|
|
44
44
|
return s.map((w) => this.convertValues(w, c));
|
|
45
45
|
if (typeof s == "object") {
|
|
46
|
-
if (
|
|
46
|
+
if (O) {
|
|
47
47
|
for (const w of Object.keys(s))
|
|
48
48
|
s[w] = new c(s[w]);
|
|
49
49
|
return s;
|
|
@@ -65,7 +65,7 @@ var k;
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
a.PluginMaintainer = o;
|
|
68
|
-
class
|
|
68
|
+
class y {
|
|
69
69
|
constructor(s = {}) {
|
|
70
70
|
e(this, "primary");
|
|
71
71
|
e(this, "secondary");
|
|
@@ -73,25 +73,25 @@ var k;
|
|
|
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 y(s);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
a.PluginThemeColors =
|
|
79
|
+
a.PluginThemeColors = y;
|
|
80
80
|
class r {
|
|
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, y);
|
|
84
84
|
}
|
|
85
85
|
static createFrom(s = {}) {
|
|
86
86
|
return new r(s);
|
|
87
87
|
}
|
|
88
|
-
convertValues(s, c,
|
|
88
|
+
convertValues(s, c, O = !1) {
|
|
89
89
|
if (!s)
|
|
90
90
|
return s;
|
|
91
91
|
if (s.slice && s.map)
|
|
92
92
|
return s.map((w) => this.convertValues(w, c));
|
|
93
93
|
if (typeof s == "object") {
|
|
94
|
-
if (
|
|
94
|
+
if (O) {
|
|
95
95
|
for (const w of Object.keys(s))
|
|
96
96
|
s[w] = new c(s[w]);
|
|
97
97
|
return s;
|
|
@@ -121,18 +121,20 @@ var k;
|
|
|
121
121
|
e(this, "capabilities");
|
|
122
122
|
e(this, "theme");
|
|
123
123
|
e(this, "components");
|
|
124
|
-
|
|
124
|
+
e(this, "schema_version");
|
|
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, p), 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, r), this.components = this.convertValues(s.components, l), this.schema_version = s.schema_version, this.sdk_protocol_version = s.sdk_protocol_version;
|
|
125
127
|
}
|
|
126
128
|
static createFrom(s = {}) {
|
|
127
129
|
return new i(s);
|
|
128
130
|
}
|
|
129
|
-
convertValues(s, c,
|
|
131
|
+
convertValues(s, c, O = !1) {
|
|
130
132
|
if (!s)
|
|
131
133
|
return s;
|
|
132
134
|
if (s.slice && s.map)
|
|
133
135
|
return s.map((w) => this.convertValues(w, c));
|
|
134
136
|
if (typeof s == "object") {
|
|
135
|
-
if (
|
|
137
|
+
if (O) {
|
|
136
138
|
for (const w of Object.keys(s))
|
|
137
139
|
s[w] = new c(s[w]);
|
|
138
140
|
return s;
|
|
@@ -143,7 +145,7 @@ var k;
|
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
147
|
a.PluginMeta = i;
|
|
146
|
-
})(
|
|
148
|
+
})(N || (N = {}));
|
|
147
149
|
var U;
|
|
148
150
|
((a) => {
|
|
149
151
|
class p {
|
|
@@ -185,7 +187,7 @@ var U;
|
|
|
185
187
|
e(this, "lastBuildTime");
|
|
186
188
|
e(this, "lastError");
|
|
187
189
|
e(this, "grpcConnected");
|
|
188
|
-
typeof r == "string" && (r = JSON.parse(r)), this.pluginID = r.pluginID, this.mode = r.mode, this.devPath = r.devPath, this.vitePort = r.vitePort, this.viteURL = r.viteURL, this.viteStatus = r.viteStatus, this.goStatus = r.goStatus, this.lastBuildDuration = r.lastBuildDuration, this.lastBuildTime = this.convertValues(r.lastBuildTime,
|
|
190
|
+
typeof r == "string" && (r = JSON.parse(r)), this.pluginID = r.pluginID, this.mode = r.mode, this.devPath = r.devPath, this.vitePort = r.vitePort, this.viteURL = r.viteURL, this.viteStatus = r.viteStatus, this.goStatus = r.goStatus, this.lastBuildDuration = r.lastBuildDuration, this.lastBuildTime = this.convertValues(r.lastBuildTime, _.Time), this.lastError = r.lastError, this.grpcConnected = r.grpcConnected;
|
|
189
191
|
}
|
|
190
192
|
static createFrom(r = {}) {
|
|
191
193
|
return new l(r);
|
|
@@ -214,7 +216,7 @@ var U;
|
|
|
214
216
|
e(this, "level");
|
|
215
217
|
e(this, "message");
|
|
216
218
|
e(this, "pluginID");
|
|
217
|
-
typeof r == "string" && (r = JSON.parse(r)), this.timestamp = this.convertValues(r.timestamp,
|
|
219
|
+
typeof r == "string" && (r = JSON.parse(r)), this.timestamp = this.convertValues(r.timestamp, _.Time), this.source = r.source, this.level = r.level, this.message = r.message, this.pluginID = r.pluginID;
|
|
218
220
|
}
|
|
219
221
|
static createFrom(r = {}) {
|
|
220
222
|
return new o(r);
|
|
@@ -247,7 +249,7 @@ var B;
|
|
|
247
249
|
e(this, "id");
|
|
248
250
|
e(this, "command");
|
|
249
251
|
e(this, "attached");
|
|
250
|
-
typeof i == "string" && (i = JSON.parse(i)), this.created_at = this.convertValues(i.created_at,
|
|
252
|
+
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;
|
|
251
253
|
}
|
|
252
254
|
static createFrom(i = {}) {
|
|
253
255
|
return new p(i);
|
|
@@ -334,7 +336,7 @@ var B;
|
|
|
334
336
|
}
|
|
335
337
|
}
|
|
336
338
|
a.Handler = o;
|
|
337
|
-
class
|
|
339
|
+
class y {
|
|
338
340
|
constructor(i = {}) {
|
|
339
341
|
e(this, "params");
|
|
340
342
|
e(this, "labels");
|
|
@@ -347,10 +349,10 @@ var B;
|
|
|
347
349
|
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;
|
|
348
350
|
}
|
|
349
351
|
static createFrom(i = {}) {
|
|
350
|
-
return new
|
|
352
|
+
return new y(i);
|
|
351
353
|
}
|
|
352
354
|
}
|
|
353
|
-
a.SessionOptions =
|
|
355
|
+
a.SessionOptions = y;
|
|
354
356
|
})(B || (B = {}));
|
|
355
357
|
var G;
|
|
356
358
|
((a) => {
|
|
@@ -366,7 +368,7 @@ var G;
|
|
|
366
368
|
e(this, "limit_bytes");
|
|
367
369
|
e(this, "include_source_events");
|
|
368
370
|
e(this, "params");
|
|
369
|
-
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,
|
|
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, _.Time), this.limit_bytes = i.limit_bytes, this.include_source_events = i.include_source_events, this.params = i.params;
|
|
370
372
|
}
|
|
371
373
|
static createFrom(i = {}) {
|
|
372
374
|
return new p(i);
|
|
@@ -454,7 +456,7 @@ var G;
|
|
|
454
456
|
}
|
|
455
457
|
}
|
|
456
458
|
a.LogSource = o;
|
|
457
|
-
class
|
|
459
|
+
class y {
|
|
458
460
|
constructor(i = {}) {
|
|
459
461
|
e(this, "id");
|
|
460
462
|
e(this, "plugin_id");
|
|
@@ -465,10 +467,10 @@ var G;
|
|
|
465
467
|
e(this, "status");
|
|
466
468
|
e(this, "active_sources");
|
|
467
469
|
e(this, "created_at");
|
|
468
|
-
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, p), this.status = i.status, this.active_sources = this.convertValues(i.active_sources, o), this.created_at = this.convertValues(i.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, p), this.status = i.status, this.active_sources = this.convertValues(i.active_sources, o), this.created_at = this.convertValues(i.created_at, _.Time);
|
|
469
471
|
}
|
|
470
472
|
static createFrom(i = {}) {
|
|
471
|
-
return new
|
|
473
|
+
return new y(i);
|
|
472
474
|
}
|
|
473
475
|
convertValues(i, m, s = !1) {
|
|
474
476
|
if (!i)
|
|
@@ -486,7 +488,7 @@ var G;
|
|
|
486
488
|
return i;
|
|
487
489
|
}
|
|
488
490
|
}
|
|
489
|
-
a.LogSession =
|
|
491
|
+
a.LogSession = y;
|
|
490
492
|
})(G || (G = {}));
|
|
491
493
|
var z;
|
|
492
494
|
((a) => {
|
|
@@ -516,18 +518,18 @@ var z;
|
|
|
516
518
|
static createFrom(o = {}) {
|
|
517
519
|
return new f(o);
|
|
518
520
|
}
|
|
519
|
-
convertValues(o,
|
|
521
|
+
convertValues(o, y, r = !1) {
|
|
520
522
|
if (!o)
|
|
521
523
|
return o;
|
|
522
524
|
if (o.slice && o.map)
|
|
523
|
-
return o.map((i) => this.convertValues(i,
|
|
525
|
+
return o.map((i) => this.convertValues(i, y));
|
|
524
526
|
if (typeof o == "object") {
|
|
525
527
|
if (r) {
|
|
526
528
|
for (const i of Object.keys(o))
|
|
527
|
-
o[i] = new
|
|
529
|
+
o[i] = new y(o[i]);
|
|
528
530
|
return o;
|
|
529
531
|
}
|
|
530
|
-
return new
|
|
532
|
+
return new y(o);
|
|
531
533
|
}
|
|
532
534
|
return o;
|
|
533
535
|
}
|
|
@@ -574,23 +576,23 @@ var K;
|
|
|
574
576
|
e(this, "value");
|
|
575
577
|
e(this, "timestamp");
|
|
576
578
|
e(this, "labels");
|
|
577
|
-
typeof n == "string" && (n = JSON.parse(n)), this.metric_id = n.metric_id, this.value = n.value, this.timestamp = this.convertValues(n.timestamp,
|
|
579
|
+
typeof n == "string" && (n = JSON.parse(n)), this.metric_id = n.metric_id, this.value = n.value, this.timestamp = this.convertValues(n.timestamp, _.Time), this.labels = n.labels;
|
|
578
580
|
}
|
|
579
581
|
static createFrom(n = {}) {
|
|
580
582
|
return new l(n);
|
|
581
583
|
}
|
|
582
|
-
convertValues(n,
|
|
584
|
+
convertValues(n, v, b = !1) {
|
|
583
585
|
if (!n)
|
|
584
586
|
return n;
|
|
585
587
|
if (n.slice && n.map)
|
|
586
|
-
return n.map((d) => this.convertValues(d,
|
|
588
|
+
return n.map((d) => this.convertValues(d, v));
|
|
587
589
|
if (typeof n == "object") {
|
|
588
590
|
if (b) {
|
|
589
591
|
for (const d of Object.keys(n))
|
|
590
|
-
n[d] = new
|
|
592
|
+
n[d] = new v(n[d]);
|
|
591
593
|
return n;
|
|
592
594
|
}
|
|
593
|
-
return new
|
|
595
|
+
return new v(n);
|
|
594
596
|
}
|
|
595
597
|
return n;
|
|
596
598
|
}
|
|
@@ -601,29 +603,29 @@ var K;
|
|
|
601
603
|
e(this, "timestamp");
|
|
602
604
|
e(this, "value");
|
|
603
605
|
e(this, "labels");
|
|
604
|
-
typeof n == "string" && (n = JSON.parse(n)), this.timestamp = this.convertValues(n.timestamp,
|
|
606
|
+
typeof n == "string" && (n = JSON.parse(n)), this.timestamp = this.convertValues(n.timestamp, _.Time), this.value = n.value, this.labels = n.labels;
|
|
605
607
|
}
|
|
606
608
|
static createFrom(n = {}) {
|
|
607
609
|
return new o(n);
|
|
608
610
|
}
|
|
609
|
-
convertValues(n,
|
|
611
|
+
convertValues(n, v, b = !1) {
|
|
610
612
|
if (!n)
|
|
611
613
|
return n;
|
|
612
614
|
if (n.slice && n.map)
|
|
613
|
-
return n.map((d) => this.convertValues(d,
|
|
615
|
+
return n.map((d) => this.convertValues(d, v));
|
|
614
616
|
if (typeof n == "object") {
|
|
615
617
|
if (b) {
|
|
616
618
|
for (const d of Object.keys(n))
|
|
617
|
-
n[d] = new
|
|
619
|
+
n[d] = new v(n[d]);
|
|
618
620
|
return n;
|
|
619
621
|
}
|
|
620
|
-
return new
|
|
622
|
+
return new v(n);
|
|
621
623
|
}
|
|
622
624
|
return n;
|
|
623
625
|
}
|
|
624
626
|
}
|
|
625
627
|
a.DataPoint = o;
|
|
626
|
-
class
|
|
628
|
+
class y {
|
|
627
629
|
constructor(n = {}) {
|
|
628
630
|
e(this, "id");
|
|
629
631
|
e(this, "name");
|
|
@@ -636,46 +638,46 @@ var K;
|
|
|
636
638
|
typeof n == "string" && (n = JSON.parse(n)), this.id = n.id, this.name = n.name, this.unit = n.unit, this.icon = n.icon, this.color_ranges = this.convertValues(n.color_ranges, f), this.format_string = n.format_string, this.supported_shapes = n.supported_shapes, this.chart_group = n.chart_group;
|
|
637
639
|
}
|
|
638
640
|
static createFrom(n = {}) {
|
|
639
|
-
return new
|
|
641
|
+
return new y(n);
|
|
640
642
|
}
|
|
641
|
-
convertValues(n,
|
|
643
|
+
convertValues(n, v, b = !1) {
|
|
642
644
|
if (!n)
|
|
643
645
|
return n;
|
|
644
646
|
if (n.slice && n.map)
|
|
645
|
-
return n.map((d) => this.convertValues(d,
|
|
647
|
+
return n.map((d) => this.convertValues(d, v));
|
|
646
648
|
if (typeof n == "object") {
|
|
647
649
|
if (b) {
|
|
648
650
|
for (const d of Object.keys(n))
|
|
649
|
-
n[d] = new
|
|
651
|
+
n[d] = new v(n[d]);
|
|
650
652
|
return n;
|
|
651
653
|
}
|
|
652
|
-
return new
|
|
654
|
+
return new v(n);
|
|
653
655
|
}
|
|
654
656
|
return n;
|
|
655
657
|
}
|
|
656
658
|
}
|
|
657
|
-
a.MetricDescriptor =
|
|
659
|
+
a.MetricDescriptor = y;
|
|
658
660
|
class r {
|
|
659
661
|
constructor(n = {}) {
|
|
660
662
|
e(this, "resource");
|
|
661
663
|
e(this, "metrics");
|
|
662
|
-
typeof n == "string" && (n = JSON.parse(n)), this.resource = n.resource, this.metrics = this.convertValues(n.metrics,
|
|
664
|
+
typeof n == "string" && (n = JSON.parse(n)), this.resource = n.resource, this.metrics = this.convertValues(n.metrics, y);
|
|
663
665
|
}
|
|
664
666
|
static createFrom(n = {}) {
|
|
665
667
|
return new r(n);
|
|
666
668
|
}
|
|
667
|
-
convertValues(n,
|
|
669
|
+
convertValues(n, v, b = !1) {
|
|
668
670
|
if (!n)
|
|
669
671
|
return n;
|
|
670
672
|
if (n.slice && n.map)
|
|
671
|
-
return n.map((d) => this.convertValues(d,
|
|
673
|
+
return n.map((d) => this.convertValues(d, v));
|
|
672
674
|
if (typeof n == "object") {
|
|
673
675
|
if (b) {
|
|
674
676
|
for (const d of Object.keys(n))
|
|
675
|
-
n[d] = new
|
|
677
|
+
n[d] = new v(n[d]);
|
|
676
678
|
return n;
|
|
677
679
|
}
|
|
678
|
-
return new
|
|
680
|
+
return new v(n);
|
|
679
681
|
}
|
|
680
682
|
return n;
|
|
681
683
|
}
|
|
@@ -694,18 +696,18 @@ var K;
|
|
|
694
696
|
static createFrom(n = {}) {
|
|
695
697
|
return new i(n);
|
|
696
698
|
}
|
|
697
|
-
convertValues(n,
|
|
699
|
+
convertValues(n, v, b = !1) {
|
|
698
700
|
if (!n)
|
|
699
701
|
return n;
|
|
700
702
|
if (n.slice && n.map)
|
|
701
|
-
return n.map((d) => this.convertValues(d,
|
|
703
|
+
return n.map((d) => this.convertValues(d, v));
|
|
702
704
|
if (typeof n == "object") {
|
|
703
705
|
if (b) {
|
|
704
706
|
for (const d of Object.keys(n))
|
|
705
|
-
n[d] = new
|
|
707
|
+
n[d] = new v(n[d]);
|
|
706
708
|
return n;
|
|
707
709
|
}
|
|
708
|
-
return new
|
|
710
|
+
return new v(n);
|
|
709
711
|
}
|
|
710
712
|
return n;
|
|
711
713
|
}
|
|
@@ -721,18 +723,18 @@ var K;
|
|
|
721
723
|
static createFrom(n = {}) {
|
|
722
724
|
return new m(n);
|
|
723
725
|
}
|
|
724
|
-
convertValues(n,
|
|
726
|
+
convertValues(n, v, b = !1) {
|
|
725
727
|
if (!n)
|
|
726
728
|
return n;
|
|
727
729
|
if (n.slice && n.map)
|
|
728
|
-
return n.map((d) => this.convertValues(d,
|
|
730
|
+
return n.map((d) => this.convertValues(d, v));
|
|
729
731
|
if (typeof n == "object") {
|
|
730
732
|
if (b) {
|
|
731
733
|
for (const d of Object.keys(n))
|
|
732
|
-
n[d] = new
|
|
734
|
+
n[d] = new v(n[d]);
|
|
733
735
|
return n;
|
|
734
736
|
}
|
|
735
|
-
return new
|
|
737
|
+
return new v(n);
|
|
736
738
|
}
|
|
737
739
|
return n;
|
|
738
740
|
}
|
|
@@ -748,18 +750,18 @@ var K;
|
|
|
748
750
|
static createFrom(n = {}) {
|
|
749
751
|
return new s(n);
|
|
750
752
|
}
|
|
751
|
-
convertValues(n,
|
|
753
|
+
convertValues(n, v, b = !1) {
|
|
752
754
|
if (!n)
|
|
753
755
|
return n;
|
|
754
756
|
if (n.slice && n.map)
|
|
755
|
-
return n.map((d) => this.convertValues(d,
|
|
757
|
+
return n.map((d) => this.convertValues(d, v));
|
|
756
758
|
if (typeof n == "object") {
|
|
757
759
|
if (b) {
|
|
758
760
|
for (const d of Object.keys(n))
|
|
759
|
-
n[d] = new
|
|
761
|
+
n[d] = new v(n[d]);
|
|
760
762
|
return n;
|
|
761
763
|
}
|
|
762
|
-
return new
|
|
764
|
+
return new v(n);
|
|
763
765
|
}
|
|
764
766
|
return n;
|
|
765
767
|
}
|
|
@@ -777,29 +779,29 @@ var K;
|
|
|
777
779
|
e(this, "end_time");
|
|
778
780
|
e(this, "step");
|
|
779
781
|
e(this, "params");
|
|
780
|
-
typeof n == "string" && (n = JSON.parse(n)), this.resource_key = n.resource_key, this.resource_id = n.resource_id, this.resource_namespace = n.resource_namespace, this.resource_data = n.resource_data, this.metric_ids = n.metric_ids, this.shape = n.shape, this.start_time = this.convertValues(n.start_time,
|
|
782
|
+
typeof n == "string" && (n = JSON.parse(n)), this.resource_key = n.resource_key, this.resource_id = n.resource_id, this.resource_namespace = n.resource_namespace, this.resource_data = n.resource_data, this.metric_ids = n.metric_ids, this.shape = n.shape, this.start_time = this.convertValues(n.start_time, _.Time), this.end_time = this.convertValues(n.end_time, _.Time), this.step = n.step, this.params = n.params;
|
|
781
783
|
}
|
|
782
784
|
static createFrom(n = {}) {
|
|
783
785
|
return new c(n);
|
|
784
786
|
}
|
|
785
|
-
convertValues(n,
|
|
787
|
+
convertValues(n, v, b = !1) {
|
|
786
788
|
if (!n)
|
|
787
789
|
return n;
|
|
788
790
|
if (n.slice && n.map)
|
|
789
|
-
return n.map((d) => this.convertValues(d,
|
|
791
|
+
return n.map((d) => this.convertValues(d, v));
|
|
790
792
|
if (typeof n == "object") {
|
|
791
793
|
if (b) {
|
|
792
794
|
for (const d of Object.keys(n))
|
|
793
|
-
n[d] = new
|
|
795
|
+
n[d] = new v(n[d]);
|
|
794
796
|
return n;
|
|
795
797
|
}
|
|
796
|
-
return new
|
|
798
|
+
return new v(n);
|
|
797
799
|
}
|
|
798
800
|
return n;
|
|
799
801
|
}
|
|
800
802
|
}
|
|
801
803
|
a.QueryRequest = c;
|
|
802
|
-
class
|
|
804
|
+
class O {
|
|
803
805
|
constructor(n = {}) {
|
|
804
806
|
e(this, "success");
|
|
805
807
|
e(this, "results");
|
|
@@ -807,25 +809,25 @@ var K;
|
|
|
807
809
|
typeof n == "string" && (n = JSON.parse(n)), this.success = n.success, this.results = this.convertValues(n.results, s), this.error = n.error;
|
|
808
810
|
}
|
|
809
811
|
static createFrom(n = {}) {
|
|
810
|
-
return new
|
|
812
|
+
return new O(n);
|
|
811
813
|
}
|
|
812
|
-
convertValues(n,
|
|
814
|
+
convertValues(n, v, b = !1) {
|
|
813
815
|
if (!n)
|
|
814
816
|
return n;
|
|
815
817
|
if (n.slice && n.map)
|
|
816
|
-
return n.map((d) => this.convertValues(d,
|
|
818
|
+
return n.map((d) => this.convertValues(d, v));
|
|
817
819
|
if (typeof n == "object") {
|
|
818
820
|
if (b) {
|
|
819
821
|
for (const d of Object.keys(n))
|
|
820
|
-
n[d] = new
|
|
822
|
+
n[d] = new v(n[d]);
|
|
821
823
|
return n;
|
|
822
824
|
}
|
|
823
|
-
return new
|
|
825
|
+
return new v(n);
|
|
824
826
|
}
|
|
825
827
|
return n;
|
|
826
828
|
}
|
|
827
829
|
}
|
|
828
|
-
a.QueryResponse =
|
|
830
|
+
a.QueryResponse = O;
|
|
829
831
|
class w {
|
|
830
832
|
constructor(n = {}) {
|
|
831
833
|
e(this, "resource_key");
|
|
@@ -880,7 +882,7 @@ var H;
|
|
|
880
882
|
e(this, "encryption");
|
|
881
883
|
e(this, "local_port");
|
|
882
884
|
e(this, "remote_port");
|
|
883
|
-
typeof r == "string" && (r = JSON.parse(r)), this.created_at = this.convertValues(r.created_at,
|
|
885
|
+
typeof r == "string" && (r = JSON.parse(r)), this.created_at = this.convertValues(r.created_at, _.Time), this.updated_at = this.convertValues(r.updated_at, _.Time), this.connection = r.connection, this.labels = r.labels, this.id = r.id, this.protocol = r.protocol, this.state = r.state, this.connection_type = r.connection_type, this.encryption = this.convertValues(r.encryption, f), this.local_port = r.local_port, this.remote_port = r.remote_port;
|
|
884
886
|
}
|
|
885
887
|
static createFrom(r = {}) {
|
|
886
888
|
return new l(r);
|
|
@@ -942,18 +944,18 @@ var Q;
|
|
|
942
944
|
e(this, "DevMode");
|
|
943
945
|
e(this, "DevModePath");
|
|
944
946
|
e(this, "ExistingState");
|
|
945
|
-
typeof l == "string" && (l = JSON.parse(l)), this.DevMode = l.DevMode, this.DevModePath = l.DevModePath, this.ExistingState = this.convertValues(l.ExistingState, S.
|
|
947
|
+
typeof l == "string" && (l = JSON.parse(l)), this.DevMode = l.DevMode, this.DevModePath = l.DevModePath, this.ExistingState = this.convertValues(l.ExistingState, S.PluginStateRecord);
|
|
946
948
|
}
|
|
947
949
|
static createFrom(l = {}) {
|
|
948
950
|
return new p(l);
|
|
949
951
|
}
|
|
950
|
-
convertValues(l, o,
|
|
952
|
+
convertValues(l, o, y = !1) {
|
|
951
953
|
if (!l)
|
|
952
954
|
return l;
|
|
953
955
|
if (l.slice && l.map)
|
|
954
956
|
return l.map((r) => this.convertValues(r, o));
|
|
955
957
|
if (typeof l == "object") {
|
|
956
|
-
if (
|
|
958
|
+
if (y) {
|
|
957
959
|
for (const r of Object.keys(l))
|
|
958
960
|
l[r] = new o(l[r]);
|
|
959
961
|
return l;
|
|
@@ -1048,7 +1050,7 @@ var Y;
|
|
|
1048
1050
|
}
|
|
1049
1051
|
}
|
|
1050
1052
|
a.Review = o;
|
|
1051
|
-
class
|
|
1053
|
+
class y {
|
|
1052
1054
|
constructor(i = {}) {
|
|
1053
1055
|
e(this, "version");
|
|
1054
1056
|
e(this, "description");
|
|
@@ -1060,15 +1062,15 @@ var Y;
|
|
|
1060
1062
|
typeof i == "string" && (i = JSON.parse(i)), this.version = i.version, this.description = i.description, this.changelog = i.changelog, this.min_ide_version = i.min_ide_version, this.max_ide_version = i.max_ide_version, this.capabilities = i.capabilities, this.created_at = i.created_at;
|
|
1061
1063
|
}
|
|
1062
1064
|
static createFrom(i = {}) {
|
|
1063
|
-
return new
|
|
1065
|
+
return new y(i);
|
|
1064
1066
|
}
|
|
1065
1067
|
}
|
|
1066
|
-
a.VersionInfo =
|
|
1068
|
+
a.VersionInfo = y;
|
|
1067
1069
|
})(Y || (Y = {}));
|
|
1068
1070
|
var q;
|
|
1069
1071
|
((a) => {
|
|
1070
|
-
((
|
|
1071
|
-
|
|
1072
|
+
((y) => {
|
|
1073
|
+
y.TEXT = "text", y.INTEGER = "integer", y.FLOAT = "float", y.TOGGLE = "toggle", y.COLOR = "color", y.DATETIME = "datetime", y.PASSWORD = "password";
|
|
1072
1074
|
})(a.SettingType || (a.SettingType = {}));
|
|
1073
1075
|
class p {
|
|
1074
1076
|
constructor(r = {}) {
|
|
@@ -1160,7 +1162,7 @@ var q;
|
|
|
1160
1162
|
}
|
|
1161
1163
|
a.Category = o;
|
|
1162
1164
|
})(q || (q = {}));
|
|
1163
|
-
var
|
|
1165
|
+
var _;
|
|
1164
1166
|
((a) => {
|
|
1165
1167
|
class p {
|
|
1166
1168
|
static createFrom(l = {}) {
|
|
@@ -1171,7 +1173,7 @@ var O;
|
|
|
1171
1173
|
}
|
|
1172
1174
|
}
|
|
1173
1175
|
a.Time = p;
|
|
1174
|
-
})(
|
|
1176
|
+
})(_ || (_ = {}));
|
|
1175
1177
|
var W;
|
|
1176
1178
|
((a) => {
|
|
1177
1179
|
((l) => {
|
|
@@ -1198,23 +1200,23 @@ var W;
|
|
|
1198
1200
|
e(this, "result");
|
|
1199
1201
|
e(this, "id");
|
|
1200
1202
|
e(this, "command");
|
|
1201
|
-
typeof o == "string" && (o = JSON.parse(o)), this.timestamp = this.convertValues(o.timestamp,
|
|
1203
|
+
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;
|
|
1202
1204
|
}
|
|
1203
1205
|
static createFrom(o = {}) {
|
|
1204
1206
|
return new f(o);
|
|
1205
1207
|
}
|
|
1206
|
-
convertValues(o,
|
|
1208
|
+
convertValues(o, y, r = !1) {
|
|
1207
1209
|
if (!o)
|
|
1208
1210
|
return o;
|
|
1209
1211
|
if (o.slice && o.map)
|
|
1210
|
-
return o.map((i) => this.convertValues(i,
|
|
1212
|
+
return o.map((i) => this.convertValues(i, y));
|
|
1211
1213
|
if (typeof o == "object") {
|
|
1212
1214
|
if (r) {
|
|
1213
1215
|
for (const i of Object.keys(o))
|
|
1214
|
-
o[i] = new
|
|
1216
|
+
o[i] = new y(o[i]);
|
|
1215
1217
|
return o;
|
|
1216
1218
|
}
|
|
1217
|
-
return new
|
|
1219
|
+
return new y(o);
|
|
1218
1220
|
}
|
|
1219
1221
|
return o;
|
|
1220
1222
|
}
|
|
@@ -1278,7 +1280,7 @@ var S;
|
|
|
1278
1280
|
}
|
|
1279
1281
|
}
|
|
1280
1282
|
a.ActionTargetBuilder = o;
|
|
1281
|
-
class
|
|
1283
|
+
class y {
|
|
1282
1284
|
constructor(t = {}) {
|
|
1283
1285
|
e(this, "idAccessor");
|
|
1284
1286
|
e(this, "namespaceAccessor");
|
|
@@ -1291,10 +1293,10 @@ var S;
|
|
|
1291
1293
|
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;
|
|
1292
1294
|
}
|
|
1293
1295
|
static createFrom(t = {}) {
|
|
1294
|
-
return new
|
|
1296
|
+
return new y(t);
|
|
1295
1297
|
}
|
|
1296
1298
|
}
|
|
1297
|
-
a.ResourceLink =
|
|
1299
|
+
a.ResourceLink = y;
|
|
1298
1300
|
class r {
|
|
1299
1301
|
constructor(t = {}) {
|
|
1300
1302
|
e(this, "id");
|
|
@@ -1311,18 +1313,18 @@ var S;
|
|
|
1311
1313
|
e(this, "componentParams");
|
|
1312
1314
|
e(this, "resourceLink");
|
|
1313
1315
|
e(this, "valueMap");
|
|
1314
|
-
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,
|
|
1316
|
+
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, y), this.valueMap = t.valueMap;
|
|
1315
1317
|
}
|
|
1316
1318
|
static createFrom(t = {}) {
|
|
1317
1319
|
return new r(t);
|
|
1318
1320
|
}
|
|
1319
|
-
convertValues(t, u,
|
|
1321
|
+
convertValues(t, u, g = !1) {
|
|
1320
1322
|
if (!t)
|
|
1321
1323
|
return t;
|
|
1322
1324
|
if (t.slice && t.map)
|
|
1323
1325
|
return t.map((h) => this.convertValues(h, u));
|
|
1324
1326
|
if (typeof t == "object") {
|
|
1325
|
-
if (
|
|
1327
|
+
if (g) {
|
|
1326
1328
|
for (const h of Object.keys(t))
|
|
1327
1329
|
t[h] = new u(t[h]);
|
|
1328
1330
|
return t;
|
|
@@ -1345,18 +1347,18 @@ var S;
|
|
|
1345
1347
|
e(this, "avatar");
|
|
1346
1348
|
e(this, "expiry_time");
|
|
1347
1349
|
e(this, "Client");
|
|
1348
|
-
typeof t == "string" && (t = JSON.parse(t)), this.last_refresh = this.convertValues(t.last_refresh,
|
|
1350
|
+
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;
|
|
1349
1351
|
}
|
|
1350
1352
|
static createFrom(t = {}) {
|
|
1351
1353
|
return new i(t);
|
|
1352
1354
|
}
|
|
1353
|
-
convertValues(t, u,
|
|
1355
|
+
convertValues(t, u, g = !1) {
|
|
1354
1356
|
if (!t)
|
|
1355
1357
|
return t;
|
|
1356
1358
|
if (t.slice && t.map)
|
|
1357
1359
|
return t.map((h) => this.convertValues(h, u));
|
|
1358
1360
|
if (typeof t == "object") {
|
|
1359
|
-
if (
|
|
1361
|
+
if (g) {
|
|
1360
1362
|
for (const h of Object.keys(t))
|
|
1361
1363
|
t[h] = new u(t[h]);
|
|
1362
1364
|
return t;
|
|
@@ -1378,13 +1380,13 @@ var S;
|
|
|
1378
1380
|
static createFrom(t = {}) {
|
|
1379
1381
|
return new m(t);
|
|
1380
1382
|
}
|
|
1381
|
-
convertValues(t, u,
|
|
1383
|
+
convertValues(t, u, g = !1) {
|
|
1382
1384
|
if (!t)
|
|
1383
1385
|
return t;
|
|
1384
1386
|
if (t.slice && t.map)
|
|
1385
1387
|
return t.map((h) => this.convertValues(h, u));
|
|
1386
1388
|
if (typeof t == "object") {
|
|
1387
|
-
if (
|
|
1389
|
+
if (g) {
|
|
1388
1390
|
for (const h of Object.keys(t))
|
|
1389
1391
|
t[h] = new u(t[h]);
|
|
1390
1392
|
return t;
|
|
@@ -1418,7 +1420,7 @@ var S;
|
|
|
1418
1420
|
}
|
|
1419
1421
|
}
|
|
1420
1422
|
a.CreateResult = c;
|
|
1421
|
-
class
|
|
1423
|
+
class O {
|
|
1422
1424
|
constructor(t = {}) {
|
|
1423
1425
|
e(this, "input");
|
|
1424
1426
|
e(this, "params");
|
|
@@ -1427,10 +1429,10 @@ var S;
|
|
|
1427
1429
|
typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.params = t.params, this.id = t.id, this.namespace = t.namespace;
|
|
1428
1430
|
}
|
|
1429
1431
|
static createFrom(t = {}) {
|
|
1430
|
-
return new
|
|
1432
|
+
return new O(t);
|
|
1431
1433
|
}
|
|
1432
1434
|
}
|
|
1433
|
-
a.DeleteInput =
|
|
1435
|
+
a.DeleteInput = O;
|
|
1434
1436
|
class w {
|
|
1435
1437
|
constructor(t = {}) {
|
|
1436
1438
|
e(this, "result");
|
|
@@ -1468,17 +1470,17 @@ var S;
|
|
|
1468
1470
|
}
|
|
1469
1471
|
}
|
|
1470
1472
|
a.PaginationParams = n;
|
|
1471
|
-
class
|
|
1473
|
+
class v {
|
|
1472
1474
|
constructor(t = {}) {
|
|
1473
1475
|
e(this, "by");
|
|
1474
1476
|
e(this, "direction");
|
|
1475
1477
|
typeof t == "string" && (t = JSON.parse(t)), this.by = t.by, this.direction = t.direction;
|
|
1476
1478
|
}
|
|
1477
1479
|
static createFrom(t = {}) {
|
|
1478
|
-
return new
|
|
1480
|
+
return new v(t);
|
|
1479
1481
|
}
|
|
1480
1482
|
}
|
|
1481
|
-
a.OrderParams =
|
|
1483
|
+
a.OrderParams = v;
|
|
1482
1484
|
class b {
|
|
1483
1485
|
constructor(t = {}) {
|
|
1484
1486
|
e(this, "params");
|
|
@@ -1486,18 +1488,18 @@ var S;
|
|
|
1486
1488
|
e(this, "namespaces");
|
|
1487
1489
|
e(this, "order");
|
|
1488
1490
|
e(this, "pagination");
|
|
1489
|
-
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,
|
|
1491
|
+
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);
|
|
1490
1492
|
}
|
|
1491
1493
|
static createFrom(t = {}) {
|
|
1492
1494
|
return new b(t);
|
|
1493
1495
|
}
|
|
1494
|
-
convertValues(t, u,
|
|
1496
|
+
convertValues(t, u, g = !1) {
|
|
1495
1497
|
if (!t)
|
|
1496
1498
|
return t;
|
|
1497
1499
|
if (t.slice && t.map)
|
|
1498
1500
|
return t.map((h) => this.convertValues(h, u));
|
|
1499
1501
|
if (typeof t == "object") {
|
|
1500
|
-
if (
|
|
1502
|
+
if (g) {
|
|
1501
1503
|
for (const h of Object.keys(t))
|
|
1502
1504
|
t[h] = new u(t[h]);
|
|
1503
1505
|
return t;
|
|
@@ -1531,13 +1533,13 @@ var S;
|
|
|
1531
1533
|
static createFrom(t = {}) {
|
|
1532
1534
|
return new J(t);
|
|
1533
1535
|
}
|
|
1534
|
-
convertValues(t, u,
|
|
1536
|
+
convertValues(t, u, g = !1) {
|
|
1535
1537
|
if (!t)
|
|
1536
1538
|
return t;
|
|
1537
1539
|
if (t.slice && t.map)
|
|
1538
1540
|
return t.map((h) => this.convertValues(h, u));
|
|
1539
1541
|
if (typeof t == "object") {
|
|
1540
|
-
if (
|
|
1542
|
+
if (g) {
|
|
1541
1543
|
for (const h of Object.keys(t))
|
|
1542
1544
|
t[h] = new u(t[h]);
|
|
1543
1545
|
return t;
|
|
@@ -1560,18 +1562,18 @@ var S;
|
|
|
1560
1562
|
}
|
|
1561
1563
|
}
|
|
1562
1564
|
a.GetInput = j;
|
|
1563
|
-
class
|
|
1565
|
+
class E {
|
|
1564
1566
|
constructor(t = {}) {
|
|
1565
1567
|
e(this, "result");
|
|
1566
1568
|
e(this, "success");
|
|
1567
1569
|
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
|
|
1568
1570
|
}
|
|
1569
1571
|
static createFrom(t = {}) {
|
|
1570
|
-
return new
|
|
1572
|
+
return new E(t);
|
|
1571
1573
|
}
|
|
1572
1574
|
}
|
|
1573
|
-
a.GetResult =
|
|
1574
|
-
class
|
|
1575
|
+
a.GetResult = E;
|
|
1576
|
+
class D {
|
|
1575
1577
|
constructor(t = {}) {
|
|
1576
1578
|
e(this, "connection");
|
|
1577
1579
|
e(this, "resources");
|
|
@@ -1582,29 +1584,29 @@ var S;
|
|
|
1582
1584
|
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;
|
|
1583
1585
|
}
|
|
1584
1586
|
static createFrom(t = {}) {
|
|
1585
|
-
return new
|
|
1587
|
+
return new D(t);
|
|
1586
1588
|
}
|
|
1587
1589
|
}
|
|
1588
|
-
a.InformerConnectionSummary =
|
|
1589
|
-
class
|
|
1590
|
+
a.InformerConnectionSummary = D;
|
|
1591
|
+
class k {
|
|
1590
1592
|
constructor(t = {}) {
|
|
1591
1593
|
e(this, "id");
|
|
1592
1594
|
e(this, "title");
|
|
1593
1595
|
e(this, "icon");
|
|
1594
1596
|
e(this, "description");
|
|
1595
1597
|
e(this, "items");
|
|
1596
|
-
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.title = t.title, this.icon = t.icon, this.description = t.description, this.items = this.convertValues(t.items,
|
|
1598
|
+
typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.title = t.title, this.icon = t.icon, this.description = t.description, this.items = this.convertValues(t.items, k);
|
|
1597
1599
|
}
|
|
1598
1600
|
static createFrom(t = {}) {
|
|
1599
|
-
return new
|
|
1601
|
+
return new k(t);
|
|
1600
1602
|
}
|
|
1601
|
-
convertValues(t, u,
|
|
1603
|
+
convertValues(t, u, g = !1) {
|
|
1602
1604
|
if (!t)
|
|
1603
1605
|
return t;
|
|
1604
1606
|
if (t.slice && t.map)
|
|
1605
1607
|
return t.map((h) => this.convertValues(h, u));
|
|
1606
1608
|
if (typeof t == "object") {
|
|
1607
|
-
if (
|
|
1609
|
+
if (g) {
|
|
1608
1610
|
for (const h of Object.keys(t))
|
|
1609
1611
|
t[h] = new u(t[h]);
|
|
1610
1612
|
return t;
|
|
@@ -1614,25 +1616,25 @@ var S;
|
|
|
1614
1616
|
return t;
|
|
1615
1617
|
}
|
|
1616
1618
|
}
|
|
1617
|
-
a.LayoutItem =
|
|
1619
|
+
a.LayoutItem = k;
|
|
1618
1620
|
class P {
|
|
1619
1621
|
constructor(t = {}) {
|
|
1620
1622
|
e(this, "params");
|
|
1621
1623
|
e(this, "namespaces");
|
|
1622
1624
|
e(this, "order");
|
|
1623
1625
|
e(this, "pagination");
|
|
1624
|
-
typeof t == "string" && (t = JSON.parse(t)), this.params = t.params, this.namespaces = t.namespaces, this.order = this.convertValues(t.order,
|
|
1626
|
+
typeof t == "string" && (t = JSON.parse(t)), this.params = t.params, this.namespaces = t.namespaces, this.order = this.convertValues(t.order, v), this.pagination = this.convertValues(t.pagination, n);
|
|
1625
1627
|
}
|
|
1626
1628
|
static createFrom(t = {}) {
|
|
1627
1629
|
return new P(t);
|
|
1628
1630
|
}
|
|
1629
|
-
convertValues(t, u,
|
|
1631
|
+
convertValues(t, u, g = !1) {
|
|
1630
1632
|
if (!t)
|
|
1631
1633
|
return t;
|
|
1632
1634
|
if (t.slice && t.map)
|
|
1633
1635
|
return t.map((h) => this.convertValues(h, u));
|
|
1634
1636
|
if (typeof t == "object") {
|
|
1635
|
-
if (
|
|
1637
|
+
if (g) {
|
|
1636
1638
|
for (const h of Object.keys(t))
|
|
1637
1639
|
t[h] = new u(t[h]);
|
|
1638
1640
|
return t;
|
|
@@ -1653,13 +1655,13 @@ var S;
|
|
|
1653
1655
|
static createFrom(t = {}) {
|
|
1654
1656
|
return new R(t);
|
|
1655
1657
|
}
|
|
1656
|
-
convertValues(t, u,
|
|
1658
|
+
convertValues(t, u, g = !1) {
|
|
1657
1659
|
if (!t)
|
|
1658
1660
|
return t;
|
|
1659
1661
|
if (t.slice && t.map)
|
|
1660
1662
|
return t.map((h) => this.convertValues(h, u));
|
|
1661
1663
|
if (typeof t == "object") {
|
|
1662
|
-
if (
|
|
1664
|
+
if (g) {
|
|
1663
1665
|
for (const h of Object.keys(t))
|
|
1664
1666
|
t[h] = new u(t[h]);
|
|
1665
1667
|
return t;
|
|
@@ -1670,29 +1672,28 @@ var S;
|
|
|
1670
1672
|
}
|
|
1671
1673
|
}
|
|
1672
1674
|
a.ListResult = R;
|
|
1673
|
-
class
|
|
1675
|
+
class T {
|
|
1674
1676
|
constructor(t = {}) {
|
|
1675
1677
|
e(this, "id");
|
|
1676
1678
|
e(this, "metadata");
|
|
1679
|
+
e(this, "phase");
|
|
1677
1680
|
e(this, "enabled");
|
|
1678
|
-
e(this, "running");
|
|
1679
1681
|
e(this, "devMode");
|
|
1680
1682
|
e(this, "devPath");
|
|
1681
|
-
e(this, "loading");
|
|
1682
|
-
e(this, "loadError");
|
|
1683
1683
|
e(this, "capabilities");
|
|
1684
|
-
|
|
1684
|
+
e(this, "lastError");
|
|
1685
|
+
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;
|
|
1685
1686
|
}
|
|
1686
1687
|
static createFrom(t = {}) {
|
|
1687
|
-
return new
|
|
1688
|
+
return new T(t);
|
|
1688
1689
|
}
|
|
1689
|
-
convertValues(t, u,
|
|
1690
|
+
convertValues(t, u, g = !1) {
|
|
1690
1691
|
if (!t)
|
|
1691
1692
|
return t;
|
|
1692
1693
|
if (t.slice && t.map)
|
|
1693
1694
|
return t.map((h) => this.convertValues(h, u));
|
|
1694
1695
|
if (typeof t == "object") {
|
|
1695
|
-
if (
|
|
1696
|
+
if (g) {
|
|
1696
1697
|
for (const h of Object.keys(t))
|
|
1697
1698
|
t[h] = new u(t[h]);
|
|
1698
1699
|
return t;
|
|
@@ -1702,26 +1703,30 @@ var S;
|
|
|
1702
1703
|
return t;
|
|
1703
1704
|
}
|
|
1704
1705
|
}
|
|
1705
|
-
a.
|
|
1706
|
-
class
|
|
1706
|
+
a.PluginInfo = T;
|
|
1707
|
+
class I {
|
|
1707
1708
|
constructor(t = {}) {
|
|
1708
|
-
e(this, "
|
|
1709
|
-
e(this, "
|
|
1710
|
-
e(this, "
|
|
1711
|
-
e(this, "
|
|
1712
|
-
e(this, "
|
|
1713
|
-
|
|
1709
|
+
e(this, "id");
|
|
1710
|
+
e(this, "phase");
|
|
1711
|
+
e(this, "metadata");
|
|
1712
|
+
e(this, "enabled");
|
|
1713
|
+
e(this, "devMode");
|
|
1714
|
+
e(this, "devPath");
|
|
1715
|
+
e(this, "lastError");
|
|
1716
|
+
e(this, "errorCount");
|
|
1717
|
+
e(this, "installedAt");
|
|
1718
|
+
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);
|
|
1714
1719
|
}
|
|
1715
1720
|
static createFrom(t = {}) {
|
|
1716
|
-
return new
|
|
1721
|
+
return new I(t);
|
|
1717
1722
|
}
|
|
1718
|
-
convertValues(t, u,
|
|
1723
|
+
convertValues(t, u, g = !1) {
|
|
1719
1724
|
if (!t)
|
|
1720
1725
|
return t;
|
|
1721
1726
|
if (t.slice && t.map)
|
|
1722
1727
|
return t.map((h) => this.convertValues(h, u));
|
|
1723
1728
|
if (typeof t == "object") {
|
|
1724
|
-
if (
|
|
1729
|
+
if (g) {
|
|
1725
1730
|
for (const h of Object.keys(t))
|
|
1726
1731
|
t[h] = new u(t[h]);
|
|
1727
1732
|
return t;
|
|
@@ -1731,7 +1736,7 @@ var S;
|
|
|
1731
1736
|
return t;
|
|
1732
1737
|
}
|
|
1733
1738
|
}
|
|
1734
|
-
a.
|
|
1739
|
+
a.PluginStateRecord = I;
|
|
1735
1740
|
class A {
|
|
1736
1741
|
constructor(t = {}) {
|
|
1737
1742
|
e(this, "id_accessor");
|
|
@@ -1744,13 +1749,13 @@ var S;
|
|
|
1744
1749
|
static createFrom(t = {}) {
|
|
1745
1750
|
return new A(t);
|
|
1746
1751
|
}
|
|
1747
|
-
convertValues(t, u,
|
|
1752
|
+
convertValues(t, u, g = !1) {
|
|
1748
1753
|
if (!t)
|
|
1749
1754
|
return t;
|
|
1750
1755
|
if (t.slice && t.map)
|
|
1751
1756
|
return t.map((h) => this.convertValues(h, u));
|
|
1752
1757
|
if (typeof t == "object") {
|
|
1753
|
-
if (
|
|
1758
|
+
if (g) {
|
|
1754
1759
|
for (const h of Object.keys(t))
|
|
1755
1760
|
t[h] = new u(t[h]);
|
|
1756
1761
|
return t;
|
|
@@ -1773,13 +1778,13 @@ var S;
|
|
|
1773
1778
|
static createFrom(t = {}) {
|
|
1774
1779
|
return new M(t);
|
|
1775
1780
|
}
|
|
1776
|
-
convertValues(t, u,
|
|
1781
|
+
convertValues(t, u, g = !1) {
|
|
1777
1782
|
if (!t)
|
|
1778
1783
|
return t;
|
|
1779
1784
|
if (t.slice && t.map)
|
|
1780
1785
|
return t.map((h) => this.convertValues(h, u));
|
|
1781
1786
|
if (typeof t == "object") {
|
|
1782
|
-
if (
|
|
1787
|
+
if (g) {
|
|
1783
1788
|
for (const h of Object.keys(t))
|
|
1784
1789
|
t[h] = new u(t[h]);
|
|
1785
1790
|
return t;
|
|
@@ -1806,7 +1811,7 @@ var S;
|
|
|
1806
1811
|
}
|
|
1807
1812
|
}
|
|
1808
1813
|
a.ResourceMeta = L;
|
|
1809
|
-
class
|
|
1814
|
+
class C {
|
|
1810
1815
|
constructor(t = {}) {
|
|
1811
1816
|
e(this, "input");
|
|
1812
1817
|
e(this, "params");
|
|
@@ -1815,21 +1820,21 @@ var S;
|
|
|
1815
1820
|
typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.params = t.params, this.id = t.id, this.namespace = t.namespace;
|
|
1816
1821
|
}
|
|
1817
1822
|
static createFrom(t = {}) {
|
|
1818
|
-
return new
|
|
1823
|
+
return new C(t);
|
|
1819
1824
|
}
|
|
1820
1825
|
}
|
|
1821
|
-
a.UpdateInput =
|
|
1822
|
-
class
|
|
1826
|
+
a.UpdateInput = C;
|
|
1827
|
+
class x {
|
|
1823
1828
|
constructor(t = {}) {
|
|
1824
1829
|
e(this, "result");
|
|
1825
1830
|
e(this, "success");
|
|
1826
1831
|
typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
|
|
1827
1832
|
}
|
|
1828
1833
|
static createFrom(t = {}) {
|
|
1829
|
-
return new
|
|
1834
|
+
return new x(t);
|
|
1830
1835
|
}
|
|
1831
1836
|
}
|
|
1832
|
-
a.UpdateResult =
|
|
1837
|
+
a.UpdateResult = x;
|
|
1833
1838
|
})(S || (S = {}));
|
|
1834
1839
|
var Z;
|
|
1835
1840
|
((a) => {
|
|
@@ -1897,7 +1902,7 @@ var X;
|
|
|
1897
1902
|
a.GetLanguageInput = p;
|
|
1898
1903
|
})(X || (X = {}));
|
|
1899
1904
|
export {
|
|
1900
|
-
|
|
1905
|
+
N as config,
|
|
1901
1906
|
U as devserver,
|
|
1902
1907
|
B as exec,
|
|
1903
1908
|
G as logs,
|
|
@@ -1907,7 +1912,7 @@ export {
|
|
|
1907
1912
|
Q as plugin,
|
|
1908
1913
|
Y as registry,
|
|
1909
1914
|
q as settings,
|
|
1910
|
-
|
|
1915
|
+
_ as time,
|
|
1911
1916
|
W as trivy,
|
|
1912
1917
|
S as types,
|
|
1913
1918
|
Z as ui,
|