@omniviewdev/runtime 0.4.0 → 0.4.2
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 +28 -27
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/models.d.ts +27 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +36 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +6 -0
- package/dist/graphservice-2kgAuCnt.cjs +1 -0
- package/dist/graphservice-5kuEPkCT.js +731 -0
- package/dist/hooks/resource/index.d.ts +4 -0
- package/dist/hooks/resource/useDependencyTree.d.ts +41 -0
- package/dist/hooks/resource/useRefetchOnGraphChange.d.ts +11 -0
- package/dist/hooks/resource/useRelatedResources.d.ts +81 -0
- package/dist/hooks/resource/useResourceGraph.d.ts +46 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +787 -647
- package/dist/{models-B8OVRhdT.js → models-3V1aa9YT.js} +1 -1
- package/dist/{models-BVKsY9u1.js → models-B97zjrHu.js} +565 -452
- package/dist/{models-CExSuVU2.cjs → models-BPmIMpct.cjs} +1 -1
- package/dist/models-sJV1iQbd.cjs +1 -0
- package/dist/models.cjs +1 -1
- package/dist/models.d.ts +1 -0
- package/dist/models.js +90 -84
- package/package.json +1 -1
- package/dist/models-DdAWPDgz.cjs +0 -1
- package/dist/servicewrapper-BH5omp-N.js +0 -708
- package/dist/servicewrapper-dDhyC68C.cjs +0 -1
|
@@ -0,0 +1,731 @@
|
|
|
1
|
+
var K = Object.defineProperty;
|
|
2
|
+
var q = (e, t, r) => t in e ? K(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var $ = (e, t, r) => q(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
+
import { A as u, M as p, a as s, N as a, B as X } from "./index-D2mKAO8s.js";
|
|
5
|
+
import { d as v, e as Y, P as Z, f as ee, V as te, R as ne, g as re, h as oe, i as F, j as ce, k as ue, l as se, m as ie, n as ae, o as $e, p as pe, q as le, r as fe, E as ye, s as he, t as Te, u as ge, v as Se, w as de, x as me, y as Fe, z as Pe, B as Ge, H as Re, I as Ce, J as be, K as _e, M as ve, N as Le, Q as Oe, O as we, T as je, X as He, Y as Me, Z as Ae } from "./models-B97zjrHu.js";
|
|
6
|
+
import { B as n } from "./calls-BmUnjINC.js";
|
|
7
|
+
function De(e, t) {
|
|
8
|
+
return n(3867104420, e, t).then((r) => L(r));
|
|
9
|
+
}
|
|
10
|
+
function ze(e) {
|
|
11
|
+
return n(3795411887, e);
|
|
12
|
+
}
|
|
13
|
+
function Ie() {
|
|
14
|
+
return n(1053995964).then((e) => Ne(e));
|
|
15
|
+
}
|
|
16
|
+
function Ve(e) {
|
|
17
|
+
return n(3231741321, e).then((t) => Qe(t));
|
|
18
|
+
}
|
|
19
|
+
function We(e) {
|
|
20
|
+
return n(2597562645, e).then((t) => O(t));
|
|
21
|
+
}
|
|
22
|
+
function Ee(e, t, r) {
|
|
23
|
+
return n(1481837168, e, t, r);
|
|
24
|
+
}
|
|
25
|
+
function Ue(e, t) {
|
|
26
|
+
return n(230212281, e, t);
|
|
27
|
+
}
|
|
28
|
+
function Be() {
|
|
29
|
+
return n(2408440370).then((e) => O(e));
|
|
30
|
+
}
|
|
31
|
+
const L = v.createFrom, Ne = u(s), Qe = p(s, L), O = p(s, s), Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32
|
+
__proto__: null,
|
|
33
|
+
GetSetting: De,
|
|
34
|
+
HasPlugin: ze,
|
|
35
|
+
ListPlugins: Ie,
|
|
36
|
+
ListSettings: Ve,
|
|
37
|
+
PluginValues: We,
|
|
38
|
+
SetSetting: Ee,
|
|
39
|
+
SetSettings: Ue,
|
|
40
|
+
Values: Be
|
|
41
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
42
|
+
function xe(e) {
|
|
43
|
+
return n(3150413499, e).then((t) => y(t));
|
|
44
|
+
}
|
|
45
|
+
function Je(e) {
|
|
46
|
+
return n(1152913314, e).then((t) => lt(t));
|
|
47
|
+
}
|
|
48
|
+
function ke(e) {
|
|
49
|
+
return n(111194374, e).then((t) => P(t));
|
|
50
|
+
}
|
|
51
|
+
function Ke(e) {
|
|
52
|
+
return n(3945933305, e);
|
|
53
|
+
}
|
|
54
|
+
function qe(e) {
|
|
55
|
+
return n(2859775056, e).then((t) => w(t));
|
|
56
|
+
}
|
|
57
|
+
function Xe(e, t) {
|
|
58
|
+
return n(2209599792, e, t).then((r) => ht(r));
|
|
59
|
+
}
|
|
60
|
+
function Ye(e) {
|
|
61
|
+
return n(3963363730, e).then((t) => w(t));
|
|
62
|
+
}
|
|
63
|
+
function Ze() {
|
|
64
|
+
return n(2477486666).then((e) => g(e));
|
|
65
|
+
}
|
|
66
|
+
function et() {
|
|
67
|
+
return n(976517756).then((e) => g(e));
|
|
68
|
+
}
|
|
69
|
+
function tt(e) {
|
|
70
|
+
return n(1020548995, e).then((t) => g(t));
|
|
71
|
+
}
|
|
72
|
+
function nt(e, t) {
|
|
73
|
+
return n(2004740384, e, t).then((r) => g(r));
|
|
74
|
+
}
|
|
75
|
+
function rt() {
|
|
76
|
+
return n(873697101).then((e) => j(e));
|
|
77
|
+
}
|
|
78
|
+
function ot() {
|
|
79
|
+
return n(637134283).then((e) => gt(e));
|
|
80
|
+
}
|
|
81
|
+
function ct() {
|
|
82
|
+
return n(550607756).then((e) => St(e));
|
|
83
|
+
}
|
|
84
|
+
function ut(e, t) {
|
|
85
|
+
return n(288660195, e, t).then((r) => y(r));
|
|
86
|
+
}
|
|
87
|
+
function st(e) {
|
|
88
|
+
return n(1771013494, e).then((t) => y(t));
|
|
89
|
+
}
|
|
90
|
+
function it(e) {
|
|
91
|
+
return n(2433379724, e).then((t) => y(t));
|
|
92
|
+
}
|
|
93
|
+
function at(e, t, r) {
|
|
94
|
+
return n(2783597264, e, t, r).then((o) => j(o));
|
|
95
|
+
}
|
|
96
|
+
function $t(e) {
|
|
97
|
+
return n(1369550929, e).then((t) => y(t));
|
|
98
|
+
}
|
|
99
|
+
const y = Y.createFrom, pt = ee.createFrom, lt = a(pt), P = Z.createFrom, ft = te.createFrom, w = u(ft), yt = ne.createFrom, ht = u(yt), g = a(P), Tt = re.createFrom, j = u(Tt), gt = u(P), St = u(y), Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
100
|
+
__proto__: null,
|
|
101
|
+
GetPlugin: xe,
|
|
102
|
+
GetPluginDownloadStats: Je,
|
|
103
|
+
GetPluginMeta: ke,
|
|
104
|
+
GetPluginReadme: Ke,
|
|
105
|
+
GetPluginReleaseHistory: qe,
|
|
106
|
+
GetPluginReviews: Xe,
|
|
107
|
+
GetPluginVersions: Ye,
|
|
108
|
+
InstallFromPathPrompt: Ze,
|
|
109
|
+
InstallInDevMode: et,
|
|
110
|
+
InstallPluginFromPath: tt,
|
|
111
|
+
InstallPluginVersion: nt,
|
|
112
|
+
ListAvailablePlugins: rt,
|
|
113
|
+
ListPluginMetas: ot,
|
|
114
|
+
ListPlugins: ct,
|
|
115
|
+
LoadPlugin: ut,
|
|
116
|
+
ReloadPlugin: st,
|
|
117
|
+
RetryFailedPlugin: it,
|
|
118
|
+
SearchPlugins: at,
|
|
119
|
+
UninstallPlugin: $t
|
|
120
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
121
|
+
function dt(e) {
|
|
122
|
+
return n(122243240, e);
|
|
123
|
+
}
|
|
124
|
+
function mt() {
|
|
125
|
+
return n(269082212).then((e) => Dt(e));
|
|
126
|
+
}
|
|
127
|
+
function Ft(e) {
|
|
128
|
+
return n(1421156656, e).then((t) => G(t));
|
|
129
|
+
}
|
|
130
|
+
function Pt(e) {
|
|
131
|
+
return n(3143996982, e).then((t) => H(t));
|
|
132
|
+
}
|
|
133
|
+
function Gt(e) {
|
|
134
|
+
return n(1695819138, e);
|
|
135
|
+
}
|
|
136
|
+
function Rt(e) {
|
|
137
|
+
return n(1827194808, e).then((t) => zt(t));
|
|
138
|
+
}
|
|
139
|
+
function Ct(e) {
|
|
140
|
+
return n(72059321, e);
|
|
141
|
+
}
|
|
142
|
+
function bt(e) {
|
|
143
|
+
return n(62418781, e).then((t) => It(t));
|
|
144
|
+
}
|
|
145
|
+
function _t(e) {
|
|
146
|
+
return n(2222012564, e).then((t) => Vt(t));
|
|
147
|
+
}
|
|
148
|
+
function vt(e) {
|
|
149
|
+
return n(2753368941, e);
|
|
150
|
+
}
|
|
151
|
+
function Lt(e) {
|
|
152
|
+
return n(3825211425, e);
|
|
153
|
+
}
|
|
154
|
+
function Ot(e) {
|
|
155
|
+
return n(2121298005, e).then((t) => Wt(t));
|
|
156
|
+
}
|
|
157
|
+
function wt() {
|
|
158
|
+
return n(3038957305).then((e) => T(e));
|
|
159
|
+
}
|
|
160
|
+
function jt() {
|
|
161
|
+
return n(3369612893);
|
|
162
|
+
}
|
|
163
|
+
function Ht(e, t) {
|
|
164
|
+
return n(252556992, e, t);
|
|
165
|
+
}
|
|
166
|
+
function Mt(e) {
|
|
167
|
+
return n(1704369097, e);
|
|
168
|
+
}
|
|
169
|
+
function At() {
|
|
170
|
+
return n(2936263106).then((e) => H(e));
|
|
171
|
+
}
|
|
172
|
+
const G = oe.createFrom, Dt = u(G), H = p(s, s), zt = u(s), It = u(s), Vt = v.createFrom, Wt = u(s);
|
|
173
|
+
var T = function e(...t) {
|
|
174
|
+
return T === e && (T = Et), T(...t);
|
|
175
|
+
};
|
|
176
|
+
const Et = p(s, G), ec = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
177
|
+
__proto__: null,
|
|
178
|
+
GetBool: dt,
|
|
179
|
+
GetCategories: mt,
|
|
180
|
+
GetCategory: Ft,
|
|
181
|
+
GetCategoryValues: Pt,
|
|
182
|
+
GetFloat: Gt,
|
|
183
|
+
GetFloatSlice: Rt,
|
|
184
|
+
GetInt: Ct,
|
|
185
|
+
GetIntSlice: bt,
|
|
186
|
+
GetSetting: _t,
|
|
187
|
+
GetSettingValue: vt,
|
|
188
|
+
GetString: Lt,
|
|
189
|
+
GetStringSlice: Ot,
|
|
190
|
+
ListSettings: wt,
|
|
191
|
+
LoadSettings: jt,
|
|
192
|
+
SetSetting: Ht,
|
|
193
|
+
SetSettings: Mt,
|
|
194
|
+
Values: At
|
|
195
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
196
|
+
class R {
|
|
197
|
+
/** Creates a new ConnectionState instance. */
|
|
198
|
+
constructor(t = {}) {
|
|
199
|
+
/**
|
|
200
|
+
* Connection metadata (name, avatar, labels, etc.)
|
|
201
|
+
*/
|
|
202
|
+
$(this, "connection");
|
|
203
|
+
/**
|
|
204
|
+
* Whether this connection is actively started/connected.
|
|
205
|
+
*/
|
|
206
|
+
$(this, "started");
|
|
207
|
+
/**
|
|
208
|
+
* Per-resource watch states (resource key → WatchState enum).
|
|
209
|
+
*/
|
|
210
|
+
$(this, "resources");
|
|
211
|
+
/**
|
|
212
|
+
* Per-resource object counts (resource key → count of cached objects).
|
|
213
|
+
*/
|
|
214
|
+
$(this, "resourceCounts");
|
|
215
|
+
/**
|
|
216
|
+
* Aggregate counts computed server-side.
|
|
217
|
+
*/
|
|
218
|
+
$(this, "totalResources");
|
|
219
|
+
$(this, "syncedCount");
|
|
220
|
+
$(this, "errorCount");
|
|
221
|
+
/**
|
|
222
|
+
* ISO 8601 timestamp of the last successful sync, or empty if never synced.
|
|
223
|
+
* String instead of time.Time for Wails serialization compatibility.
|
|
224
|
+
*/
|
|
225
|
+
$(this, "lastSyncTime");
|
|
226
|
+
"connection" in t || (this.connection = new F()), "started" in t || (this.started = !1), "resources" in t || (this.resources = {}), "resourceCounts" in t || (this.resourceCounts = {}), "totalResources" in t || (this.totalResources = 0), "syncedCount" in t || (this.syncedCount = 0), "errorCount" in t || (this.errorCount = 0), Object.assign(this, t);
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Creates a new ConnectionState instance from a string or object.
|
|
230
|
+
*/
|
|
231
|
+
static createFrom(t = {}) {
|
|
232
|
+
const r = Ut, o = Bt, c = Nt;
|
|
233
|
+
let i = typeof t == "string" ? JSON.parse(t) : t;
|
|
234
|
+
return "connection" in i && (i.connection = r(i.connection)), "resources" in i && (i.resources = o(i.resources)), "resourceCounts" in i && (i.resourceCounts = c(i.resourceCounts)), new R(i);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
const Ut = F.createFrom, Bt = p(s, s), Nt = p(s, s);
|
|
238
|
+
function Qt(e, t) {
|
|
239
|
+
return n(4065522324, e, t);
|
|
240
|
+
}
|
|
241
|
+
function xt(e, t) {
|
|
242
|
+
return n(1688967279, e, t).then((r) => M(r));
|
|
243
|
+
}
|
|
244
|
+
function Jt(e, t, r, o) {
|
|
245
|
+
return n(1613386605, e, t, r, o).then((c) => Vn(c));
|
|
246
|
+
}
|
|
247
|
+
function kt(e, t, r, o) {
|
|
248
|
+
return n(1477526970, e, t, r, o).then((c) => En(c));
|
|
249
|
+
}
|
|
250
|
+
function Kt(e, t, r) {
|
|
251
|
+
return n(1338477906, e, t, r);
|
|
252
|
+
}
|
|
253
|
+
function qt(e, t, r, o, c) {
|
|
254
|
+
return n(1844283666, e, t, r, o, c).then((i) => Bn(i));
|
|
255
|
+
}
|
|
256
|
+
function Xt(e, t, r, o) {
|
|
257
|
+
return n(4148812394, e, t, r, o).then((c) => Qn(c));
|
|
258
|
+
}
|
|
259
|
+
function Yt(e, t, r, o) {
|
|
260
|
+
return n(194970279, e, t, r, o).then((c) => Jn(c));
|
|
261
|
+
}
|
|
262
|
+
function Zt(e, t, r) {
|
|
263
|
+
return n(419011114, e, t, r).then((o) => Kn(o));
|
|
264
|
+
}
|
|
265
|
+
function en() {
|
|
266
|
+
return n(4153677080).then((e) => Yn(e));
|
|
267
|
+
}
|
|
268
|
+
function tn(e, t) {
|
|
269
|
+
return n(950535743, e, t).then((r) => S(r));
|
|
270
|
+
}
|
|
271
|
+
function nn(e, t) {
|
|
272
|
+
return n(537508515, e, t).then((r) => A(r));
|
|
273
|
+
}
|
|
274
|
+
function rn(e, t) {
|
|
275
|
+
return n(1394342402, e, t).then((r) => er(r));
|
|
276
|
+
}
|
|
277
|
+
function on(e, t, r) {
|
|
278
|
+
return n(1947262600, e, t, r).then((o) => nr(o));
|
|
279
|
+
}
|
|
280
|
+
function cn(e, t, r, o) {
|
|
281
|
+
return n(1644192689, e, t, r, o).then((c) => or(c));
|
|
282
|
+
}
|
|
283
|
+
function un(e, t) {
|
|
284
|
+
return n(2699561690, e, t).then((r) => ur(r));
|
|
285
|
+
}
|
|
286
|
+
function sn(e, t) {
|
|
287
|
+
return n(1474609809, e, t).then((r) => ir(r));
|
|
288
|
+
}
|
|
289
|
+
function an(e, t) {
|
|
290
|
+
return n(4077050094, e, t).then((r) => ar(r));
|
|
291
|
+
}
|
|
292
|
+
function $n(e, t, r, o, c, i) {
|
|
293
|
+
return n(3171791798, e, t, r, o, c, i).then((l) => pr(l));
|
|
294
|
+
}
|
|
295
|
+
function pn(e, t) {
|
|
296
|
+
return n(114848330, e, t).then((r) => D(r));
|
|
297
|
+
}
|
|
298
|
+
function ln(e, t) {
|
|
299
|
+
return n(4290498491, e, t).then((r) => lr(r));
|
|
300
|
+
}
|
|
301
|
+
function fn(e, t, r) {
|
|
302
|
+
return n(137675652, e, t, r);
|
|
303
|
+
}
|
|
304
|
+
function yn(e, t) {
|
|
305
|
+
return n(2078766795, e, t).then((r) => fr(r));
|
|
306
|
+
}
|
|
307
|
+
function hn(e, t) {
|
|
308
|
+
return n(3311395752, e, t).then((r) => yr(r));
|
|
309
|
+
}
|
|
310
|
+
function Tn(e, t) {
|
|
311
|
+
return n(42345827, e, t).then((r) => Tr(r));
|
|
312
|
+
}
|
|
313
|
+
function gn(e) {
|
|
314
|
+
return n(854008408, e);
|
|
315
|
+
}
|
|
316
|
+
function Sn(e, t) {
|
|
317
|
+
return n(3547410887, e, t);
|
|
318
|
+
}
|
|
319
|
+
function dn(e, t, r) {
|
|
320
|
+
return n(3516169863, e, t, r);
|
|
321
|
+
}
|
|
322
|
+
function mn(e, t, r, o) {
|
|
323
|
+
return n(3093409425, e, t, r, o).then((c) => Sr(c));
|
|
324
|
+
}
|
|
325
|
+
function Fn() {
|
|
326
|
+
return n(1598984489).then((e) => dr(e));
|
|
327
|
+
}
|
|
328
|
+
function Pn(e) {
|
|
329
|
+
return n(1775572154, e).then((t) => C(t));
|
|
330
|
+
}
|
|
331
|
+
function Gn() {
|
|
332
|
+
return n(3217612415).then((e) => A(e));
|
|
333
|
+
}
|
|
334
|
+
function Rn(e) {
|
|
335
|
+
return n(2037329938, e).then((t) => C(t));
|
|
336
|
+
}
|
|
337
|
+
function Cn(e, t) {
|
|
338
|
+
return n(421198049, e, t);
|
|
339
|
+
}
|
|
340
|
+
function bn(e, t, r, o, c) {
|
|
341
|
+
return n(3987850310, e, t, r, o, c).then((i) => Fr(i));
|
|
342
|
+
}
|
|
343
|
+
function _n(e, t, r) {
|
|
344
|
+
return n(555702059, e, t, r);
|
|
345
|
+
}
|
|
346
|
+
function vn(e, t) {
|
|
347
|
+
return n(3276991559, e, t).then((r) => M(r));
|
|
348
|
+
}
|
|
349
|
+
function Ln(e, t) {
|
|
350
|
+
return n(3389223006, e, t);
|
|
351
|
+
}
|
|
352
|
+
function On(e, t) {
|
|
353
|
+
return n(794258089, e, t).then((r) => S(r));
|
|
354
|
+
}
|
|
355
|
+
function wn(e, t) {
|
|
356
|
+
return n(1661153284, e, t);
|
|
357
|
+
}
|
|
358
|
+
function jn(e, t, r) {
|
|
359
|
+
return n(3981374696, e, t, r);
|
|
360
|
+
}
|
|
361
|
+
function Hn(e, t, r, o, c) {
|
|
362
|
+
return n(2990116431, e, t, r, o, c);
|
|
363
|
+
}
|
|
364
|
+
function Mn(e, t, r) {
|
|
365
|
+
return n(2856546527, e, t, r);
|
|
366
|
+
}
|
|
367
|
+
function An(e, t, r) {
|
|
368
|
+
return n(3710015102, e, t, r);
|
|
369
|
+
}
|
|
370
|
+
function Dn(e, t, r, o) {
|
|
371
|
+
return n(2408192164, e, t, r, o).then((c) => Gr(c));
|
|
372
|
+
}
|
|
373
|
+
function zn(e, t) {
|
|
374
|
+
return n(2131988692, e, t).then((r) => S(r));
|
|
375
|
+
}
|
|
376
|
+
const M = ce.createFrom, In = ie.createFrom, Vn = a(In), Wn = ae.createFrom, En = a(Wn), Un = $e.createFrom, Bn = a(Un), Nn = pe.createFrom, Qn = a(Nn), xn = le.createFrom, Jn = a(xn), kn = fe.createFrom, Kn = u(kn), qn = R.createFrom, Xn = u(qn), Yn = p(s, Xn), S = F.createFrom, A = u(s), Zn = ye.createFrom, er = u(Zn), tr = he.createFrom, nr = u(tr), rr = Te.createFrom, or = a(rr), cr = ge.createFrom, ur = u(cr), sr = Se.createFrom, ir = a(sr), ar = ue.createFrom, $r = de.createFrom, pr = u($r), D = se.createFrom, lr = p(s, D), z = me.createFrom, fr = a(z), yr = p(s, z), hr = Fe.createFrom, Tr = a(hr), gr = Pe.createFrom, Sr = a(gr), C = u(S), dr = p(s, C), mr = Ge.createFrom, Fr = u(mr), Pr = Re.createFrom, Gr = a(Pr), tc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
377
|
+
__proto__: null,
|
|
378
|
+
AddConnection: Qt,
|
|
379
|
+
CheckConnection: xt,
|
|
380
|
+
Create: Jt,
|
|
381
|
+
Delete: kt,
|
|
382
|
+
EnsureResourceWatch: Kt,
|
|
383
|
+
ExecuteAction: qt,
|
|
384
|
+
Find: Xt,
|
|
385
|
+
Get: Yt,
|
|
386
|
+
GetActions: Zt,
|
|
387
|
+
GetAllConnectionStates: en,
|
|
388
|
+
GetConnection: tn,
|
|
389
|
+
GetConnectionNamespaces: nn,
|
|
390
|
+
GetEditorSchemas: rn,
|
|
391
|
+
GetFilterFields: on,
|
|
392
|
+
GetHealth: cn,
|
|
393
|
+
GetRelationships: un,
|
|
394
|
+
GetResourceCapabilities: sn,
|
|
395
|
+
GetResourceDefinition: an,
|
|
396
|
+
GetResourceEvents: $n,
|
|
397
|
+
GetResourceGroup: pn,
|
|
398
|
+
GetResourceGroups: ln,
|
|
399
|
+
GetResourceSchema: fn,
|
|
400
|
+
GetResourceType: yn,
|
|
401
|
+
GetResourceTypes: hn,
|
|
402
|
+
GetWatchState: Tn,
|
|
403
|
+
HasPlugin: gn,
|
|
404
|
+
HasResourceType: Sn,
|
|
405
|
+
IsResourceWatchRunning: dn,
|
|
406
|
+
List: mn,
|
|
407
|
+
ListAllConnections: Fn,
|
|
408
|
+
ListConnections: Pn,
|
|
409
|
+
ListPlugins: Gn,
|
|
410
|
+
LoadConnections: Rn,
|
|
411
|
+
RemoveConnection: Cn,
|
|
412
|
+
ResolveRelationships: bn,
|
|
413
|
+
RestartResourceWatch: _n,
|
|
414
|
+
StartConnection: vn,
|
|
415
|
+
StartConnectionWatch: Ln,
|
|
416
|
+
StopConnection: On,
|
|
417
|
+
StopConnectionWatch: wn,
|
|
418
|
+
StopResourceWatch: jn,
|
|
419
|
+
StreamAction: Hn,
|
|
420
|
+
SubscribeResource: Mn,
|
|
421
|
+
UnsubscribeResource: An,
|
|
422
|
+
Update: Dn,
|
|
423
|
+
UpdateConnection: zn
|
|
424
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
425
|
+
function Rr(e, t) {
|
|
426
|
+
return n(3653639550, e, t);
|
|
427
|
+
}
|
|
428
|
+
function Cr(e, t) {
|
|
429
|
+
return n(851823419, e, t);
|
|
430
|
+
}
|
|
431
|
+
function br(e) {
|
|
432
|
+
return n(2991415449, e).then((t) => vr(t));
|
|
433
|
+
}
|
|
434
|
+
function _r(e, t, r) {
|
|
435
|
+
return n(2695679023, e, t, r);
|
|
436
|
+
}
|
|
437
|
+
const vr = u(s), nc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
438
|
+
__proto__: null,
|
|
439
|
+
Delete: Rr,
|
|
440
|
+
Get: Cr,
|
|
441
|
+
Keys: br,
|
|
442
|
+
Set: _r
|
|
443
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
444
|
+
function Lr(e) {
|
|
445
|
+
return n(93318075, e).then((t) => (t[0] = h(t[0]), t[1] = X(t[1]), t));
|
|
446
|
+
}
|
|
447
|
+
function Or(e) {
|
|
448
|
+
return n(1353297556, e);
|
|
449
|
+
}
|
|
450
|
+
function wr(e, t, r) {
|
|
451
|
+
return n(608251756, e, t, r).then((o) => h(o));
|
|
452
|
+
}
|
|
453
|
+
function jr(e) {
|
|
454
|
+
return n(4182196712, e).then((t) => h(t));
|
|
455
|
+
}
|
|
456
|
+
function Hr(e) {
|
|
457
|
+
return n(3993344525, e).then((t) => h(t));
|
|
458
|
+
}
|
|
459
|
+
function Mr(e, t) {
|
|
460
|
+
return n(1779192716, e, t).then((r) => Nr(r));
|
|
461
|
+
}
|
|
462
|
+
function Ar() {
|
|
463
|
+
return n(4033362541).then((e) => Qr(e));
|
|
464
|
+
}
|
|
465
|
+
function Dr(e) {
|
|
466
|
+
return n(2619212338, e).then((t) => V(t));
|
|
467
|
+
}
|
|
468
|
+
function zr(e) {
|
|
469
|
+
return n(1371268636, e).then((t) => h(t));
|
|
470
|
+
}
|
|
471
|
+
function Ir(e) {
|
|
472
|
+
return n(3881019319, e);
|
|
473
|
+
}
|
|
474
|
+
function Vr() {
|
|
475
|
+
return n(3006426324).then((e) => xr(e));
|
|
476
|
+
}
|
|
477
|
+
function Wr() {
|
|
478
|
+
return n(265791345).then((e) => Jr(e));
|
|
479
|
+
}
|
|
480
|
+
function Er(e, t, r) {
|
|
481
|
+
return n(1492965384, e, t, r);
|
|
482
|
+
}
|
|
483
|
+
function Ur(e, t) {
|
|
484
|
+
return n(486465741, e, t);
|
|
485
|
+
}
|
|
486
|
+
const Br = be.createFrom, h = a(Br), I = Ce.createFrom, Nr = a(I), V = p(s, I), Qr = p(s, V), xr = u(s), Jr = u(h), rc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
487
|
+
__proto__: null,
|
|
488
|
+
AttachSession: Lr,
|
|
489
|
+
CloseSession: Or,
|
|
490
|
+
CreateSession: wr,
|
|
491
|
+
CreateTerminal: jr,
|
|
492
|
+
DetachSession: Hr,
|
|
493
|
+
GetHandler: Mr,
|
|
494
|
+
GetHandlers: Ar,
|
|
495
|
+
GetPluginHandlers: Dr,
|
|
496
|
+
GetSession: zr,
|
|
497
|
+
HasPlugin: Ir,
|
|
498
|
+
ListPlugins: Vr,
|
|
499
|
+
ListSessions: Wr,
|
|
500
|
+
ResizeSession: Er,
|
|
501
|
+
WriteSession: Ur
|
|
502
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
503
|
+
function kr(e) {
|
|
504
|
+
return n(2776241946, e);
|
|
505
|
+
}
|
|
506
|
+
function Kr(e, t, r) {
|
|
507
|
+
return n(1762441314, e, t, r).then((o) => d(o));
|
|
508
|
+
}
|
|
509
|
+
function qr(e) {
|
|
510
|
+
return n(1474987050, e).then((t) => d(t));
|
|
511
|
+
}
|
|
512
|
+
function Xr(e) {
|
|
513
|
+
return n(3156347865, e).then((t) => co(t));
|
|
514
|
+
}
|
|
515
|
+
function Yr(e) {
|
|
516
|
+
return n(1444002509, e);
|
|
517
|
+
}
|
|
518
|
+
function Zr() {
|
|
519
|
+
return n(3104582886).then((e) => uo(e));
|
|
520
|
+
}
|
|
521
|
+
function eo() {
|
|
522
|
+
return n(2249742267).then((e) => so(e));
|
|
523
|
+
}
|
|
524
|
+
function to(e, t) {
|
|
525
|
+
return n(1212190993, e, t);
|
|
526
|
+
}
|
|
527
|
+
function no(e, t) {
|
|
528
|
+
return n(2177127885, e, t).then((r) => d(r));
|
|
529
|
+
}
|
|
530
|
+
const ro = _e.createFrom, d = a(ro), oo = ve.createFrom, co = u(oo), uo = u(s), so = u(d), oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
531
|
+
__proto__: null,
|
|
532
|
+
CloseSession: kr,
|
|
533
|
+
CreateSession: Kr,
|
|
534
|
+
GetSession: qr,
|
|
535
|
+
GetSupportedResources: Xr,
|
|
536
|
+
HasPlugin: Yr,
|
|
537
|
+
ListPlugins: Zr,
|
|
538
|
+
ListSessions: eo,
|
|
539
|
+
SendCommand: to,
|
|
540
|
+
UpdateSessionOptions: no
|
|
541
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
542
|
+
class b {
|
|
543
|
+
/** Creates a new MetricProviderSummary instance. */
|
|
544
|
+
constructor(t = {}) {
|
|
545
|
+
$(this, "plugin_id");
|
|
546
|
+
$(this, "provider_id");
|
|
547
|
+
$(this, "name");
|
|
548
|
+
$(this, "icon");
|
|
549
|
+
$(this, "description");
|
|
550
|
+
$(this, "handlers");
|
|
551
|
+
"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);
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
* Creates a new MetricProviderSummary instance from a string or object.
|
|
555
|
+
*/
|
|
556
|
+
static createFrom(t = {}) {
|
|
557
|
+
const r = ao;
|
|
558
|
+
let o = typeof t == "string" ? JSON.parse(t) : t;
|
|
559
|
+
return "handlers" in o && (o.handlers = r(o.handlers)), new b(o);
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
const io = Le.createFrom, ao = u(io);
|
|
563
|
+
function $o() {
|
|
564
|
+
return n(3919346639).then((e) => W(e));
|
|
565
|
+
}
|
|
566
|
+
function po(e) {
|
|
567
|
+
return n(3953821778, e).then((t) => W(t));
|
|
568
|
+
}
|
|
569
|
+
function lo(e) {
|
|
570
|
+
return n(1815388456, e);
|
|
571
|
+
}
|
|
572
|
+
function fo() {
|
|
573
|
+
return n(2730149903).then((e) => mo(e));
|
|
574
|
+
}
|
|
575
|
+
function yo(e, t, r) {
|
|
576
|
+
return n(3947209283, e, t, r).then((o) => E(o));
|
|
577
|
+
}
|
|
578
|
+
function ho(e, t, r, o, c, i, l, f, x, J) {
|
|
579
|
+
return n(2480040278, e, t, r, o, c, i, l, f, x, J).then((k) => Po(k));
|
|
580
|
+
}
|
|
581
|
+
function To(e, t, r) {
|
|
582
|
+
return n(3738888803, e, t, r);
|
|
583
|
+
}
|
|
584
|
+
function go(e) {
|
|
585
|
+
return n(3994236150, e);
|
|
586
|
+
}
|
|
587
|
+
const So = b.createFrom, W = u(So), mo = u(s), Fo = Oe.createFrom, E = a(Fo), Po = p(s, E), cc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
588
|
+
__proto__: null,
|
|
589
|
+
GetProviders: $o,
|
|
590
|
+
GetProvidersForResource: po,
|
|
591
|
+
HasPlugin: lo,
|
|
592
|
+
ListPlugins: fo,
|
|
593
|
+
Query: yo,
|
|
594
|
+
QueryAll: ho,
|
|
595
|
+
Subscribe: To,
|
|
596
|
+
Unsubscribe: go
|
|
597
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
598
|
+
function Go(e) {
|
|
599
|
+
return n(182596922, e).then((t) => m(t));
|
|
600
|
+
}
|
|
601
|
+
function Ro(e, t, r) {
|
|
602
|
+
return n(981100722, e, t, r).then((o) => _(o));
|
|
603
|
+
}
|
|
604
|
+
function Co(e) {
|
|
605
|
+
return n(2157304970, e).then((t) => m(t));
|
|
606
|
+
}
|
|
607
|
+
function bo(e) {
|
|
608
|
+
return n(650882, e).then((t) => U(t));
|
|
609
|
+
}
|
|
610
|
+
function _o(e) {
|
|
611
|
+
return n(3624690437, e);
|
|
612
|
+
}
|
|
613
|
+
function vo() {
|
|
614
|
+
return n(2195697754).then((e) => _(e));
|
|
615
|
+
}
|
|
616
|
+
function Lo() {
|
|
617
|
+
return n(167463150).then((e) => U(e));
|
|
618
|
+
}
|
|
619
|
+
function Oo(e, t) {
|
|
620
|
+
return n(2090415403, e, t).then((r) => _(r));
|
|
621
|
+
}
|
|
622
|
+
function wo(e, t, r) {
|
|
623
|
+
return n(780445954, e, t, r).then((o) => m(o));
|
|
624
|
+
}
|
|
625
|
+
const jo = we.createFrom, m = a(jo), _ = u(m), U = u(s), uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
626
|
+
__proto__: null,
|
|
627
|
+
ClosePortForwardSession: Go,
|
|
628
|
+
FindPortForwardSessions: Ro,
|
|
629
|
+
GetPortForwardSession: Co,
|
|
630
|
+
GetSupportedPortForwardTargets: bo,
|
|
631
|
+
HasPlugin: _o,
|
|
632
|
+
ListAllPortForwardSessions: vo,
|
|
633
|
+
ListPlugins: Lo,
|
|
634
|
+
ListPortForwardSessions: Oo,
|
|
635
|
+
StartResourcePortForwardingSession: wo
|
|
636
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
637
|
+
function Ho(e) {
|
|
638
|
+
return n(2106300110, e).then((t) => Do(t));
|
|
639
|
+
}
|
|
640
|
+
function Mo(e) {
|
|
641
|
+
return n(765209827, e).then((t) => zo(t));
|
|
642
|
+
}
|
|
643
|
+
function Ao(e) {
|
|
644
|
+
return n(2355436169, e).then((t) => N(t));
|
|
645
|
+
}
|
|
646
|
+
const B = je.createFrom, N = u(B), Do = p(s, N), zo = a(B), sc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
647
|
+
__proto__: null,
|
|
648
|
+
GetPluginComponents: Ho,
|
|
649
|
+
GetResourceAreaComponent: Mo,
|
|
650
|
+
GetResourceComponents: Ao
|
|
651
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
652
|
+
function Io(e, t, r, o, c, i) {
|
|
653
|
+
return n(3749557463, e, t, r, o, c, i).then((l) => Bo(l));
|
|
654
|
+
}
|
|
655
|
+
function Vo(e, t, r, o, c, i, l) {
|
|
656
|
+
return n(3912521777, e, t, r, o, c, i, l).then((f) => Q(f));
|
|
657
|
+
}
|
|
658
|
+
function Wo(e, t, r, o, c, i, l) {
|
|
659
|
+
return n(1916045973, e, t, r, o, c, i, l).then((f) => Qo(f));
|
|
660
|
+
}
|
|
661
|
+
function Eo(e, t, r, o, c, i, l) {
|
|
662
|
+
return n(210990208, e, t, r, o, c, i, l).then((f) => Jo(f));
|
|
663
|
+
}
|
|
664
|
+
const Uo = He.createFrom, Bo = a(Uo), No = Me.createFrom, Q = u(No), Qo = u(Q), xo = Ae.createFrom, Jo = a(xo), ic = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
665
|
+
__proto__: null,
|
|
666
|
+
GetDependencyTree: Io,
|
|
667
|
+
GetRelated: Vo,
|
|
668
|
+
GetRelationshipChain: Wo,
|
|
669
|
+
GetSubgraph: Eo
|
|
670
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
671
|
+
export {
|
|
672
|
+
Yo as $,
|
|
673
|
+
Jt as A,
|
|
674
|
+
Mn as B,
|
|
675
|
+
wr as C,
|
|
676
|
+
kt as D,
|
|
677
|
+
An as E,
|
|
678
|
+
Ro as F,
|
|
679
|
+
ke as G,
|
|
680
|
+
Zt as H,
|
|
681
|
+
qt as I,
|
|
682
|
+
rn as J,
|
|
683
|
+
Tn as K,
|
|
684
|
+
Pn as L,
|
|
685
|
+
Hn as M,
|
|
686
|
+
Vo as N,
|
|
687
|
+
Io as O,
|
|
688
|
+
We as P,
|
|
689
|
+
ho as Q,
|
|
690
|
+
Cn as R,
|
|
691
|
+
vn as S,
|
|
692
|
+
Eo as T,
|
|
693
|
+
zn as U,
|
|
694
|
+
At as V,
|
|
695
|
+
rc as W,
|
|
696
|
+
uc as X,
|
|
697
|
+
Zo as Y,
|
|
698
|
+
tc as Z,
|
|
699
|
+
ic as _,
|
|
700
|
+
On as a,
|
|
701
|
+
ec as a0,
|
|
702
|
+
sc as a1,
|
|
703
|
+
oc as a2,
|
|
704
|
+
cc as a3,
|
|
705
|
+
nc as a4,
|
|
706
|
+
tn as b,
|
|
707
|
+
Ln as c,
|
|
708
|
+
wn as d,
|
|
709
|
+
nn as e,
|
|
710
|
+
en as f,
|
|
711
|
+
it as g,
|
|
712
|
+
Fn as h,
|
|
713
|
+
Cr as i,
|
|
714
|
+
_r as j,
|
|
715
|
+
Kr as k,
|
|
716
|
+
kr as l,
|
|
717
|
+
$o as m,
|
|
718
|
+
po as n,
|
|
719
|
+
To as o,
|
|
720
|
+
go as p,
|
|
721
|
+
vo as q,
|
|
722
|
+
Go as r,
|
|
723
|
+
wo as s,
|
|
724
|
+
Dn as t,
|
|
725
|
+
Yt as u,
|
|
726
|
+
Mo as v,
|
|
727
|
+
ln as w,
|
|
728
|
+
mn as x,
|
|
729
|
+
yn as y,
|
|
730
|
+
hn as z
|
|
731
|
+
};
|