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