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