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