@omniviewdev/runtime 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.cjs +1 -1
- package/dist/api.js +160 -219
- package/dist/bindings/events/index.d.ts +4 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/window/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/window/models.d.ts +19 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/window/service.d.ts +16 -0
- package/dist/context/settings/index.d.ts +1 -0
- package/dist/context/settings/settingsWindow.d.ts +4 -0
- package/dist/context/windows/activePageNavigator.d.ts +2 -3
- package/dist/index.cjs +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +400 -381
- package/dist/models-B8VGD21U.cjs +1 -0
- package/dist/models-BJZVpONm.cjs +1 -0
- package/dist/models-BlxGoC2X.js +1463 -0
- package/dist/{models-BJgLAHwq.js → models-ddVn9pLv.js} +79 -284
- package/dist/models.cjs +1 -1
- package/dist/models.js +33 -33
- package/dist/service-DKddH-QF.cjs +1 -0
- package/dist/service-lcq0B7wi.js +739 -0
- package/dist/settingsEditors.d.ts +35 -0
- package/package.json +1 -1
- package/dist/models-BTzXdmUY.js +0 -1240
- package/dist/models-BhsFYb70.cjs +0 -1
- package/dist/models-NYvUa5Yc.cjs +0 -1
- package/dist/servicewrapper-CZ9BUUjp.js +0 -662
- package/dist/servicewrapper-lF8bBrIo.cjs +0 -1
|
@@ -1,662 +0,0 @@
|
|
|
1
|
-
import { B as Z, N as y, M as S, A as a, a as p } from "./index-zyAgCXOO.js";
|
|
2
|
-
import { a as B, H as ee, b as te, c as ne, P as re, D as oe, V as se, R as ie, A as ce, C as ae, d as ue, e as le, f as fe, g as pe, L as he, h as ge, i as de, Q as $e } from "./models-BTzXdmUY.js";
|
|
3
|
-
import { B as r, a as h } from "./calls-DYGtxNJ6.js";
|
|
4
|
-
function g(e, t = []) {
|
|
5
|
-
let u = 0;
|
|
6
|
-
for (const i of t) {
|
|
7
|
-
if (i.length > 65536) throw new RangeError("Request routing byte limit");
|
|
8
|
-
u += new TextEncoder().encode(JSON.stringify(i)).length + 1;
|
|
9
|
-
}
|
|
10
|
-
if (u > 57344) throw new RangeError("Request routing byte limit");
|
|
11
|
-
let N = 0, W = 2, Y = 0, H = 0;
|
|
12
|
-
const J = [], f = (i) => {
|
|
13
|
-
for (let l = 0; l < i.length; l++) {
|
|
14
|
-
const c = i.charCodeAt(l);
|
|
15
|
-
let d = c < 128 ? 1 : c < 2048 ? 2 : 3;
|
|
16
|
-
if (c >= 55296 && c <= 56319) {
|
|
17
|
-
const m = i.charCodeAt(++l);
|
|
18
|
-
if (!(m >= 56320 && m <= 57343)) throw new TypeError("Invalid Unicode");
|
|
19
|
-
d = 4;
|
|
20
|
-
} else if (c >= 56320 && c <= 57343) throw new TypeError("Invalid Unicode");
|
|
21
|
-
if (N += d, W += c === 34 || c === 92 ? 2 : d, N > 33554432 || W > 67043328) throw new RangeError("Request JSON byte limit");
|
|
22
|
-
}
|
|
23
|
-
J.push(i);
|
|
24
|
-
}, z = (i) => {
|
|
25
|
-
if (i.length > 33554432) throw new RangeError("Request JSON byte limit");
|
|
26
|
-
for (let l = 0; l < i.length; l++) {
|
|
27
|
-
const c = i.charCodeAt(l);
|
|
28
|
-
if (c >= 55296 && c <= 56319) {
|
|
29
|
-
const d = i.charCodeAt(++l);
|
|
30
|
-
if (!(d >= 56320 && d <= 57343)) throw new TypeError("Invalid Unicode");
|
|
31
|
-
} else if (c >= 56320 && c <= 57343) throw new TypeError("Invalid Unicode");
|
|
32
|
-
}
|
|
33
|
-
f(JSON.stringify(i));
|
|
34
|
-
}, C = (i, l) => {
|
|
35
|
-
if (++Y > 262144 || l > 64) throw new RangeError("Request JSON structural limit");
|
|
36
|
-
if (i === null) {
|
|
37
|
-
f("null");
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
if (typeof i == "string") {
|
|
41
|
-
z(i);
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
if (typeof i == "boolean") {
|
|
45
|
-
f(i ? "true" : "false");
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
if (typeof i == "number") {
|
|
49
|
-
if (!Number.isFinite(i)) throw new TypeError("Request numbers must be finite");
|
|
50
|
-
f(Object.is(i, -0) ? "-0" : JSON.stringify(i));
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
if (Array.isArray(i)) {
|
|
54
|
-
f("[");
|
|
55
|
-
for (let c = 0; c < i.length; c++) {
|
|
56
|
-
if (++H > 1048576) throw new RangeError("Request JSON field limit");
|
|
57
|
-
c && f(","), C(i[c], l + 1);
|
|
58
|
-
}
|
|
59
|
-
f("]");
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
if (typeof i == "object") {
|
|
63
|
-
f("{");
|
|
64
|
-
let c = !0;
|
|
65
|
-
for (const [d, m] of Object.entries(i))
|
|
66
|
-
if (m !== void 0) {
|
|
67
|
-
if (++H > 1048576) throw new RangeError("Request JSON field limit");
|
|
68
|
-
c || f(","), c = !1, z(d), f(":"), C(m, l + 1);
|
|
69
|
-
}
|
|
70
|
-
f("}");
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
throw new TypeError("Unsupported request JSON value");
|
|
74
|
-
};
|
|
75
|
-
return C(e, 0), J.join("");
|
|
76
|
-
}
|
|
77
|
-
function ye(e) {
|
|
78
|
-
return r(93318075, e).then((t) => (t[0] = b(t[0]), t[1] = Z(t[1]), t));
|
|
79
|
-
}
|
|
80
|
-
function me(e) {
|
|
81
|
-
return r(1353297556, e);
|
|
82
|
-
}
|
|
83
|
-
function Se(e) {
|
|
84
|
-
return r(4182196712, e).then((t) => b(t));
|
|
85
|
-
}
|
|
86
|
-
function be(e) {
|
|
87
|
-
return r(3993344525, e).then((t) => b(t));
|
|
88
|
-
}
|
|
89
|
-
function Te(e, t) {
|
|
90
|
-
return r(1779192716, e, t).then((n) => Ae(n));
|
|
91
|
-
}
|
|
92
|
-
function Pe() {
|
|
93
|
-
return r(4033362541).then((e) => je(e));
|
|
94
|
-
}
|
|
95
|
-
function Re(e) {
|
|
96
|
-
return r(2619212338, e).then((t) => q(t));
|
|
97
|
-
}
|
|
98
|
-
function we(e) {
|
|
99
|
-
return r(1371268636, e).then((t) => b(t));
|
|
100
|
-
}
|
|
101
|
-
function Ge(e) {
|
|
102
|
-
return r(3881019319, e);
|
|
103
|
-
}
|
|
104
|
-
function Ce() {
|
|
105
|
-
return r(3006426324).then((e) => Le(e));
|
|
106
|
-
}
|
|
107
|
-
function ve() {
|
|
108
|
-
return r(265791345).then((e) => ke(e));
|
|
109
|
-
}
|
|
110
|
-
function Fe(e, t, n) {
|
|
111
|
-
return r(1492965384, e, t, n);
|
|
112
|
-
}
|
|
113
|
-
function Oe(e, t) {
|
|
114
|
-
return r(486465741, e, t);
|
|
115
|
-
}
|
|
116
|
-
const _e = B.createFrom, b = y(_e), U = ee.createFrom, Ae = y(U), q = S(p, U), je = S(p, q), Le = a(p), ke = a(b);
|
|
117
|
-
function Ee(e, t, n) {
|
|
118
|
-
return h("github.com/omniviewdev/omniview/backend/pkg/plugin/exec.ServiceWrapper.CreateSession", e, t, g(n, [e, t])).then((s) => s === null ? null : B.createFrom(s));
|
|
119
|
-
}
|
|
120
|
-
const Tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
121
|
-
__proto__: null,
|
|
122
|
-
AttachSession: ye,
|
|
123
|
-
CloseSession: me,
|
|
124
|
-
CreateSession: Ee,
|
|
125
|
-
CreateTerminal: Se,
|
|
126
|
-
DetachSession: be,
|
|
127
|
-
GetHandler: Te,
|
|
128
|
-
GetHandlers: Pe,
|
|
129
|
-
GetPluginHandlers: Re,
|
|
130
|
-
GetSession: we,
|
|
131
|
-
HasPlugin: Ge,
|
|
132
|
-
ListPlugins: Ce,
|
|
133
|
-
ListSessions: ve,
|
|
134
|
-
ResizeSession: Fe,
|
|
135
|
-
WriteSession: Oe
|
|
136
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
137
|
-
function Me(e) {
|
|
138
|
-
return r(182596922, e).then((t) => v(t));
|
|
139
|
-
}
|
|
140
|
-
function Ne(e, t, n) {
|
|
141
|
-
return r(981100722, e, t, n).then((s) => F(s));
|
|
142
|
-
}
|
|
143
|
-
function We(e) {
|
|
144
|
-
return r(2157304970, e).then((t) => v(t));
|
|
145
|
-
}
|
|
146
|
-
function He(e) {
|
|
147
|
-
return r(650882, e).then((t) => x(t));
|
|
148
|
-
}
|
|
149
|
-
function Je(e) {
|
|
150
|
-
return r(3624690437, e);
|
|
151
|
-
}
|
|
152
|
-
function ze() {
|
|
153
|
-
return r(2195697754).then((e) => F(e));
|
|
154
|
-
}
|
|
155
|
-
function Be() {
|
|
156
|
-
return r(167463150).then((e) => x(e));
|
|
157
|
-
}
|
|
158
|
-
function Ue(e, t) {
|
|
159
|
-
return r(2090415403, e, t).then((n) => F(n));
|
|
160
|
-
}
|
|
161
|
-
const qe = te.createFrom, v = y(qe), F = a(v), x = a(p);
|
|
162
|
-
function xe(e, t, n) {
|
|
163
|
-
return h("github.com/omniviewdev/omniview/backend/pkg/plugin/networker.ServiceWrapper.StartResourcePortForwardingSession", e, t, g(n, [e, t]));
|
|
164
|
-
}
|
|
165
|
-
const Pr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
166
|
-
__proto__: null,
|
|
167
|
-
ClosePortForwardSession: Me,
|
|
168
|
-
FindPortForwardSessions: Ne,
|
|
169
|
-
GetPortForwardSession: We,
|
|
170
|
-
GetSupportedPortForwardTargets: He,
|
|
171
|
-
HasPlugin: Je,
|
|
172
|
-
ListAllPortForwardSessions: ze,
|
|
173
|
-
ListPlugins: Be,
|
|
174
|
-
ListPortForwardSessions: Ue,
|
|
175
|
-
StartResourcePortForwardingSession: xe
|
|
176
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
177
|
-
class O {
|
|
178
|
-
pluginID;
|
|
179
|
-
running;
|
|
180
|
-
url;
|
|
181
|
-
error;
|
|
182
|
-
supported;
|
|
183
|
-
pid;
|
|
184
|
-
/** Creates a new PluginProfilingStatus instance. */
|
|
185
|
-
constructor(t = {}) {
|
|
186
|
-
"pluginID" in t || (this.pluginID = ""), "running" in t || (this.running = !1), "url" in t || (this.url = ""), "error" in t || (this.error = ""), "supported" in t || (this.supported = !1), "pid" in t || (this.pid = 0), Object.assign(this, t);
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Creates a new PluginProfilingStatus instance from a string or object.
|
|
190
|
-
*/
|
|
191
|
-
static createFrom(t = {}) {
|
|
192
|
-
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
193
|
-
return new O(n);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
function Ie(e) {
|
|
197
|
-
return r(3150413499, e).then((t) => $(t));
|
|
198
|
-
}
|
|
199
|
-
function Qe(e) {
|
|
200
|
-
return r(1152913314, e).then((t) => dt(t));
|
|
201
|
-
}
|
|
202
|
-
function Ve(e) {
|
|
203
|
-
return r(111194374, e).then((t) => _(t));
|
|
204
|
-
}
|
|
205
|
-
function De() {
|
|
206
|
-
return r(1083754477).then((e) => yt(e));
|
|
207
|
-
}
|
|
208
|
-
function Ke(e) {
|
|
209
|
-
return r(3945933305, e);
|
|
210
|
-
}
|
|
211
|
-
function Xe(e) {
|
|
212
|
-
return r(2859775056, e).then((t) => I(t));
|
|
213
|
-
}
|
|
214
|
-
function Ye(e, t) {
|
|
215
|
-
return r(2209599792, e, t).then((n) => bt(n));
|
|
216
|
-
}
|
|
217
|
-
function Ze(e) {
|
|
218
|
-
return r(3963363730, e).then((t) => I(t));
|
|
219
|
-
}
|
|
220
|
-
function et(e) {
|
|
221
|
-
return r(1357029266, e).then((t) => $(t));
|
|
222
|
-
}
|
|
223
|
-
function tt() {
|
|
224
|
-
return r(2477486666).then((e) => R(e));
|
|
225
|
-
}
|
|
226
|
-
function nt() {
|
|
227
|
-
return r(976517756).then((e) => R(e));
|
|
228
|
-
}
|
|
229
|
-
function rt(e) {
|
|
230
|
-
return r(1020548995, e).then((t) => R(t));
|
|
231
|
-
}
|
|
232
|
-
function ot(e, t) {
|
|
233
|
-
return r(2004740384, e, t).then((n) => R(n));
|
|
234
|
-
}
|
|
235
|
-
function st() {
|
|
236
|
-
return r(873697101).then((e) => Q(e));
|
|
237
|
-
}
|
|
238
|
-
function it() {
|
|
239
|
-
return r(637134283).then((e) => Pt(e));
|
|
240
|
-
}
|
|
241
|
-
function ct() {
|
|
242
|
-
return r(550607756).then((e) => Rt(e));
|
|
243
|
-
}
|
|
244
|
-
function at(e, t) {
|
|
245
|
-
return r(288660195, e, t).then((n) => $(n));
|
|
246
|
-
}
|
|
247
|
-
function ut(e) {
|
|
248
|
-
return r(1771013494, e).then((t) => $(t));
|
|
249
|
-
}
|
|
250
|
-
function lt(e) {
|
|
251
|
-
return r(2433379724, e).then((t) => $(t));
|
|
252
|
-
}
|
|
253
|
-
function ft(e, t, n) {
|
|
254
|
-
return r(2783597264, e, t, n).then((s) => Q(s));
|
|
255
|
-
}
|
|
256
|
-
function pt(e) {
|
|
257
|
-
return r(1369550929, e).then((t) => $(t));
|
|
258
|
-
}
|
|
259
|
-
function ht(e) {
|
|
260
|
-
return r(3828800061, e).then((t) => $(t));
|
|
261
|
-
}
|
|
262
|
-
const $ = ne.createFrom, gt = oe.createFrom, dt = y(gt), _ = re.createFrom, $t = O.createFrom, yt = a($t), mt = se.createFrom, I = a(mt), St = ie.createFrom, bt = a(St), R = y(_), Tt = ce.createFrom, Q = a(Tt), Pt = a(_), Rt = a($), Rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
263
|
-
__proto__: null,
|
|
264
|
-
GetPlugin: Ie,
|
|
265
|
-
GetPluginDownloadStats: Qe,
|
|
266
|
-
GetPluginMeta: Ve,
|
|
267
|
-
GetPluginProfilingStatuses: De,
|
|
268
|
-
GetPluginReadme: Ke,
|
|
269
|
-
GetPluginReleaseHistory: Xe,
|
|
270
|
-
GetPluginReviews: Ye,
|
|
271
|
-
GetPluginVersions: Ze,
|
|
272
|
-
InstallDevPluginFromPath: et,
|
|
273
|
-
InstallFromPathPrompt: tt,
|
|
274
|
-
InstallInDevMode: nt,
|
|
275
|
-
InstallPluginFromPath: rt,
|
|
276
|
-
InstallPluginVersion: ot,
|
|
277
|
-
ListAvailablePlugins: st,
|
|
278
|
-
ListPluginMetas: it,
|
|
279
|
-
ListPlugins: ct,
|
|
280
|
-
LoadPlugin: at,
|
|
281
|
-
ReloadPlugin: ut,
|
|
282
|
-
RetryFailedPlugin: lt,
|
|
283
|
-
SearchPlugins: ft,
|
|
284
|
-
UninstallPlugin: pt,
|
|
285
|
-
UnlinkDevPlugin: ht
|
|
286
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
287
|
-
function wt(e, t) {
|
|
288
|
-
return r(1688967279, e, t).then((n) => V(n));
|
|
289
|
-
}
|
|
290
|
-
function Gt(e, t) {
|
|
291
|
-
return r(950535743, e, t).then((n) => A(n));
|
|
292
|
-
}
|
|
293
|
-
function Ct(e) {
|
|
294
|
-
return r(854008408, e);
|
|
295
|
-
}
|
|
296
|
-
function vt() {
|
|
297
|
-
return r(1598984489).then((e) => Lt(e));
|
|
298
|
-
}
|
|
299
|
-
function Ft(e) {
|
|
300
|
-
return r(1775572154, e).then((t) => j(t));
|
|
301
|
-
}
|
|
302
|
-
function Ot() {
|
|
303
|
-
return r(3217612415).then((e) => kt(e));
|
|
304
|
-
}
|
|
305
|
-
function _t(e) {
|
|
306
|
-
return r(2037329938, e).then((t) => j(t));
|
|
307
|
-
}
|
|
308
|
-
function At(e, t) {
|
|
309
|
-
return r(3276991559, e, t).then((n) => V(n));
|
|
310
|
-
}
|
|
311
|
-
function jt(e, t) {
|
|
312
|
-
return r(794258089, e, t).then((n) => A(n));
|
|
313
|
-
}
|
|
314
|
-
const V = ae.createFrom, A = ue.createFrom, j = a(A), Lt = S(p, j), kt = a(p), Et = "github.com/omniviewdev/omniview/backend/pkg/plugin/resource.ServiceWrapper";
|
|
315
|
-
function o(e, ...t) {
|
|
316
|
-
return h(`${Et}.${e}`, ...t);
|
|
317
|
-
}
|
|
318
|
-
const Mt = (e) => o("Features", e), Nt = (e, t) => o("GetConnectionMetadata", e, t), Wt = (e, t) => o("RefreshConnectionMetadata", e, t), Ht = (e, t) => o("Catalog", e, t), Jt = (e, t) => o("Get", e, t), zt = (e, t) => o("Enumerate", e, t), Bt = (e, t) => o("NativeQuery", e, g(t, [e])), Ut = (e, t) => o("Mutate", e, g(t, [e])), qt = (e, t) => o("Action", e, g(t, [e])), xt = (e, t) => o("ResolveTarget", e, t), It = (e, t) => o("ResolveReference", e, t), Qt = (e, t, n) => o("GetSchemaDocument", e, t, n), Vt = () => o("GetAllConnectionStates"), Dt = (e) => o("ListConnectionProfiles", e), Kt = (e, t) => o("SaveConnectionProfile", e, t), Xt = (e, t) => o("ImportConnectionProfile", e, t), Yt = (e, t) => o("ResetConnectionProfile", e, t), Zt = (e, t) => o("RemoveConnection", e, t), en = (e, t) => o("GetResourceGroups", e, t), tn = (e, t, n) => o("GetResourceDefinition", e, t, n), nn = (e, t) => o("GetEditorSchemas", e, t), rn = (e, t, n) => o("GetRelationships", e, t, n), on = (e, t) => o("ResolveRelationships", e, t), sn = (e, t, n) => o("GetHealth", e, g({
|
|
319
|
-
request: t,
|
|
320
|
-
body: n
|
|
321
|
-
}, [e])), cn = (e, t, n) => o("GetResourceEvents", e, t, n), an = (e, t, n) => o("GetActions", e, t, n), un = (e, t) => o("StreamAction", e, g(t, [e])), ln = (e) => o("AttachStreamAction", e), fn = (e) => o("CancelStreamAction", e), pn = (e, t) => o("StartConnectionWatch", e, t), hn = (e, t) => o("StopConnectionWatch", e, t), gn = (e, t) => o("GetWatchState", e, t), dn = (e, t) => o("EnsureResourceWatch", e, t), $n = (e, t, n) => o("StopResourceWatch", e, t, n), yn = (e, t) => o("RestartResourceWatch", e, t), mn = (e, t, n) => o("IsResourceWatchRunning", e, t, n), Sn = (e, t) => o("SubscribeResource", e, t), bn = (e, t) => o("UnsubscribeResource", e, t), Tn = (e, t, n) => o("ScopeValues", e, t, n), wr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
322
|
-
__proto__: null,
|
|
323
|
-
Action: qt,
|
|
324
|
-
AttachStreamAction: ln,
|
|
325
|
-
CancelStreamAction: fn,
|
|
326
|
-
Catalog: Ht,
|
|
327
|
-
CheckConnection: wt,
|
|
328
|
-
EnsureResourceWatch: dn,
|
|
329
|
-
Enumerate: zt,
|
|
330
|
-
Features: Mt,
|
|
331
|
-
Get: Jt,
|
|
332
|
-
GetActions: an,
|
|
333
|
-
GetAllConnectionStates: Vt,
|
|
334
|
-
GetConnection: Gt,
|
|
335
|
-
GetConnectionMetadata: Nt,
|
|
336
|
-
GetEditorSchemas: nn,
|
|
337
|
-
GetHealth: sn,
|
|
338
|
-
GetRelationships: rn,
|
|
339
|
-
GetResourceDefinition: tn,
|
|
340
|
-
GetResourceEvents: cn,
|
|
341
|
-
GetResourceGroups: en,
|
|
342
|
-
GetSchemaDocument: Qt,
|
|
343
|
-
GetWatchState: gn,
|
|
344
|
-
HasPlugin: Ct,
|
|
345
|
-
ImportConnectionProfile: Xt,
|
|
346
|
-
IsResourceWatchRunning: mn,
|
|
347
|
-
ListAllConnections: vt,
|
|
348
|
-
ListConnectionProfiles: Dt,
|
|
349
|
-
ListConnections: Ft,
|
|
350
|
-
ListPlugins: Ot,
|
|
351
|
-
LoadConnections: _t,
|
|
352
|
-
Mutate: Ut,
|
|
353
|
-
NativeQuery: Bt,
|
|
354
|
-
RefreshConnectionMetadata: Wt,
|
|
355
|
-
RemoveConnection: Zt,
|
|
356
|
-
ResetConnectionProfile: Yt,
|
|
357
|
-
ResolveReference: It,
|
|
358
|
-
ResolveRelationships: on,
|
|
359
|
-
ResolveTarget: xt,
|
|
360
|
-
RestartResourceWatch: yn,
|
|
361
|
-
SaveConnectionProfile: Kt,
|
|
362
|
-
ScopeValues: Tn,
|
|
363
|
-
StartConnection: At,
|
|
364
|
-
StartConnectionWatch: pn,
|
|
365
|
-
StopConnection: jt,
|
|
366
|
-
StopConnectionWatch: hn,
|
|
367
|
-
StopResourceWatch: $n,
|
|
368
|
-
StreamAction: un,
|
|
369
|
-
SubscribeResource: Sn,
|
|
370
|
-
UnsubscribeResource: bn
|
|
371
|
-
}, Symbol.toStringTag, { value: "Module" })), w = "github.com/omniviewdev/omniview/backend/pkg/plugin/resource.GraphService";
|
|
372
|
-
function Pn(e, t, n, s, u) {
|
|
373
|
-
return h(`${w}.GetRelated`, e, t, n, s, u);
|
|
374
|
-
}
|
|
375
|
-
function Rn(e, t, n, s, u) {
|
|
376
|
-
return h(`${w}.GetRelationshipChain`, e, t, n, s, u);
|
|
377
|
-
}
|
|
378
|
-
function wn(e, t, n, s) {
|
|
379
|
-
return h(`${w}.GetDependencyTree`, e, t, n, s);
|
|
380
|
-
}
|
|
381
|
-
function Gn(e, t, n, s, u) {
|
|
382
|
-
return h(`${w}.GetSubgraph`, e, t, n, s, u);
|
|
383
|
-
}
|
|
384
|
-
const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
385
|
-
__proto__: null,
|
|
386
|
-
GetDependencyTree: wn,
|
|
387
|
-
GetRelated: Pn,
|
|
388
|
-
GetRelationshipChain: Rn,
|
|
389
|
-
GetSubgraph: Gn
|
|
390
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
391
|
-
class L {
|
|
392
|
-
snapshot;
|
|
393
|
-
applied;
|
|
394
|
-
uncertain;
|
|
395
|
-
message;
|
|
396
|
-
/** Creates a new CommitResult instance. */
|
|
397
|
-
constructor(t = {}) {
|
|
398
|
-
"snapshot" in t || (this.snapshot = new T()), "applied" in t || (this.applied = !1), "uncertain" in t || (this.uncertain = !1), "message" in t || (this.message = ""), Object.assign(this, t);
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* Creates a new CommitResult instance from a string or object.
|
|
402
|
-
*/
|
|
403
|
-
static createFrom(t = {}) {
|
|
404
|
-
const n = Cn;
|
|
405
|
-
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
406
|
-
return "snapshot" in s && (s.snapshot = n(s.snapshot)), new L(s);
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
class G {
|
|
410
|
-
kind;
|
|
411
|
-
pluginId;
|
|
412
|
-
/** Creates a new Scope instance. */
|
|
413
|
-
constructor(t = {}) {
|
|
414
|
-
"kind" in t || (this.kind = ""), Object.assign(this, t);
|
|
415
|
-
}
|
|
416
|
-
/**
|
|
417
|
-
* Creates a new Scope instance from a string or object.
|
|
418
|
-
*/
|
|
419
|
-
static createFrom(t = {}) {
|
|
420
|
-
let n = typeof t == "string" ? JSON.parse(t) : t;
|
|
421
|
-
return new G(n);
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
class T {
|
|
425
|
-
scope;
|
|
426
|
-
categories;
|
|
427
|
-
/** Creates a new Snapshot instance. */
|
|
428
|
-
constructor(t = {}) {
|
|
429
|
-
"scope" in t || (this.scope = new G()), "categories" in t || (this.categories = {}), Object.assign(this, t);
|
|
430
|
-
}
|
|
431
|
-
/**
|
|
432
|
-
* Creates a new Snapshot instance from a string or object.
|
|
433
|
-
*/
|
|
434
|
-
static createFrom(t = {}) {
|
|
435
|
-
const n = vn, s = P;
|
|
436
|
-
let u = typeof t == "string" ? JSON.parse(t) : t;
|
|
437
|
-
return "scope" in u && (u.scope = n(u.scope)), "categories" in u && (u.categories = s(u.categories)), new T(u);
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
const Cn = T.createFrom, vn = G.createFrom;
|
|
441
|
-
var P = function e(...t) {
|
|
442
|
-
return P === e && (P = On), P(...t);
|
|
443
|
-
};
|
|
444
|
-
const Fn = le.createFrom, On = S(p, Fn);
|
|
445
|
-
function _n(e, t) {
|
|
446
|
-
return r(1766083910, e, t).then((n) => Ln(n));
|
|
447
|
-
}
|
|
448
|
-
function An(e) {
|
|
449
|
-
return r(3969198041, e).then((t) => kn(t));
|
|
450
|
-
}
|
|
451
|
-
function jn(e, t, n) {
|
|
452
|
-
return r(3964153809, e, t, n).then((s) => En(s));
|
|
453
|
-
}
|
|
454
|
-
const Ln = L.createFrom, kn = T.createFrom, En = fe.createFrom, Cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
455
|
-
__proto__: null,
|
|
456
|
-
Commit: _n,
|
|
457
|
-
GetSnapshot: An,
|
|
458
|
-
Validate: jn
|
|
459
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
460
|
-
function Mn(e) {
|
|
461
|
-
return r(2106300110, e).then((t) => Hn(t));
|
|
462
|
-
}
|
|
463
|
-
function Nn(e) {
|
|
464
|
-
return r(765209827, e).then((t) => Jn(t));
|
|
465
|
-
}
|
|
466
|
-
function Wn(e) {
|
|
467
|
-
return r(2355436169, e).then((t) => K(t));
|
|
468
|
-
}
|
|
469
|
-
const D = pe.createFrom, K = a(D), Hn = S(p, K), Jn = y(D), vr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
470
|
-
__proto__: null,
|
|
471
|
-
GetPluginComponents: Mn,
|
|
472
|
-
GetResourceAreaComponent: Nn,
|
|
473
|
-
GetResourceComponents: Wn
|
|
474
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
475
|
-
function zn(e) {
|
|
476
|
-
return r(2776241946, e);
|
|
477
|
-
}
|
|
478
|
-
function Bn(e) {
|
|
479
|
-
return r(1474987050, e).then((t) => k(t));
|
|
480
|
-
}
|
|
481
|
-
function Un(e) {
|
|
482
|
-
return r(3156347865, e).then((t) => Xn(t));
|
|
483
|
-
}
|
|
484
|
-
function qn(e) {
|
|
485
|
-
return r(1444002509, e);
|
|
486
|
-
}
|
|
487
|
-
function xn() {
|
|
488
|
-
return r(3104582886).then((e) => Yn(e));
|
|
489
|
-
}
|
|
490
|
-
function In() {
|
|
491
|
-
return r(2249742267).then((e) => Zn(e));
|
|
492
|
-
}
|
|
493
|
-
function Qn(e, t) {
|
|
494
|
-
return r(1212190993, e, t);
|
|
495
|
-
}
|
|
496
|
-
function Vn(e, t) {
|
|
497
|
-
return r(2177127885, e, t).then((n) => k(n));
|
|
498
|
-
}
|
|
499
|
-
const Dn = he.createFrom, k = y(Dn), Kn = ge.createFrom, Xn = a(Kn), Yn = a(p), Zn = a(k);
|
|
500
|
-
function er(e, t, n) {
|
|
501
|
-
return h("github.com/omniviewdev/omniview/backend/pkg/plugin/logs.ServiceWrapper.CreateSession", e, t, g(n, [e, t]));
|
|
502
|
-
}
|
|
503
|
-
const Fr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
504
|
-
__proto__: null,
|
|
505
|
-
CloseSession: zn,
|
|
506
|
-
CreateSession: er,
|
|
507
|
-
GetSession: Bn,
|
|
508
|
-
GetSupportedResources: Un,
|
|
509
|
-
HasPlugin: qn,
|
|
510
|
-
ListPlugins: xn,
|
|
511
|
-
ListSessions: In,
|
|
512
|
-
SendCommand: Qn,
|
|
513
|
-
UpdateSessionOptions: Vn
|
|
514
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
515
|
-
class E {
|
|
516
|
-
plugin_id;
|
|
517
|
-
provider_id;
|
|
518
|
-
name;
|
|
519
|
-
icon;
|
|
520
|
-
description;
|
|
521
|
-
handlers;
|
|
522
|
-
/** Creates a new MetricProviderSummary instance. */
|
|
523
|
-
constructor(t = {}) {
|
|
524
|
-
"plugin_id" in t || (this.plugin_id = ""), "provider_id" in t || (this.provider_id = ""), "name" in t || (this.name = ""), "icon" in t || (this.icon = ""), "description" in t || (this.description = ""), "handlers" in t || (this.handlers = []), Object.assign(this, t);
|
|
525
|
-
}
|
|
526
|
-
/**
|
|
527
|
-
* Creates a new MetricProviderSummary instance from a string or object.
|
|
528
|
-
*/
|
|
529
|
-
static createFrom(t = {}) {
|
|
530
|
-
const n = nr;
|
|
531
|
-
let s = typeof t == "string" ? JSON.parse(t) : t;
|
|
532
|
-
return "handlers" in s && (s.handlers = n(s.handlers)), new E(s);
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
const tr = de.createFrom, nr = a(tr);
|
|
536
|
-
function rr() {
|
|
537
|
-
return r(3919346639).then((e) => X(e));
|
|
538
|
-
}
|
|
539
|
-
function or(e) {
|
|
540
|
-
return r(3953821778, e).then((t) => X(t));
|
|
541
|
-
}
|
|
542
|
-
function sr(e) {
|
|
543
|
-
return r(1815388456, e);
|
|
544
|
-
}
|
|
545
|
-
function ir() {
|
|
546
|
-
return r(2730149903).then((e) => ur(e));
|
|
547
|
-
}
|
|
548
|
-
function cr(e) {
|
|
549
|
-
return r(3994236150, e);
|
|
550
|
-
}
|
|
551
|
-
const ar = E.createFrom, X = a(ar), ur = a(p);
|
|
552
|
-
$e.createFrom;
|
|
553
|
-
const M = "github.com/omniviewdev/omniview/backend/pkg/plugin/metric.ServiceWrapper";
|
|
554
|
-
function lr(e, t, n) {
|
|
555
|
-
return h(`${M}.Query`, e, t, g(n, [e, t]));
|
|
556
|
-
}
|
|
557
|
-
function fr(e, t) {
|
|
558
|
-
return h(`${M}.QueryAll`, e, g(t, [e]));
|
|
559
|
-
}
|
|
560
|
-
function pr(e, t, n) {
|
|
561
|
-
return h(`${M}.Subscribe`, e, t, g(n, [e, t]));
|
|
562
|
-
}
|
|
563
|
-
const Or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
564
|
-
__proto__: null,
|
|
565
|
-
GetProviders: rr,
|
|
566
|
-
GetProvidersForResource: or,
|
|
567
|
-
HasPlugin: sr,
|
|
568
|
-
ListPlugins: ir,
|
|
569
|
-
Query: lr,
|
|
570
|
-
QueryAll: fr,
|
|
571
|
-
Subscribe: pr,
|
|
572
|
-
Unsubscribe: cr
|
|
573
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
574
|
-
function hr(e, t) {
|
|
575
|
-
return r(3653639550, e, t);
|
|
576
|
-
}
|
|
577
|
-
function gr(e, t) {
|
|
578
|
-
return r(851823419, e, t);
|
|
579
|
-
}
|
|
580
|
-
function dr(e) {
|
|
581
|
-
return r(2991415449, e).then((t) => yr(t));
|
|
582
|
-
}
|
|
583
|
-
function $r(e, t, n) {
|
|
584
|
-
return r(2695679023, e, t, n);
|
|
585
|
-
}
|
|
586
|
-
const yr = a(p), _r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
587
|
-
__proto__: null,
|
|
588
|
-
Delete: hr,
|
|
589
|
-
Get: gr,
|
|
590
|
-
Keys: dr,
|
|
591
|
-
Set: $r
|
|
592
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
593
|
-
export {
|
|
594
|
-
zt as $,
|
|
595
|
-
Wt as A,
|
|
596
|
-
gr as B,
|
|
597
|
-
_n as C,
|
|
598
|
-
$r as D,
|
|
599
|
-
Ee as E,
|
|
600
|
-
er as F,
|
|
601
|
-
An as G,
|
|
602
|
-
zn as H,
|
|
603
|
-
Xt as I,
|
|
604
|
-
rr as J,
|
|
605
|
-
or as K,
|
|
606
|
-
Ft as L,
|
|
607
|
-
pr as M,
|
|
608
|
-
ze as N,
|
|
609
|
-
Me as O,
|
|
610
|
-
Ne as P,
|
|
611
|
-
fr as Q,
|
|
612
|
-
Yt as R,
|
|
613
|
-
jt as S,
|
|
614
|
-
xe as T,
|
|
615
|
-
cr as U,
|
|
616
|
-
jn as V,
|
|
617
|
-
Ut as W,
|
|
618
|
-
Jt as X,
|
|
619
|
-
Nn as Y,
|
|
620
|
-
en as Z,
|
|
621
|
-
Bt as _,
|
|
622
|
-
Rr as a,
|
|
623
|
-
gn as a0,
|
|
624
|
-
Sn as a1,
|
|
625
|
-
dn as a2,
|
|
626
|
-
bn as a3,
|
|
627
|
-
an as a4,
|
|
628
|
-
qt as a5,
|
|
629
|
-
nn as a6,
|
|
630
|
-
Qt as a7,
|
|
631
|
-
fn as a8,
|
|
632
|
-
un as a9,
|
|
633
|
-
ln as aa,
|
|
634
|
-
Pn as ab,
|
|
635
|
-
wn as ac,
|
|
636
|
-
Gn as ad,
|
|
637
|
-
Cr as b,
|
|
638
|
-
wr as c,
|
|
639
|
-
vr as d,
|
|
640
|
-
Tr as e,
|
|
641
|
-
Ve as f,
|
|
642
|
-
Gr as g,
|
|
643
|
-
wt as h,
|
|
644
|
-
At as i,
|
|
645
|
-
Kt as j,
|
|
646
|
-
Zt as k,
|
|
647
|
-
Fr as l,
|
|
648
|
-
Or as m,
|
|
649
|
-
Pr as n,
|
|
650
|
-
Gt as o,
|
|
651
|
-
pn as p,
|
|
652
|
-
hn as q,
|
|
653
|
-
Tn as r,
|
|
654
|
-
_r as s,
|
|
655
|
-
Vt as t,
|
|
656
|
-
Ht as u,
|
|
657
|
-
xt as v,
|
|
658
|
-
lt as w,
|
|
659
|
-
vt as x,
|
|
660
|
-
Dt as y,
|
|
661
|
-
Nt as z
|
|
662
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./index-BVi9X4oU.cjs"),u=require("./models-NYvUa5Yc.cjs"),n=require("./calls-B-HP1Icv.cjs");function f(e,t=[]){let l=0;for(const c of t){if(c.length>65536)throw new RangeError("Request routing byte limit");l+=new TextEncoder().encode(JSON.stringify(c)).length+1}if(l>57344)throw new RangeError("Request routing byte limit");let _=0,N=2,Ye=0,j=0;const L=[],p=c=>{for(let y=0;y<c.length;y++){const a=c.charCodeAt(y);let h=a<128?1:a<2048?2:3;if(a>=55296&&a<=56319){const g=c.charCodeAt(++y);if(!(g>=56320&&g<=57343))throw new TypeError("Invalid Unicode");h=4}else if(a>=56320&&a<=57343)throw new TypeError("Invalid Unicode");if(_+=h,N+=a===34||a===92?2:h,_>33554432||N>67043328)throw new RangeError("Request JSON byte limit")}L.push(c)},M=c=>{if(c.length>33554432)throw new RangeError("Request JSON byte limit");for(let y=0;y<c.length;y++){const a=c.charCodeAt(y);if(a>=55296&&a<=56319){const h=c.charCodeAt(++y);if(!(h>=56320&&h<=57343))throw new TypeError("Invalid Unicode")}else if(a>=56320&&a<=57343)throw new TypeError("Invalid Unicode")}p(JSON.stringify(c))},R=(c,y)=>{if(++Ye>262144||y>64)throw new RangeError("Request JSON structural limit");if(c===null){p("null");return}if(typeof c=="string"){M(c);return}if(typeof c=="boolean"){p(c?"true":"false");return}if(typeof c=="number"){if(!Number.isFinite(c))throw new TypeError("Request numbers must be finite");p(Object.is(c,-0)?"-0":JSON.stringify(c));return}if(Array.isArray(c)){p("[");for(let a=0;a<c.length;a++){if(++j>1048576)throw new RangeError("Request JSON field limit");a&&p(","),R(c[a],y+1)}p("]");return}if(typeof c=="object"){p("{");let a=!0;for(const[h,g]of Object.entries(c))if(g!==void 0){if(++j>1048576)throw new RangeError("Request JSON field limit");a||p(","),a=!1,M(h),p(":"),R(g,y+1)}p("}");return}throw new TypeError("Unsupported request JSON value")};return R(e,0),L.join("")}function Ze(e){return n.ByID(93318075,e).then(t=>(t[0]=S(t[0]),t[1]=o.ByteSlice(t[1]),t))}function et(e){return n.ByID(1353297556,e)}function tt(e){return n.ByID(4182196712,e).then(t=>S(t))}function nt(e){return n.ByID(3993344525,e).then(t=>S(t))}function rt(e,t){return n.ByID(1779192716,e,t).then(r=>ft(r))}function ot(){return n.ByID(4033362541).then(e=>ht(e))}function it(e){return n.ByID(2619212338,e).then(t=>k(t))}function st(e){return n.ByID(1371268636,e).then(t=>S(t))}function ct(e){return n.ByID(3881019319,e)}function at(){return n.ByID(3006426324).then(e=>dt(e))}function ut(){return n.ByID(265791345).then(e=>gt(e))}function lt(e,t,r){return n.ByID(1492965384,e,t,r)}function yt(e,t){return n.ByID(486465741,e,t)}const pt=u.Session.createFrom,S=o.Nullable(pt),E=u.Handler.createFrom,ft=o.Nullable(E),k=o.Map(o.Any,E),ht=o.Map(o.Any,k),dt=o.Array(o.Any),gt=o.Array(S);function W(e,t,r){return n.ByName("github.com/omniviewdev/omniview/backend/pkg/plugin/exec.ServiceWrapper.CreateSession",e,t,f(r,[e,t])).then(s=>s===null?null:u.Session.createFrom(s))}const St=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:Ze,CloseSession:et,CreateSession:W,CreateTerminal:tt,DetachSession:nt,GetHandler:rt,GetHandlers:ot,GetPluginHandlers:it,GetSession:st,HasPlugin:ct,ListPlugins:at,ListSessions:ut,ResizeSession:lt,WriteSession:yt},Symbol.toStringTag,{value:"Module"}));function H(e){return n.ByID(182596922,e).then(t=>C(t))}function J(e,t,r){return n.ByID(981100722,e,t,r).then(s=>I(s))}function $t(e){return n.ByID(2157304970,e).then(t=>C(t))}function mt(e){return n.ByID(650882,e).then(t=>U(t))}function bt(e){return n.ByID(3624690437,e)}function q(){return n.ByID(2195697754).then(e=>I(e))}function Bt(){return n.ByID(167463150).then(e=>U(e))}function Pt(e,t){return n.ByID(2090415403,e,t).then(r=>I(r))}const Rt=u.PortForwardSession.createFrom,C=o.Nullable(Rt),I=o.Array(C),U=o.Array(o.Any);function z(e,t,r){return n.ByName("github.com/omniviewdev/omniview/backend/pkg/plugin/networker.ServiceWrapper.StartResourcePortForwardingSession",e,t,f(r,[e,t]))}const Ct=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:H,FindPortForwardSessions:J,GetPortForwardSession:$t,GetSupportedPortForwardTargets:mt,HasPlugin:bt,ListAllPortForwardSessions:q,ListPlugins:Bt,ListPortForwardSessions:Pt,StartResourcePortForwardingSession:z},Symbol.toStringTag,{value:"Module"}));class D{pluginID;running;url;error;supported;pid;constructor(t={}){"pluginID"in t||(this.pluginID=""),"running"in t||(this.running=!1),"url"in t||(this.url=""),"error"in t||(this.error=""),"supported"in t||(this.supported=!1),"pid"in t||(this.pid=0),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new D(r)}}function It(e){return n.ByID(3150413499,e).then(t=>d(t))}function Dt(e){return n.ByID(1152913314,e).then(t=>zt(t))}function x(e){return n.ByID(111194374,e).then(t=>T(t))}function Tt(){return n.ByID(1083754477).then(e=>Qt(e))}function Gt(e){return n.ByID(3945933305,e)}function wt(e){return n.ByID(2859775056,e).then(t=>V(t))}function At(e,t){return n.ByID(2209599792,e,t).then(r=>Xt(r))}function vt(e){return n.ByID(3963363730,e).then(t=>V(t))}function Ft(e){return n.ByID(1357029266,e).then(t=>d(t))}function Ot(){return n.ByID(2477486666).then(e=>b(e))}function _t(){return n.ByID(976517756).then(e=>b(e))}function Nt(e){return n.ByID(1020548995,e).then(t=>b(t))}function jt(e,t){return n.ByID(2004740384,e,t).then(r=>b(r))}function Lt(){return n.ByID(873697101).then(e=>K(e))}function Mt(){return n.ByID(637134283).then(e=>Zt(e))}function Et(){return n.ByID(550607756).then(e=>en(e))}function kt(e,t){return n.ByID(288660195,e,t).then(r=>d(r))}function Wt(e){return n.ByID(1771013494,e).then(t=>d(t))}function Q(e){return n.ByID(2433379724,e).then(t=>d(t))}function Ht(e,t,r){return n.ByID(2783597264,e,t,r).then(s=>K(s))}function Jt(e){return n.ByID(1369550929,e).then(t=>d(t))}function qt(e){return n.ByID(3828800061,e).then(t=>d(t))}const d=u.PluginInfo.createFrom,Ut=u.DownloadStats.createFrom,zt=o.Nullable(Ut),T=u.PluginMeta.createFrom,xt=D.createFrom,Qt=o.Array(xt),Vt=u.VersionInfo.createFrom,V=o.Array(Vt),Kt=u.Review.createFrom,Xt=o.Array(Kt),b=o.Nullable(T),Yt=u.AvailablePlugin.createFrom,K=o.Array(Yt),Zt=o.Array(T),en=o.Array(d),tn=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:It,GetPluginDownloadStats:Dt,GetPluginMeta:x,GetPluginProfilingStatuses:Tt,GetPluginReadme:Gt,GetPluginReleaseHistory:wt,GetPluginReviews:At,GetPluginVersions:vt,InstallDevPluginFromPath:Ft,InstallFromPathPrompt:Ot,InstallInDevMode:_t,InstallPluginFromPath:Nt,InstallPluginVersion:jt,ListAvailablePlugins:Lt,ListPluginMetas:Mt,ListPlugins:Et,LoadPlugin:kt,ReloadPlugin:Wt,RetryFailedPlugin:Q,SearchPlugins:Ht,UninstallPlugin:Jt,UnlinkDevPlugin:qt},Symbol.toStringTag,{value:"Module"}));function X(e,t){return n.ByID(1688967279,e,t).then(r=>re(r))}function Y(e,t){return n.ByID(950535743,e,t).then(r=>G(r))}function nn(e){return n.ByID(854008408,e)}function Z(){return n.ByID(1598984489).then(e=>sn(e))}function ee(e){return n.ByID(1775572154,e).then(t=>w(t))}function rn(){return n.ByID(3217612415).then(e=>cn(e))}function on(e){return n.ByID(2037329938,e).then(t=>w(t))}function te(e,t){return n.ByID(3276991559,e,t).then(r=>re(r))}function ne(e,t){return n.ByID(794258089,e,t).then(r=>G(r))}const re=u.ConnectionStatus.createFrom,G=u.Connection.createFrom,w=o.Array(G),sn=o.Map(o.Any,w),cn=o.Array(o.Any),an="github.com/omniviewdev/omniview/backend/pkg/plugin/resource.ServiceWrapper";function i(e,...t){return n.ByName(`${an}.${e}`,...t)}const un=e=>i("Features",e),oe=(e,t)=>i("GetConnectionMetadata",e,t),ie=(e,t)=>i("RefreshConnectionMetadata",e,t),se=(e,t)=>i("Catalog",e,t),ce=(e,t)=>i("Get",e,t),ae=(e,t)=>i("Enumerate",e,t),ue=(e,t)=>i("NativeQuery",e,f(t,[e])),le=(e,t)=>i("Mutate",e,f(t,[e])),ye=(e,t)=>i("Action",e,f(t,[e])),pe=(e,t)=>i("ResolveTarget",e,t),ln=(e,t)=>i("ResolveReference",e,t),fe=(e,t,r)=>i("GetSchemaDocument",e,t,r),he=()=>i("GetAllConnectionStates"),de=e=>i("ListConnectionProfiles",e),ge=(e,t)=>i("SaveConnectionProfile",e,t),Se=(e,t)=>i("ImportConnectionProfile",e,t),$e=(e,t)=>i("ResetConnectionProfile",e,t),me=(e,t)=>i("RemoveConnection",e,t),be=(e,t)=>i("GetResourceGroups",e,t),yn=(e,t,r)=>i("GetResourceDefinition",e,t,r),Be=(e,t)=>i("GetEditorSchemas",e,t),pn=(e,t,r)=>i("GetRelationships",e,t,r),fn=(e,t)=>i("ResolveRelationships",e,t),hn=(e,t,r)=>i("GetHealth",e,f({request:t,body:r},[e])),dn=(e,t,r)=>i("GetResourceEvents",e,t,r),Pe=(e,t,r)=>i("GetActions",e,t,r),Re=(e,t)=>i("StreamAction",e,f(t,[e])),Ce=e=>i("AttachStreamAction",e),Ie=e=>i("CancelStreamAction",e),De=(e,t)=>i("StartConnectionWatch",e,t),Te=(e,t)=>i("StopConnectionWatch",e,t),Ge=(e,t)=>i("GetWatchState",e,t),we=(e,t)=>i("EnsureResourceWatch",e,t),gn=(e,t,r)=>i("StopResourceWatch",e,t,r),Sn=(e,t)=>i("RestartResourceWatch",e,t),$n=(e,t,r)=>i("IsResourceWatchRunning",e,t,r),Ae=(e,t)=>i("SubscribeResource",e,t),ve=(e,t)=>i("UnsubscribeResource",e,t),Fe=(e,t,r)=>i("ScopeValues",e,t,r),mn=Object.freeze(Object.defineProperty({__proto__:null,Action:ye,AttachStreamAction:Ce,CancelStreamAction:Ie,Catalog:se,CheckConnection:X,EnsureResourceWatch:we,Enumerate:ae,Features:un,Get:ce,GetActions:Pe,GetAllConnectionStates:he,GetConnection:Y,GetConnectionMetadata:oe,GetEditorSchemas:Be,GetHealth:hn,GetRelationships:pn,GetResourceDefinition:yn,GetResourceEvents:dn,GetResourceGroups:be,GetSchemaDocument:fe,GetWatchState:Ge,HasPlugin:nn,ImportConnectionProfile:Se,IsResourceWatchRunning:$n,ListAllConnections:Z,ListConnectionProfiles:de,ListConnections:ee,ListPlugins:rn,LoadConnections:on,Mutate:le,NativeQuery:ue,RefreshConnectionMetadata:ie,RemoveConnection:me,ResetConnectionProfile:$e,ResolveReference:ln,ResolveRelationships:fn,ResolveTarget:pe,RestartResourceWatch:Sn,SaveConnectionProfile:ge,ScopeValues:Fe,StartConnection:te,StartConnectionWatch:De,StopConnection:ne,StopConnectionWatch:Te,StopResourceWatch:gn,StreamAction:Re,SubscribeResource:Ae,UnsubscribeResource:ve},Symbol.toStringTag,{value:"Module"})),B="github.com/omniviewdev/omniview/backend/pkg/plugin/resource.GraphService";function Oe(e,t,r,s,l){return n.ByName(`${B}.GetRelated`,e,t,r,s,l)}function bn(e,t,r,s,l){return n.ByName(`${B}.GetRelationshipChain`,e,t,r,s,l)}function _e(e,t,r,s){return n.ByName(`${B}.GetDependencyTree`,e,t,r,s)}function Ne(e,t,r,s,l){return n.ByName(`${B}.GetSubgraph`,e,t,r,s,l)}const Bn=Object.freeze(Object.defineProperty({__proto__:null,GetDependencyTree:_e,GetRelated:Oe,GetRelationshipChain:bn,GetSubgraph:Ne},Symbol.toStringTag,{value:"Module"}));class A{snapshot;applied;uncertain;message;constructor(t={}){"snapshot"in t||(this.snapshot=new $),"applied"in t||(this.applied=!1),"uncertain"in t||(this.uncertain=!1),"message"in t||(this.message=""),Object.assign(this,t)}static createFrom(t={}){const r=Pn;let s=typeof t=="string"?JSON.parse(t):t;return"snapshot"in s&&(s.snapshot=r(s.snapshot)),new A(s)}}class P{kind;pluginId;constructor(t={}){"kind"in t||(this.kind=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new P(r)}}class ${scope;categories;constructor(t={}){"scope"in t||(this.scope=new P),"categories"in t||(this.categories={}),Object.assign(this,t)}static createFrom(t={}){const r=Rn,s=m;let l=typeof t=="string"?JSON.parse(t):t;return"scope"in l&&(l.scope=r(l.scope)),"categories"in l&&(l.categories=s(l.categories)),new $(l)}}const Pn=$.createFrom,Rn=P.createFrom;var m=function e(...t){return m===e&&(m=In),m(...t)};const Cn=u.Category.createFrom,In=o.Map(o.Any,Cn);function je(e,t){return n.ByID(1766083910,e,t).then(r=>Dn(r))}function Le(e){return n.ByID(3969198041,e).then(t=>Tn(t))}function Me(e,t,r){return n.ByID(3964153809,e,t,r).then(s=>Gn(s))}const Dn=A.createFrom,Tn=$.createFrom,Gn=u.ValidationResult.createFrom,wn=Object.freeze(Object.defineProperty({__proto__:null,Commit:je,GetSnapshot:Le,Validate:Me},Symbol.toStringTag,{value:"Module"}));function An(e){return n.ByID(2106300110,e).then(t=>Fn(t))}function Ee(e){return n.ByID(765209827,e).then(t=>On(t))}function vn(e){return n.ByID(2355436169,e).then(t=>We(t))}const ke=u.ResourceComponent.createFrom,We=o.Array(ke),Fn=o.Map(o.Any,We),On=o.Nullable(ke),_n=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:An,GetResourceAreaComponent:Ee,GetResourceComponents:vn},Symbol.toStringTag,{value:"Module"}));function He(e){return n.ByID(2776241946,e)}function Nn(e){return n.ByID(1474987050,e).then(t=>v(t))}function jn(e){return n.ByID(3156347865,e).then(t=>qn(t))}function Ln(e){return n.ByID(1444002509,e)}function Mn(){return n.ByID(3104582886).then(e=>Un(e))}function En(){return n.ByID(2249742267).then(e=>zn(e))}function kn(e,t){return n.ByID(1212190993,e,t)}function Wn(e,t){return n.ByID(2177127885,e,t).then(r=>v(r))}const Hn=u.LogSession.createFrom,v=o.Nullable(Hn),Jn=u.Handler$1.createFrom,qn=o.Array(Jn),Un=o.Array(o.Any),zn=o.Array(v);function Je(e,t,r){return n.ByName("github.com/omniviewdev/omniview/backend/pkg/plugin/logs.ServiceWrapper.CreateSession",e,t,f(r,[e,t]))}const xn=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:He,CreateSession:Je,GetSession:Nn,GetSupportedResources:jn,HasPlugin:Ln,ListPlugins:Mn,ListSessions:En,SendCommand:kn,UpdateSessionOptions:Wn},Symbol.toStringTag,{value:"Module"}));class F{plugin_id;provider_id;name;icon;description;handlers;constructor(t={}){"plugin_id"in t||(this.plugin_id=""),"provider_id"in t||(this.provider_id=""),"name"in t||(this.name=""),"icon"in t||(this.icon=""),"description"in t||(this.description=""),"handlers"in t||(this.handlers=[]),Object.assign(this,t)}static createFrom(t={}){const r=Vn;let s=typeof t=="string"?JSON.parse(t):t;return"handlers"in s&&(s.handlers=r(s.handlers)),new F(s)}}const Qn=u.Handler$2.createFrom,Vn=o.Array(Qn);function qe(){return n.ByID(3919346639).then(e=>xe(e))}function Ue(e){return n.ByID(3953821778,e).then(t=>xe(t))}function Kn(e){return n.ByID(1815388456,e)}function Xn(){return n.ByID(2730149903).then(e=>Zn(e))}function ze(e){return n.ByID(3994236150,e)}const Yn=F.createFrom,xe=o.Array(Yn),Zn=o.Array(o.Any);u.QueryResponse.createFrom;const O="github.com/omniviewdev/omniview/backend/pkg/plugin/metric.ServiceWrapper";function er(e,t,r){return n.ByName(`${O}.Query`,e,t,f(r,[e,t]))}function Qe(e,t){return n.ByName(`${O}.QueryAll`,e,f(t,[e]))}function Ve(e,t,r){return n.ByName(`${O}.Subscribe`,e,t,f(r,[e,t]))}const tr=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:qe,GetProvidersForResource:Ue,HasPlugin:Kn,ListPlugins:Xn,Query:er,QueryAll:Qe,Subscribe:Ve,Unsubscribe:ze},Symbol.toStringTag,{value:"Module"}));function nr(e,t){return n.ByID(3653639550,e,t)}function Ke(e,t){return n.ByID(851823419,e,t)}function rr(e){return n.ByID(2991415449,e).then(t=>or(t))}function Xe(e,t,r){return n.ByID(2695679023,e,t,r)}const or=o.Array(o.Any),ir=Object.freeze(Object.defineProperty({__proto__:null,Delete:nr,Get:Ke,Keys:rr,Set:Xe},Symbol.toStringTag,{value:"Module"}));exports.Action=ye;exports.AttachStreamAction=Ce;exports.CancelStreamAction=Ie;exports.Catalog=se;exports.CheckConnection=X;exports.ClosePortForwardSession=H;exports.CloseSession=He;exports.Commit=je;exports.CreateSession=W;exports.CreateSession$1=Je;exports.EnsureResourceWatch=we;exports.Enumerate=ae;exports.FindPortForwardSessions=J;exports.Get=Ke;exports.Get$1=ce;exports.GetActions=Pe;exports.GetAllConnectionStates=he;exports.GetConnection=Y;exports.GetConnectionMetadata=oe;exports.GetDependencyTree=_e;exports.GetEditorSchemas=Be;exports.GetPluginMeta=x;exports.GetProviders=qe;exports.GetProvidersForResource=Ue;exports.GetRelated=Oe;exports.GetResourceAreaComponent=Ee;exports.GetResourceGroups=be;exports.GetSchemaDocument=fe;exports.GetSnapshot=Le;exports.GetSubgraph=Ne;exports.GetWatchState=Ge;exports.ImportConnectionProfile=Se;exports.ListAllConnections=Z;exports.ListAllPortForwardSessions=q;exports.ListConnectionProfiles=de;exports.ListConnections=ee;exports.Mutate=le;exports.NativeQuery=ue;exports.QueryAll=Qe;exports.RefreshConnectionMetadata=ie;exports.RemoveConnection=me;exports.ResetConnectionProfile=$e;exports.ResolveTarget=pe;exports.RetryFailedPlugin=Q;exports.SaveConnectionProfile=ge;exports.ScopeValues=Fe;exports.Set=Xe;exports.StartConnection=te;exports.StartConnectionWatch=De;exports.StartResourcePortForwardingSession=z;exports.StopConnection=ne;exports.StopConnectionWatch=Te;exports.StreamAction=Re;exports.Subscribe=Ve;exports.SubscribeResource=Ae;exports.Unsubscribe=ze;exports.UnsubscribeResource=ve;exports.Validate=Me;exports.binding=wn;exports.client=mn;exports.exec=St;exports.graphClient=Bn;exports.logs=xn;exports.metric=tr;exports.networker=Ct;exports.servicewrapper=ir;exports.servicewrapper$1=tn;exports.servicewrapper$2=_n;
|