@omniviewdev/runtime 0.2.3 → 0.4.0

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