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