@omniviewdev/runtime 0.11.0 → 0.13.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 +1 -1
- package/dist/bindings/events/index.d.ts +4 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +20 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/index.d.ts +2 -2
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/models.d.ts +47 -1
- package/dist/connection/metadata.d.ts +42 -0
- package/dist/hooks/connection/index.d.ts +2 -0
- package/dist/hooks/connection/useConnectionMetadata.d.ts +16 -0
- package/dist/hooks/resource/useEventBatcher.d.ts +4 -3
- package/dist/hooks/resource/useResources.d.ts +6 -4
- package/dist/index.cjs +4 -4
- package/dist/index.js +2488 -2262
- package/dist/resource/v2/client.d.ts +3 -0
- package/dist/{servicewrapper-Bda7yi8z.js → servicewrapper-BhxHs5DR.js} +283 -279
- package/dist/servicewrapper-CNtZecKV.cjs +1 -0
- package/package.json +3 -3
- package/dist/servicewrapper-BOM6A8IG.cjs +0 -1
|
@@ -8,8 +8,8 @@ function p(e, t = []) {
|
|
|
8
8
|
h += new TextEncoder().encode(JSON.stringify(i)).length + 1;
|
|
9
9
|
}
|
|
10
10
|
if (h > 57344) throw new RangeError("Request routing byte limit");
|
|
11
|
-
let
|
|
12
|
-
const
|
|
11
|
+
let M = 0, E = 2, ee = 0, H = 0;
|
|
12
|
+
const W = [], f = (i) => {
|
|
13
13
|
for (let l = 0; l < i.length; l++) {
|
|
14
14
|
const u = i.charCodeAt(l);
|
|
15
15
|
let g = u < 128 ? 1 : u < 2048 ? 2 : 3;
|
|
@@ -18,10 +18,10 @@ function p(e, t = []) {
|
|
|
18
18
|
if (!(m >= 56320 && m <= 57343)) throw new TypeError("Invalid Unicode");
|
|
19
19
|
g = 4;
|
|
20
20
|
} else if (u >= 56320 && u <= 57343) throw new TypeError("Invalid Unicode");
|
|
21
|
-
if (
|
|
21
|
+
if (M += g, E += u === 34 || u === 92 ? 2 : g, M > 33554432 || E > 67043328) throw new RangeError("Request JSON byte limit");
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
},
|
|
23
|
+
W.push(i);
|
|
24
|
+
}, k = (i) => {
|
|
25
25
|
if (i.length > 33554432) throw new RangeError("Request JSON byte limit");
|
|
26
26
|
for (let l = 0; l < i.length; l++) {
|
|
27
27
|
const u = i.charCodeAt(l);
|
|
@@ -38,7 +38,7 @@ function p(e, t = []) {
|
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
40
40
|
if (typeof i == "string") {
|
|
41
|
-
|
|
41
|
+
k(i);
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
44
|
if (typeof i == "boolean") {
|
|
@@ -53,7 +53,7 @@ function p(e, t = []) {
|
|
|
53
53
|
if (Array.isArray(i)) {
|
|
54
54
|
f("[");
|
|
55
55
|
for (let u = 0; u < i.length; u++) {
|
|
56
|
-
if (++
|
|
56
|
+
if (++H > 1048576) throw new RangeError("Request JSON field limit");
|
|
57
57
|
u && f(","), G(i[u], l + 1);
|
|
58
58
|
}
|
|
59
59
|
f("]");
|
|
@@ -64,15 +64,15 @@ function p(e, t = []) {
|
|
|
64
64
|
let u = !0;
|
|
65
65
|
for (const [g, m] of Object.entries(i))
|
|
66
66
|
if (m !== void 0) {
|
|
67
|
-
if (++
|
|
68
|
-
u || f(","), u = !1,
|
|
67
|
+
if (++H > 1048576) throw new RangeError("Request JSON field limit");
|
|
68
|
+
u || f(","), u = !1, k(g), f(":"), G(m, l + 1);
|
|
69
69
|
}
|
|
70
70
|
f("}");
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
73
|
throw new TypeError("Unsupported request JSON value");
|
|
74
74
|
};
|
|
75
|
-
return G(e, 0),
|
|
75
|
+
return G(e, 0), W.join("");
|
|
76
76
|
}
|
|
77
77
|
function de(e) {
|
|
78
78
|
return n(93318075, e).then((t) => (t[0] = T(t[0]), t[1] = te(t[1]), t));
|
|
@@ -95,17 +95,17 @@ function Re() {
|
|
|
95
95
|
function Ge(e) {
|
|
96
96
|
return n(2619212338, e).then((t) => J(t));
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Ce(e) {
|
|
99
99
|
return n(1371268636, e).then((t) => T(t));
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function ve(e) {
|
|
102
102
|
return n(3881019319, e);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return n(3006426324).then((e) =>
|
|
104
|
+
function we() {
|
|
105
|
+
return n(3006426324).then((e) => Me(e));
|
|
106
106
|
}
|
|
107
107
|
function _e() {
|
|
108
|
-
return n(265791345).then((e) =>
|
|
108
|
+
return n(265791345).then((e) => Ee(e));
|
|
109
109
|
}
|
|
110
110
|
function Fe(e, t, r) {
|
|
111
111
|
return n(1492965384, e, t, r);
|
|
@@ -113,35 +113,35 @@ function Fe(e, t, r) {
|
|
|
113
113
|
function Oe(e, t) {
|
|
114
114
|
return n(486465741, e, t);
|
|
115
115
|
}
|
|
116
|
-
const Ae = N.createFrom, T = d(Ae), B = ne.createFrom, Le = d(B), J = S(a, B), je = S(a, J),
|
|
117
|
-
function
|
|
116
|
+
const Ae = N.createFrom, T = d(Ae), B = ne.createFrom, Le = d(B), J = S(a, B), je = S(a, J), Me = s(a), Ee = s(T);
|
|
117
|
+
function He(e, t, r) {
|
|
118
118
|
return $("github.com/omniviewdev/omniview/backend/pkg/plugin/exec.ServiceWrapper.CreateSession", e, t, p(r, [e, t])).then((c) => c === null ? null : N.createFrom(c));
|
|
119
119
|
}
|
|
120
|
-
const
|
|
120
|
+
const xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
121
121
|
__proto__: null,
|
|
122
122
|
AttachSession: de,
|
|
123
123
|
CloseSession: me,
|
|
124
|
-
CreateSession:
|
|
124
|
+
CreateSession: He,
|
|
125
125
|
CreateTerminal: Te,
|
|
126
126
|
DetachSession: Pe,
|
|
127
127
|
GetHandler: be,
|
|
128
128
|
GetHandlers: Re,
|
|
129
129
|
GetPluginHandlers: Ge,
|
|
130
|
-
GetSession:
|
|
131
|
-
HasPlugin:
|
|
132
|
-
ListPlugins:
|
|
130
|
+
GetSession: Ce,
|
|
131
|
+
HasPlugin: ve,
|
|
132
|
+
ListPlugins: we,
|
|
133
133
|
ListSessions: _e,
|
|
134
134
|
ResizeSession: Fe,
|
|
135
135
|
WriteSession: Oe
|
|
136
136
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
137
|
-
function
|
|
138
|
-
return n(182596922, e).then((t) =>
|
|
137
|
+
function We(e) {
|
|
138
|
+
return n(182596922, e).then((t) => C(t));
|
|
139
139
|
}
|
|
140
|
-
function
|
|
141
|
-
return n(981100722, e, t, r).then((c) =>
|
|
140
|
+
function ke(e, t, r) {
|
|
141
|
+
return n(981100722, e, t, r).then((c) => v(c));
|
|
142
142
|
}
|
|
143
143
|
function Ne(e) {
|
|
144
|
-
return n(2157304970, e).then((t) =>
|
|
144
|
+
return n(2157304970, e).then((t) => C(t));
|
|
145
145
|
}
|
|
146
146
|
function Ve(e) {
|
|
147
147
|
return n(650882, e).then((t) => U(t));
|
|
@@ -150,22 +150,22 @@ function ze(e) {
|
|
|
150
150
|
return n(3624690437, e);
|
|
151
151
|
}
|
|
152
152
|
function Be() {
|
|
153
|
-
return n(2195697754).then((e) =>
|
|
153
|
+
return n(2195697754).then((e) => v(e));
|
|
154
154
|
}
|
|
155
155
|
function Je() {
|
|
156
156
|
return n(167463150).then((e) => U(e));
|
|
157
157
|
}
|
|
158
158
|
function Ue(e, t) {
|
|
159
|
-
return n(2090415403, e, t).then((r) =>
|
|
159
|
+
return n(2090415403, e, t).then((r) => v(r));
|
|
160
160
|
}
|
|
161
|
-
const qe = re.createFrom,
|
|
161
|
+
const qe = re.createFrom, C = d(qe), v = s(C), U = s(a);
|
|
162
162
|
function xe(e, t, r) {
|
|
163
163
|
return $("github.com/omniviewdev/omniview/backend/pkg/plugin/networker.ServiceWrapper.StartResourcePortForwardingSession", e, t, p(r, [e, t]));
|
|
164
164
|
}
|
|
165
|
-
const
|
|
165
|
+
const Ir = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
166
166
|
__proto__: null,
|
|
167
|
-
ClosePortForwardSession:
|
|
168
|
-
FindPortForwardSessions:
|
|
167
|
+
ClosePortForwardSession: We,
|
|
168
|
+
FindPortForwardSessions: ke,
|
|
169
169
|
GetPortForwardSession: Ne,
|
|
170
170
|
GetSupportedPortForwardTargets: Ve,
|
|
171
171
|
HasPlugin: ze,
|
|
@@ -181,7 +181,7 @@ function Qe(e) {
|
|
|
181
181
|
return n(1152913314, e).then((t) => gt(t));
|
|
182
182
|
}
|
|
183
183
|
function De(e) {
|
|
184
|
-
return n(111194374, e).then((t) =>
|
|
184
|
+
return n(111194374, e).then((t) => w(t));
|
|
185
185
|
}
|
|
186
186
|
function Ke(e) {
|
|
187
187
|
return n(3945933305, e);
|
|
@@ -237,7 +237,7 @@ function $t(e) {
|
|
|
237
237
|
function pt(e) {
|
|
238
238
|
return n(3828800061, e).then((t) => y(t));
|
|
239
239
|
}
|
|
240
|
-
const y = oe.createFrom, ht = se.createFrom, gt = d(ht),
|
|
240
|
+
const y = oe.createFrom, ht = se.createFrom, gt = d(ht), w = ie.createFrom, St = ce.createFrom, q = s(St), yt = ue.createFrom, dt = s(yt), b = d(w), mt = ae.createFrom, x = s(mt), Tt = s(w), Pt = s(y), Qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
241
241
|
__proto__: null,
|
|
242
242
|
GetPlugin: Ie,
|
|
243
243
|
GetPluginDownloadStats: Qe,
|
|
@@ -270,13 +270,13 @@ function Rt(e, t) {
|
|
|
270
270
|
function Gt(e) {
|
|
271
271
|
return n(854008408, e);
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function Ct() {
|
|
274
274
|
return n(1598984489).then((e) => At(e));
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function vt(e) {
|
|
277
277
|
return n(1775572154, e).then((t) => F(t));
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function wt() {
|
|
280
280
|
return n(3217612415).then((e) => Lt(e));
|
|
281
281
|
}
|
|
282
282
|
function _t(e) {
|
|
@@ -292,249 +292,251 @@ const I = le.createFrom, _ = fe.createFrom, F = s(_), At = S(a, F), Lt = s(a), j
|
|
|
292
292
|
function o(e, ...t) {
|
|
293
293
|
return $(`${jt}.${e}`, ...t);
|
|
294
294
|
}
|
|
295
|
-
const
|
|
295
|
+
const Mt = (e) => o("Features", e), Et = (e, t) => o("GetConnectionMetadata", e, t), Ht = (e, t) => o("RefreshConnectionMetadata", e, t), Wt = (e, t) => o("Catalog", e, t), kt = (e, t) => o("Get", e, t), Nt = (e, t) => o("Enumerate", e, t), Vt = (e, t) => o("NativeQuery", e, p(t, [e])), zt = (e, t) => o("Mutate", e, p(t, [e])), Bt = (e, t) => o("Action", e, p(t, [e])), Jt = (e, t) => o("ResolveTarget", e, t), Ut = (e, t) => o("ResolveReference", e, t), qt = (e, t, r) => o("GetSchemaDocument", e, t, r), xt = () => o("GetAllConnectionStates"), It = (e) => o("ListConnectionProfiles", e), Qt = (e, t) => o("SaveConnectionProfile", e, t), Dt = (e, t) => o("ImportConnectionProfile", e, t), Kt = (e, t) => o("ResetConnectionProfile", e, t), Xt = (e, t) => o("RemoveConnection", e, t), Yt = (e, t) => o("GetResourceGroups", e, t), Zt = (e, t, r) => o("GetResourceDefinition", e, t, r), en = (e, t) => o("GetEditorSchemas", e, t), tn = (e, t, r) => o("GetRelationships", e, t, r), nn = (e, t) => o("ResolveRelationships", e, t), rn = (e, t, r) => o("GetHealth", e, p({
|
|
296
296
|
request: t,
|
|
297
297
|
body: r
|
|
298
|
-
}, [e])),
|
|
298
|
+
}, [e])), on = (e, t, r) => o("GetResourceEvents", e, t, r), sn = (e, t, r) => o("GetActions", e, t, r), cn = (e, t) => o("StreamAction", e, p(t, [e])), un = (e) => o("AttachStreamAction", e), an = (e) => o("CancelStreamAction", e), ln = (e, t) => o("StartConnectionWatch", e, t), fn = (e, t) => o("StopConnectionWatch", e, t), $n = (e, t) => o("GetWatchState", e, t), pn = (e, t) => o("EnsureResourceWatch", e, t), hn = (e, t, r) => o("StopResourceWatch", e, t, r), gn = (e, t) => o("RestartResourceWatch", e, t), Sn = (e, t, r) => o("IsResourceWatchRunning", e, t, r), yn = (e, t) => o("SubscribeResource", e, t), dn = (e, t) => o("UnsubscribeResource", e, t), mn = (e, t, r) => o("ScopeValues", e, t, r), Dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
299
299
|
__proto__: null,
|
|
300
|
-
Action:
|
|
301
|
-
AttachStreamAction:
|
|
302
|
-
CancelStreamAction:
|
|
303
|
-
Catalog:
|
|
300
|
+
Action: Bt,
|
|
301
|
+
AttachStreamAction: un,
|
|
302
|
+
CancelStreamAction: an,
|
|
303
|
+
Catalog: Wt,
|
|
304
304
|
CheckConnection: bt,
|
|
305
|
-
EnsureResourceWatch:
|
|
306
|
-
Enumerate:
|
|
307
|
-
Features:
|
|
308
|
-
Get:
|
|
309
|
-
GetActions:
|
|
310
|
-
GetAllConnectionStates:
|
|
305
|
+
EnsureResourceWatch: pn,
|
|
306
|
+
Enumerate: Nt,
|
|
307
|
+
Features: Mt,
|
|
308
|
+
Get: kt,
|
|
309
|
+
GetActions: sn,
|
|
310
|
+
GetAllConnectionStates: xt,
|
|
311
311
|
GetConnection: Rt,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
312
|
+
GetConnectionMetadata: Et,
|
|
313
|
+
GetEditorSchemas: en,
|
|
314
|
+
GetHealth: rn,
|
|
315
|
+
GetRelationships: tn,
|
|
316
|
+
GetResourceDefinition: Zt,
|
|
317
|
+
GetResourceEvents: on,
|
|
318
|
+
GetResourceGroups: Yt,
|
|
319
|
+
GetSchemaDocument: qt,
|
|
320
|
+
GetWatchState: $n,
|
|
320
321
|
HasPlugin: Gt,
|
|
321
|
-
ImportConnectionProfile:
|
|
322
|
-
IsResourceWatchRunning:
|
|
323
|
-
ListAllConnections:
|
|
324
|
-
ListConnectionProfiles:
|
|
325
|
-
ListConnections:
|
|
326
|
-
ListPlugins:
|
|
322
|
+
ImportConnectionProfile: Dt,
|
|
323
|
+
IsResourceWatchRunning: Sn,
|
|
324
|
+
ListAllConnections: Ct,
|
|
325
|
+
ListConnectionProfiles: It,
|
|
326
|
+
ListConnections: vt,
|
|
327
|
+
ListPlugins: wt,
|
|
327
328
|
LoadConnections: _t,
|
|
328
|
-
Mutate:
|
|
329
|
-
NativeQuery:
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
329
|
+
Mutate: zt,
|
|
330
|
+
NativeQuery: Vt,
|
|
331
|
+
RefreshConnectionMetadata: Ht,
|
|
332
|
+
RemoveConnection: Xt,
|
|
333
|
+
ResetConnectionProfile: Kt,
|
|
334
|
+
ResolveReference: Ut,
|
|
335
|
+
ResolveRelationships: nn,
|
|
336
|
+
ResolveTarget: Jt,
|
|
337
|
+
RestartResourceWatch: gn,
|
|
338
|
+
SaveConnectionProfile: Qt,
|
|
339
|
+
ScopeValues: mn,
|
|
338
340
|
StartConnection: Ft,
|
|
339
|
-
StartConnectionWatch:
|
|
341
|
+
StartConnectionWatch: ln,
|
|
340
342
|
StopConnection: Ot,
|
|
341
|
-
StopConnectionWatch:
|
|
342
|
-
StopResourceWatch:
|
|
343
|
-
StreamAction:
|
|
344
|
-
SubscribeResource:
|
|
345
|
-
UnsubscribeResource:
|
|
343
|
+
StopConnectionWatch: fn,
|
|
344
|
+
StopResourceWatch: hn,
|
|
345
|
+
StreamAction: cn,
|
|
346
|
+
SubscribeResource: yn,
|
|
347
|
+
UnsubscribeResource: dn
|
|
346
348
|
}, Symbol.toStringTag, { value: "Module" })), R = "github.com/omniviewdev/omniview/backend/pkg/plugin/resource.GraphService";
|
|
347
|
-
function
|
|
349
|
+
function Tn(e, t, r, c, h) {
|
|
348
350
|
return $(`${R}.GetRelated`, e, t, r, c, h);
|
|
349
351
|
}
|
|
350
|
-
function
|
|
352
|
+
function Pn(e, t, r, c, h) {
|
|
351
353
|
return $(`${R}.GetRelationshipChain`, e, t, r, c, h);
|
|
352
354
|
}
|
|
353
|
-
function
|
|
355
|
+
function bn(e, t, r, c) {
|
|
354
356
|
return $(`${R}.GetDependencyTree`, e, t, r, c);
|
|
355
357
|
}
|
|
356
|
-
function
|
|
358
|
+
function Rn(e, t, r, c, h) {
|
|
357
359
|
return $(`${R}.GetSubgraph`, e, t, r, c, h);
|
|
358
360
|
}
|
|
359
|
-
const
|
|
361
|
+
const Kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
360
362
|
__proto__: null,
|
|
361
|
-
GetDependencyTree:
|
|
362
|
-
GetRelated:
|
|
363
|
-
GetRelationshipChain:
|
|
364
|
-
GetSubgraph:
|
|
363
|
+
GetDependencyTree: bn,
|
|
364
|
+
GetRelated: Tn,
|
|
365
|
+
GetRelationshipChain: Pn,
|
|
366
|
+
GetSubgraph: Rn
|
|
365
367
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
366
|
-
function
|
|
368
|
+
function Gn(e, t) {
|
|
367
369
|
return n(3867104420, e, t).then((r) => Q(r));
|
|
368
370
|
}
|
|
369
|
-
function
|
|
371
|
+
function Cn(e) {
|
|
370
372
|
return n(3795411887, e);
|
|
371
373
|
}
|
|
372
|
-
function
|
|
373
|
-
return n(1053995964).then((e) =>
|
|
374
|
-
}
|
|
375
|
-
function vn(e) {
|
|
376
|
-
return n(3231741321, e).then((t) => Ln(t));
|
|
374
|
+
function vn() {
|
|
375
|
+
return n(1053995964).then((e) => jn(e));
|
|
377
376
|
}
|
|
378
377
|
function wn(e) {
|
|
378
|
+
return n(3231741321, e).then((t) => Mn(t));
|
|
379
|
+
}
|
|
380
|
+
function _n(e) {
|
|
379
381
|
return n(2597562645, e).then((t) => D(t));
|
|
380
382
|
}
|
|
381
|
-
function
|
|
383
|
+
function Fn(e, t, r) {
|
|
382
384
|
return n(1481837168, e, t, r);
|
|
383
385
|
}
|
|
384
|
-
function
|
|
386
|
+
function On(e, t) {
|
|
385
387
|
return n(230212281, e, t);
|
|
386
388
|
}
|
|
387
|
-
function
|
|
388
|
-
return n(1534017462, e, t, r).then((c) =>
|
|
389
|
+
function An(e, t, r) {
|
|
390
|
+
return n(1534017462, e, t, r).then((c) => En(c));
|
|
389
391
|
}
|
|
390
|
-
function
|
|
392
|
+
function Ln() {
|
|
391
393
|
return n(2408440370).then((e) => D(e));
|
|
392
394
|
}
|
|
393
|
-
const Q = V.createFrom,
|
|
395
|
+
const Q = V.createFrom, jn = s(a), Mn = S(a, Q), D = S(a, a), En = z.createFrom, Xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
394
396
|
__proto__: null,
|
|
395
|
-
GetSetting:
|
|
396
|
-
HasPlugin:
|
|
397
|
-
ListPlugins:
|
|
398
|
-
ListSettings:
|
|
399
|
-
PluginValues:
|
|
400
|
-
SetSetting:
|
|
401
|
-
SetSettings:
|
|
402
|
-
ValidateSetting:
|
|
403
|
-
Values:
|
|
397
|
+
GetSetting: Gn,
|
|
398
|
+
HasPlugin: Cn,
|
|
399
|
+
ListPlugins: vn,
|
|
400
|
+
ListSettings: wn,
|
|
401
|
+
PluginValues: _n,
|
|
402
|
+
SetSetting: Fn,
|
|
403
|
+
SetSettings: On,
|
|
404
|
+
ValidateSetting: An,
|
|
405
|
+
Values: Ln
|
|
404
406
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
405
|
-
function
|
|
407
|
+
function Hn(e) {
|
|
406
408
|
return n(122243240, e);
|
|
407
409
|
}
|
|
408
|
-
function
|
|
409
|
-
return n(269082212).then((e) =>
|
|
410
|
-
}
|
|
411
|
-
function Wn(e) {
|
|
412
|
-
return n(1421156656, e).then((t) => O(t));
|
|
410
|
+
function Wn() {
|
|
411
|
+
return n(269082212).then((e) => er(e));
|
|
413
412
|
}
|
|
414
413
|
function kn(e) {
|
|
415
|
-
return n(
|
|
416
|
-
}
|
|
417
|
-
function Mn(e) {
|
|
418
|
-
return n(1695819138, e);
|
|
414
|
+
return n(1421156656, e).then((t) => O(t));
|
|
419
415
|
}
|
|
420
416
|
function Nn(e) {
|
|
421
|
-
return n(
|
|
417
|
+
return n(3143996982, e).then((t) => K(t));
|
|
422
418
|
}
|
|
423
419
|
function Vn(e) {
|
|
424
|
-
return n(
|
|
420
|
+
return n(1695819138, e);
|
|
425
421
|
}
|
|
426
422
|
function zn(e) {
|
|
427
|
-
return n(
|
|
423
|
+
return n(1827194808, e).then((t) => tr(t));
|
|
428
424
|
}
|
|
429
425
|
function Bn(e) {
|
|
430
|
-
return n(
|
|
426
|
+
return n(72059321, e);
|
|
431
427
|
}
|
|
432
428
|
function Jn(e) {
|
|
433
|
-
return n(
|
|
429
|
+
return n(62418781, e).then((t) => nr(t));
|
|
434
430
|
}
|
|
435
431
|
function Un(e) {
|
|
436
|
-
return n(
|
|
432
|
+
return n(2222012564, e).then((t) => rr(t));
|
|
437
433
|
}
|
|
438
434
|
function qn(e) {
|
|
439
|
-
return n(
|
|
435
|
+
return n(2753368941, e);
|
|
436
|
+
}
|
|
437
|
+
function xn(e) {
|
|
438
|
+
return n(3825211425, e);
|
|
439
|
+
}
|
|
440
|
+
function In(e) {
|
|
441
|
+
return n(2121298005, e).then((t) => or(t));
|
|
440
442
|
}
|
|
441
|
-
function
|
|
443
|
+
function Qn() {
|
|
442
444
|
return n(3038957305).then((e) => P(e));
|
|
443
445
|
}
|
|
444
|
-
function
|
|
446
|
+
function Dn() {
|
|
445
447
|
return n(3369612893);
|
|
446
448
|
}
|
|
447
|
-
function
|
|
449
|
+
function Kn(e, t) {
|
|
448
450
|
return n(252556992, e, t);
|
|
449
451
|
}
|
|
450
|
-
function
|
|
452
|
+
function Xn(e) {
|
|
451
453
|
return n(1704369097, e);
|
|
452
454
|
}
|
|
453
|
-
function
|
|
454
|
-
return n(1399113254, e, t).then((r) =>
|
|
455
|
+
function Yn(e, t) {
|
|
456
|
+
return n(1399113254, e, t).then((r) => sr(r));
|
|
455
457
|
}
|
|
456
|
-
function
|
|
458
|
+
function Zn() {
|
|
457
459
|
return n(2936263106).then((e) => K(e));
|
|
458
460
|
}
|
|
459
|
-
const O = $e.createFrom,
|
|
461
|
+
const O = $e.createFrom, er = s(O), K = S(a, a), tr = s(a), nr = s(a), rr = V.createFrom, or = s(a);
|
|
460
462
|
var P = function e(...t) {
|
|
461
|
-
return P === e && (P =
|
|
463
|
+
return P === e && (P = ir), P(...t);
|
|
462
464
|
};
|
|
463
|
-
const
|
|
465
|
+
const ir = S(a, O), sr = z.createFrom, Yr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
464
466
|
__proto__: null,
|
|
465
|
-
GetBool:
|
|
466
|
-
GetCategories:
|
|
467
|
-
GetCategory:
|
|
468
|
-
GetCategoryValues:
|
|
469
|
-
GetFloat:
|
|
470
|
-
GetFloatSlice:
|
|
471
|
-
GetInt:
|
|
472
|
-
GetIntSlice:
|
|
473
|
-
GetSetting:
|
|
474
|
-
GetSettingValue:
|
|
475
|
-
GetString:
|
|
476
|
-
GetStringSlice:
|
|
477
|
-
ListSettings:
|
|
478
|
-
LoadSettings:
|
|
479
|
-
SetSetting:
|
|
480
|
-
SetSettings:
|
|
481
|
-
ValidateSetting:
|
|
482
|
-
Values:
|
|
467
|
+
GetBool: Hn,
|
|
468
|
+
GetCategories: Wn,
|
|
469
|
+
GetCategory: kn,
|
|
470
|
+
GetCategoryValues: Nn,
|
|
471
|
+
GetFloat: Vn,
|
|
472
|
+
GetFloatSlice: zn,
|
|
473
|
+
GetInt: Bn,
|
|
474
|
+
GetIntSlice: Jn,
|
|
475
|
+
GetSetting: Un,
|
|
476
|
+
GetSettingValue: qn,
|
|
477
|
+
GetString: xn,
|
|
478
|
+
GetStringSlice: In,
|
|
479
|
+
ListSettings: Qn,
|
|
480
|
+
LoadSettings: Dn,
|
|
481
|
+
SetSetting: Kn,
|
|
482
|
+
SetSettings: Xn,
|
|
483
|
+
ValidateSetting: Yn,
|
|
484
|
+
Values: Zn
|
|
483
485
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
484
|
-
function
|
|
485
|
-
return n(2106300110, e).then((t) =>
|
|
486
|
+
function cr(e) {
|
|
487
|
+
return n(2106300110, e).then((t) => lr(t));
|
|
486
488
|
}
|
|
487
|
-
function
|
|
488
|
-
return n(765209827, e).then((t) =>
|
|
489
|
+
function ur(e) {
|
|
490
|
+
return n(765209827, e).then((t) => fr(t));
|
|
489
491
|
}
|
|
490
|
-
function
|
|
492
|
+
function ar(e) {
|
|
491
493
|
return n(2355436169, e).then((t) => Y(t));
|
|
492
494
|
}
|
|
493
|
-
const X = pe.createFrom, Y = s(X),
|
|
495
|
+
const X = pe.createFrom, Y = s(X), lr = S(a, Y), fr = d(X), Zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
494
496
|
__proto__: null,
|
|
495
|
-
GetPluginComponents:
|
|
496
|
-
GetResourceAreaComponent:
|
|
497
|
-
GetResourceComponents:
|
|
497
|
+
GetPluginComponents: cr,
|
|
498
|
+
GetResourceAreaComponent: ur,
|
|
499
|
+
GetResourceComponents: ar
|
|
498
500
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
499
|
-
function
|
|
501
|
+
function $r(e) {
|
|
500
502
|
return n(2776241946, e);
|
|
501
503
|
}
|
|
502
|
-
function
|
|
504
|
+
function pr(e) {
|
|
503
505
|
return n(1474987050, e).then((t) => A(t));
|
|
504
506
|
}
|
|
505
|
-
function
|
|
506
|
-
return n(3156347865, e).then((t) =>
|
|
507
|
+
function hr(e) {
|
|
508
|
+
return n(3156347865, e).then((t) => br(t));
|
|
507
509
|
}
|
|
508
|
-
function
|
|
510
|
+
function gr(e) {
|
|
509
511
|
return n(1444002509, e);
|
|
510
512
|
}
|
|
511
|
-
function
|
|
512
|
-
return n(3104582886).then((e) =>
|
|
513
|
+
function Sr() {
|
|
514
|
+
return n(3104582886).then((e) => Rr(e));
|
|
513
515
|
}
|
|
514
|
-
function
|
|
515
|
-
return n(2249742267).then((e) =>
|
|
516
|
+
function yr() {
|
|
517
|
+
return n(2249742267).then((e) => Gr(e));
|
|
516
518
|
}
|
|
517
|
-
function
|
|
519
|
+
function dr(e, t) {
|
|
518
520
|
return n(1212190993, e, t);
|
|
519
521
|
}
|
|
520
|
-
function
|
|
522
|
+
function mr(e, t) {
|
|
521
523
|
return n(2177127885, e, t).then((r) => A(r));
|
|
522
524
|
}
|
|
523
|
-
const
|
|
524
|
-
function
|
|
525
|
+
const Tr = he.createFrom, A = d(Tr), Pr = ge.createFrom, br = s(Pr), Rr = s(a), Gr = s(A);
|
|
526
|
+
function Cr(e, t, r) {
|
|
525
527
|
return $("github.com/omniviewdev/omniview/backend/pkg/plugin/logs.ServiceWrapper.CreateSession", e, t, p(r, [e, t]));
|
|
526
528
|
}
|
|
527
|
-
const
|
|
529
|
+
const eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
528
530
|
__proto__: null,
|
|
529
|
-
CloseSession:
|
|
530
|
-
CreateSession:
|
|
531
|
-
GetSession:
|
|
532
|
-
GetSupportedResources:
|
|
533
|
-
HasPlugin:
|
|
534
|
-
ListPlugins:
|
|
535
|
-
ListSessions:
|
|
536
|
-
SendCommand:
|
|
537
|
-
UpdateSessionOptions:
|
|
531
|
+
CloseSession: $r,
|
|
532
|
+
CreateSession: Cr,
|
|
533
|
+
GetSession: pr,
|
|
534
|
+
GetSupportedResources: hr,
|
|
535
|
+
HasPlugin: gr,
|
|
536
|
+
ListPlugins: Sr,
|
|
537
|
+
ListSessions: yr,
|
|
538
|
+
SendCommand: dr,
|
|
539
|
+
UpdateSessionOptions: mr
|
|
538
540
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
539
541
|
class L {
|
|
540
542
|
plugin_id;
|
|
@@ -551,134 +553,136 @@ class L {
|
|
|
551
553
|
* Creates a new MetricProviderSummary instance from a string or object.
|
|
552
554
|
*/
|
|
553
555
|
static createFrom(t = {}) {
|
|
554
|
-
const r =
|
|
556
|
+
const r = wr;
|
|
555
557
|
let c = typeof t == "string" ? JSON.parse(t) : t;
|
|
556
558
|
return "handlers" in c && (c.handlers = r(c.handlers)), new L(c);
|
|
557
559
|
}
|
|
558
560
|
}
|
|
559
|
-
const
|
|
560
|
-
function
|
|
561
|
+
const vr = Se.createFrom, wr = s(vr);
|
|
562
|
+
function _r() {
|
|
561
563
|
return n(3919346639).then((e) => Z(e));
|
|
562
564
|
}
|
|
563
|
-
function
|
|
565
|
+
function Fr(e) {
|
|
564
566
|
return n(3953821778, e).then((t) => Z(t));
|
|
565
567
|
}
|
|
566
|
-
function
|
|
568
|
+
function Or(e) {
|
|
567
569
|
return n(1815388456, e);
|
|
568
570
|
}
|
|
569
|
-
function
|
|
570
|
-
return n(2730149903).then((e) =>
|
|
571
|
+
function Ar() {
|
|
572
|
+
return n(2730149903).then((e) => Mr(e));
|
|
571
573
|
}
|
|
572
|
-
function
|
|
574
|
+
function Lr(e) {
|
|
573
575
|
return n(3994236150, e);
|
|
574
576
|
}
|
|
575
|
-
const
|
|
577
|
+
const jr = L.createFrom, Z = s(jr), Mr = s(a);
|
|
576
578
|
ye.createFrom;
|
|
577
579
|
const j = "github.com/omniviewdev/omniview/backend/pkg/plugin/metric.ServiceWrapper";
|
|
578
|
-
function
|
|
580
|
+
function Er(e, t, r) {
|
|
579
581
|
return $(`${j}.Query`, e, t, p(r, [e, t]));
|
|
580
582
|
}
|
|
581
|
-
function
|
|
583
|
+
function Hr(e, t) {
|
|
582
584
|
return $(`${j}.QueryAll`, e, p(t, [e]));
|
|
583
585
|
}
|
|
584
|
-
function
|
|
586
|
+
function Wr(e, t, r) {
|
|
585
587
|
return $(`${j}.Subscribe`, e, t, p(r, [e, t]));
|
|
586
588
|
}
|
|
587
|
-
const
|
|
589
|
+
const to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
588
590
|
__proto__: null,
|
|
589
|
-
GetProviders:
|
|
590
|
-
GetProvidersForResource:
|
|
591
|
-
HasPlugin:
|
|
592
|
-
ListPlugins:
|
|
593
|
-
Query:
|
|
594
|
-
QueryAll:
|
|
595
|
-
Subscribe:
|
|
596
|
-
Unsubscribe:
|
|
591
|
+
GetProviders: _r,
|
|
592
|
+
GetProvidersForResource: Fr,
|
|
593
|
+
HasPlugin: Or,
|
|
594
|
+
ListPlugins: Ar,
|
|
595
|
+
Query: Er,
|
|
596
|
+
QueryAll: Hr,
|
|
597
|
+
Subscribe: Wr,
|
|
598
|
+
Unsubscribe: Lr
|
|
597
599
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
598
|
-
function
|
|
600
|
+
function kr(e, t) {
|
|
599
601
|
return n(3653639550, e, t);
|
|
600
602
|
}
|
|
601
|
-
function
|
|
603
|
+
function Nr(e, t) {
|
|
602
604
|
return n(851823419, e, t);
|
|
603
605
|
}
|
|
604
|
-
function
|
|
605
|
-
return n(2991415449, e).then((t) =>
|
|
606
|
+
function Vr(e) {
|
|
607
|
+
return n(2991415449, e).then((t) => Br(t));
|
|
606
608
|
}
|
|
607
|
-
function
|
|
609
|
+
function zr(e, t, r) {
|
|
608
610
|
return n(2695679023, e, t, r);
|
|
609
611
|
}
|
|
610
|
-
const
|
|
612
|
+
const Br = s(a), no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
611
613
|
__proto__: null,
|
|
612
|
-
Delete:
|
|
613
|
-
Get:
|
|
614
|
-
Keys:
|
|
615
|
-
Set:
|
|
614
|
+
Delete: kr,
|
|
615
|
+
Get: Nr,
|
|
616
|
+
Keys: Vr,
|
|
617
|
+
Set: zr
|
|
616
618
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
617
619
|
export {
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
620
|
+
Nt as $,
|
|
621
|
+
Nr as A,
|
|
622
|
+
zr as B,
|
|
621
623
|
bt as C,
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
624
|
+
He as D,
|
|
625
|
+
Cr as E,
|
|
626
|
+
$r as F,
|
|
625
627
|
De as G,
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
628
|
+
_r as H,
|
|
629
|
+
Dt as I,
|
|
630
|
+
Fr as J,
|
|
631
|
+
Wr as K,
|
|
632
|
+
vt as L,
|
|
633
|
+
Be as M,
|
|
634
|
+
We as N,
|
|
635
|
+
ke as O,
|
|
636
|
+
_n as P,
|
|
637
|
+
Hr as Q,
|
|
638
|
+
Kt as R,
|
|
637
639
|
Ot as S,
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
640
|
+
xe as T,
|
|
641
|
+
Lr as U,
|
|
642
|
+
Zn as V,
|
|
643
|
+
zt as W,
|
|
644
|
+
kt as X,
|
|
645
|
+
ur as Y,
|
|
646
|
+
Yt as Z,
|
|
647
|
+
Vt as _,
|
|
648
|
+
Qr as a,
|
|
649
|
+
$n as a0,
|
|
650
|
+
yn as a1,
|
|
651
|
+
pn as a2,
|
|
652
|
+
dn as a3,
|
|
653
|
+
sn as a4,
|
|
654
|
+
Bt as a5,
|
|
655
|
+
en as a6,
|
|
656
|
+
qt as a7,
|
|
657
|
+
an as a8,
|
|
658
|
+
cn as a9,
|
|
659
|
+
un as aa,
|
|
660
|
+
Tn as ab,
|
|
661
|
+
bn as ac,
|
|
662
|
+
Rn as ad,
|
|
663
|
+
Xr as b,
|
|
664
|
+
Dr as c,
|
|
665
|
+
Yr as d,
|
|
666
|
+
xr as e,
|
|
667
|
+
Zr as f,
|
|
668
|
+
Kr as g,
|
|
665
669
|
Ft as h,
|
|
666
|
-
|
|
667
|
-
|
|
670
|
+
Qt as i,
|
|
671
|
+
Xt as j,
|
|
668
672
|
Rt as k,
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
673
|
+
eo as l,
|
|
674
|
+
to as m,
|
|
675
|
+
Ir as n,
|
|
676
|
+
ln as o,
|
|
677
|
+
fn as p,
|
|
678
|
+
mn as q,
|
|
679
|
+
xt as r,
|
|
680
|
+
no as s,
|
|
681
|
+
Wt as t,
|
|
682
|
+
Jt as u,
|
|
679
683
|
lt as v,
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
+
Ct as w,
|
|
685
|
+
It as x,
|
|
686
|
+
Et as y,
|
|
687
|
+
Ht as z
|
|
684
688
|
};
|