@omniviewdev/runtime 0.9.0 → 0.9.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.
@@ -785,42 +785,43 @@ const yc = i(a), vc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defin
785
785
  Set: fc
786
786
  }, Symbol.toStringTag, { value: "Module" }));
787
787
  export {
788
- Tn as $,
789
- cc as A,
790
- ut as B,
791
- We as C,
792
- ot as D,
793
- lt as E,
788
+ un as $,
789
+ oc as A,
790
+ cc as B,
791
+ on as C,
792
+ ut as D,
793
+ ot as E,
794
794
  ct as F,
795
795
  Tt as G,
796
- kn as H,
797
- sn as I,
798
- pn as J,
799
- jo as K,
796
+ lt as H,
797
+ pn as I,
798
+ kn as J,
799
+ sn as K,
800
800
  An as L,
801
- bn as M,
802
- jn as N,
803
- Cn as O,
801
+ jo as M,
802
+ bn as N,
803
+ jn as O,
804
804
  Xr as P,
805
805
  rc as Q,
806
806
  In as R,
807
807
  Nn as S,
808
- _n as T,
808
+ Cn as T,
809
809
  xn as U,
810
810
  Go as V,
811
- cn as W,
812
- qn as X,
813
- Qn as Y,
814
- ln as Z,
815
- un as _,
811
+ _n as W,
812
+ cn as X,
813
+ qn as Y,
814
+ Qn as Z,
815
+ ln as _,
816
816
  dc as a,
817
- vn as a0,
818
- rn as a1,
819
- Bn as a2,
820
- nn as a3,
821
- Vr as a4,
822
- Ir as a5,
823
- Nr as a6,
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,
824
825
  Cc as b,
825
826
  _c as c,
826
827
  Sc as d,
@@ -841,9 +842,9 @@ export {
841
842
  vc as s,
842
843
  pc as t,
843
844
  fc as u,
844
- Io as v,
845
- Do as w,
846
- Yo as x,
847
- Zo as y,
848
- oc as z
845
+ We as v,
846
+ Io as w,
847
+ Do as x,
848
+ Yo as y,
849
+ Zo as z
849
850
  };
@@ -0,0 +1 @@
1
+ "use strict";const o=require("./index-BVi9X4oU.cjs"),i=require("./models-DQl7tqts.cjs"),n=require("./calls-Bg_uMVc9.cjs");function Je(e){return n.ByID(93318075,e).then(t=>(t[0]=$(t[0]),t[1]=o.ByteSlice(t[1]),t))}function Qe(e){return n.ByID(1353297556,e)}function C(e,t,r){return n.ByID(608251756,e,t,r).then(c=>$(c))}function ke(e){return n.ByID(4182196712,e).then(t=>$(t))}function xe(e){return n.ByID(3993344525,e).then(t=>$(t))}function Ke(e,t){return n.ByID(1779192716,e,t).then(r=>it(r))}function Xe(){return n.ByID(4033362541).then(e=>ut(e))}function Ye(e){return n.ByID(2619212338,e).then(t=>v(t))}function Ze(e){return n.ByID(1371268636,e).then(t=>$(t))}function et(e){return n.ByID(3881019319,e)}function tt(){return n.ByID(3006426324).then(e=>st(e))}function nt(){return n.ByID(265791345).then(e=>at(e))}function rt(e,t,r){return n.ByID(1492965384,e,t,r)}function ot(e,t){return n.ByID(486465741,e,t)}const ct=i.Session.createFrom,$=o.Nullable(ct),R=i.Handler.createFrom,it=o.Nullable(R),v=o.Map(o.Any,R),ut=o.Map(o.Any,v),st=o.Array(o.Any),at=o.Array($),yt=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:Je,CloseSession:Qe,CreateSession:C,CreateTerminal:ke,DetachSession:xe,GetHandler:Ke,GetHandlers:Xe,GetPluginHandlers:Ye,GetSession:Ze,HasPlugin:et,ListPlugins:tt,ListSessions:nt,ResizeSession:rt,WriteSession:ot},Symbol.toStringTag,{value:"Module"}));function _(e){return n.ByID(182596922,e).then(t=>f(t))}function w(e,t,r){return n.ByID(981100722,e,t,r).then(c=>T(c))}function lt(e){return n.ByID(2157304970,e).then(t=>f(t))}function $t(e){return n.ByID(650882,e).then(t=>M(t))}function pt(e){return n.ByID(3624690437,e)}function O(){return n.ByID(2195697754).then(e=>T(e))}function ft(){return n.ByID(167463150).then(e=>M(e))}function ht(e,t){return n.ByID(2090415403,e,t).then(r=>T(r))}function L(e,t,r){return n.ByID(780445954,e,t,r).then(c=>f(c))}const Dt=i.PortForwardSession.createFrom,f=o.Nullable(Dt),T=o.Array(f),M=o.Array(o.Any),It=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:_,FindPortForwardSessions:w,GetPortForwardSession:lt,GetSupportedPortForwardTargets:$t,HasPlugin:pt,ListAllPortForwardSessions:O,ListPlugins:ft,ListPortForwardSessions:ht,StartResourcePortForwardingSession:L},Symbol.toStringTag,{value:"Module"}));function Bt(e){return n.ByID(3150413499,e).then(t=>y(t))}function Tt(e){return n.ByID(1152913314,e).then(t=>jt(t))}function N(e){return n.ByID(111194374,e).then(t=>d(t))}function dt(e){return n.ByID(3945933305,e)}function St(e){return n.ByID(2859775056,e).then(t=>H(t))}function gt(e,t){return n.ByID(2209599792,e,t).then(r=>zt(r))}function mt(e){return n.ByID(3963363730,e).then(t=>H(t))}function Ft(e){return n.ByID(1357029266,e).then(t=>y(t))}function At(){return n.ByID(2477486666).then(e=>h(e))}function bt(){return n.ByID(976517756).then(e=>h(e))}function Gt(e){return n.ByID(1020548995,e).then(t=>h(t))}function Pt(e,t){return n.ByID(2004740384,e,t).then(r=>h(r))}function Ct(){return n.ByID(873697101).then(e=>V(e))}function Rt(){return n.ByID(637134283).then(e=>Wt(e))}function vt(){return n.ByID(550607756).then(e=>Et(e))}function _t(e,t){return n.ByID(288660195,e,t).then(r=>y(r))}function wt(e){return n.ByID(1771013494,e).then(t=>y(t))}function j(e){return n.ByID(2433379724,e).then(t=>y(t))}function Ot(e,t,r){return n.ByID(2783597264,e,t,r).then(c=>V(c))}function Lt(e){return n.ByID(1369550929,e).then(t=>y(t))}function Mt(e){return n.ByID(3828800061,e).then(t=>y(t))}const y=i.PluginInfo.createFrom,Nt=i.DownloadStats.createFrom,jt=o.Nullable(Nt),d=i.PluginMeta.createFrom,Ht=i.VersionInfo.createFrom,H=o.Array(Ht),Vt=i.Review.createFrom,zt=o.Array(Vt),h=o.Nullable(d),Ut=i.AvailablePlugin.createFrom,V=o.Array(Ut),Wt=o.Array(d),Et=o.Array(y),qt=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:Bt,GetPluginDownloadStats:Tt,GetPluginMeta:N,GetPluginReadme:dt,GetPluginReleaseHistory:St,GetPluginReviews:gt,GetPluginVersions:mt,InstallDevPluginFromPath:Ft,InstallFromPathPrompt:At,InstallInDevMode:bt,InstallPluginFromPath:Gt,InstallPluginVersion:Pt,ListAvailablePlugins:Ct,ListPluginMetas:Rt,ListPlugins:vt,LoadPlugin:_t,ReloadPlugin:wt,RetryFailedPlugin:j,SearchPlugins:Ot,UninstallPlugin:Lt,UnlinkDevPlugin:Mt},Symbol.toStringTag,{value:"Module"}));class S{type;label;target;constructor(t={}){"type"in t||(this.type=""),"label"in t||(this.label=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new S(r)}}class g{type;title;status;detail;instance;suggestions;actions;code;requestId;recovery;location;constructor(t={}){"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)}static createFrom(t={}){const r=Jt,c=kt,u=Kt;let s=typeof t=="string"?JSON.parse(t):t;return"suggestions"in s&&(s.suggestions=r(s.suggestions)),"actions"in s&&(s.actions=c(s.actions)),"location"in s&&(s.location=u(s.location)),new g(s)}}class m{start;end;unit;constructor(t={}){"start"in t||(this.start=0),"end"in t||(this.end=0),"unit"in t||(this.unit=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new m(r)}}const Jt=o.Array(o.Any),Qt=S.createFrom,kt=o.Array(Qt),xt=m.createFrom,Kt=o.Nullable(xt);class D{type;data;error;constructor(t={}){"type"in t||(this.type=""),Object.assign(this,t)}static createFrom(t={}){const r=Xt,c=Zt;let u=typeof t=="string"?JSON.parse(t):t;return"data"in u&&(u.data=r(u.data)),"error"in u&&(u.error=c(u.error)),new D(u)}}class F{sequence;event;terminal;constructor(t={}){"sequence"in t||(this.sequence=0),"event"in t||(this.event=new D),"terminal"in t||(this.terminal=!1),Object.assign(this,t)}static createFrom(t={}){const r=en;let c=typeof t=="string"?JSON.parse(t):t;return"event"in c&&(c.event=r(c.event)),new F(c)}}class A{connection;started;resources;resourceCounts;totalResources;syncedCount;errorCount;lastSyncTime;constructor(t={}){"connection"in t||(this.connection=new i.Connection),"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)}static createFrom(t={}){const r=tn,c=nn,u=rn;let s=typeof t=="string"?JSON.parse(t):t;return"connection"in s&&(s.connection=r(s.connection)),"resources"in s&&(s.resources=c(s.resources)),"resourceCounts"in s&&(s.resourceCounts=u(s.resourceCounts)),new A(s)}}const Xt=o.Map(o.Any,o.Any),Yt=g.createFrom,Zt=o.Nullable(Yt),en=D.createFrom,tn=i.Connection.createFrom,nn=o.Map(o.Any,o.Any),rn=o.Map(o.Any,o.Any);function on(e,t){return n.ByID(4065522324,e,t)}function z(e){return n.ByID(2393377246,e).then(t=>Fn(t))}function U(e){return n.ByID(1090099505,e)}function W(e,t){return n.ByID(1688967279,e,t).then(r=>De(r))}function E(e,t,r,c){return n.ByID(1613386605,e,t,r,c).then(u=>bn(u))}function q(e,t,r,c){return n.ByID(1477526970,e,t,r,c).then(u=>Pn(u))}function cn(e,t,r){return n.ByID(1338477906,e,t,r)}function J(e,t,r,c,u){return n.ByID(1844283666,e,t,r,c,u).then(s=>Rn(s))}function un(e,t,r,c){return n.ByID(4148812394,e,t,r,c).then(u=>_n(u))}function Q(e,t,r,c){return n.ByID(194970279,e,t,r,c).then(u=>On(u))}function k(e,t,r){return n.ByID(419011114,e,t,r).then(c=>Mn(c))}function x(){return n.ByID(4153677080).then(e=>Hn(e))}function K(e,t){return n.ByID(950535743,e,t).then(r=>I(r))}function X(e,t){return n.ByID(537508515,e,t).then(r=>Ie(r))}function Y(e,t){return n.ByID(1394342402,e,t).then(r=>zn(r))}function sn(e,t,r){return n.ByID(1947262600,e,t,r).then(c=>Wn(c))}function an(e,t,r,c){return n.ByID(1644192689,e,t,r,c).then(u=>qn(u))}function yn(e,t){return n.ByID(2699561690,e,t).then(r=>Qn(r))}function ln(e,t){return n.ByID(1474609809,e,t).then(r=>xn(r))}function $n(e,t){return n.ByID(4077050094,e,t).then(r=>Kn(r))}function pn(e,t,r,c,u,s){return n.ByID(3171791798,e,t,r,c,u,s).then(a=>Yn(a))}function fn(e,t){return n.ByID(114848330,e,t).then(r=>Be(r))}function Z(e,t){return n.ByID(4290498491,e,t).then(r=>Zn(r))}function hn(e,t,r){return n.ByID(137675652,e,t,r)}function ee(e,t){return n.ByID(2078766795,e,t).then(r=>er(r))}function te(e,t){return n.ByID(3311395752,e,t).then(r=>tr(r))}function ne(e,t){return n.ByID(42345827,e,t).then(r=>rr(r))}function Dn(e){return n.ByID(854008408,e)}function In(e,t){return n.ByID(3547410887,e,t)}function Bn(e,t,r){return n.ByID(3516169863,e,t,r)}function re(e,t,r,c){return n.ByID(3093409425,e,t,r,c).then(u=>cr(u))}function oe(){return n.ByID(1598984489).then(e=>ir(e))}function ce(e){return n.ByID(1775572154,e).then(t=>b(t))}function Tn(){return n.ByID(3217612415).then(e=>Ie(e))}function dn(e){return n.ByID(2037329938,e).then(t=>b(t))}function ie(e,t){return n.ByID(421198049,e,t)}function Sn(e,t,r,c,u){return n.ByID(3987850310,e,t,r,c,u).then(s=>sr(s))}function gn(e,t,r){return n.ByID(555702059,e,t,r)}function ue(e,t){return n.ByID(3276991559,e,t).then(r=>De(r))}function se(e,t){return n.ByID(3389223006,e,t)}function ae(e,t){return n.ByID(794258089,e,t).then(r=>I(r))}function ye(e,t){return n.ByID(1661153284,e,t)}function mn(e,t,r){return n.ByID(3981374696,e,t,r)}function le(e,t,r,c,u){return n.ByID(2990116431,e,t,r,c,u)}function $e(e,t,r){return n.ByID(2856546527,e,t,r)}function pe(e,t,r){return n.ByID(3710015102,e,t,r)}function fe(e,t,r,c){return n.ByID(2408192164,e,t,r,c).then(u=>yr(u))}function he(e,t){return n.ByID(2131988692,e,t).then(r=>I(r))}const Fn=F.createFrom,De=i.ConnectionStatus.createFrom,An=i.CreateResult.createFrom,bn=o.Nullable(An),Gn=i.DeleteResult.createFrom,Pn=o.Nullable(Gn),Cn=i.ActionResult.createFrom,Rn=o.Nullable(Cn),vn=i.FindResult.createFrom,_n=o.Nullable(vn),wn=i.GetResult.createFrom,On=o.Nullable(wn),Ln=i.ActionDescriptor.createFrom,Mn=o.Array(Ln),Nn=A.createFrom,jn=o.Array(Nn),Hn=o.Map(o.Any,jn),I=i.Connection.createFrom,Ie=o.Array(o.Any),Vn=i.EditorSchema.createFrom,zn=o.Array(Vn),Un=i.FilterField.createFrom,Wn=o.Array(Un),En=i.ResourceHealth.createFrom,qn=o.Nullable(En),Jn=i.RelationshipDescriptor.createFrom,Qn=o.Array(Jn),kn=i.ResourceCapabilities.createFrom,xn=o.Nullable(kn),Kn=i.ResourceDefinition.createFrom,Xn=i.ResourceEvent.createFrom,Yn=o.Array(Xn),Be=i.ResourceGroup.createFrom,Zn=o.Map(o.Any,Be),Te=i.ResourceMeta.createFrom,er=o.Nullable(Te),tr=o.Map(o.Any,Te),nr=i.WatchConnectionSummary.createFrom,rr=o.Nullable(nr),or=i.ListResult.createFrom,cr=o.Nullable(or),b=o.Array(I),ir=o.Map(o.Any,b),ur=i.ResolvedRelationship.createFrom,sr=o.Array(ur),ar=i.UpdateResult.createFrom,yr=o.Nullable(ar),lr=Object.freeze(Object.defineProperty({__proto__:null,AddConnection:on,AttachStreamAction:z,CancelStreamAction:U,CheckConnection:W,Create:E,Delete:q,EnsureResourceWatch:cn,ExecuteAction:J,Find:un,Get:Q,GetActions:k,GetAllConnectionStates:x,GetConnection:K,GetConnectionNamespaces:X,GetEditorSchemas:Y,GetFilterFields:sn,GetHealth:an,GetRelationships:yn,GetResourceCapabilities:ln,GetResourceDefinition:$n,GetResourceEvents:pn,GetResourceGroup:fn,GetResourceGroups:Z,GetResourceSchema:hn,GetResourceType:ee,GetResourceTypes:te,GetWatchState:ne,HasPlugin:Dn,HasResourceType:In,IsResourceWatchRunning:Bn,List:re,ListAllConnections:oe,ListConnections:ce,ListPlugins:Tn,LoadConnections:dn,RemoveConnection:ie,ResolveRelationships:Sn,RestartResourceWatch:gn,StartConnection:ue,StartConnectionWatch:se,StopConnection:ae,StopConnectionWatch:ye,StopResourceWatch:mn,StreamAction:le,SubscribeResource:$e,UnsubscribeResource:pe,Update:fe,UpdateConnection:he},Symbol.toStringTag,{value:"Module"}));function de(e,t,r,c,u,s){return n.ByID(3749557463,e,t,r,c,u,s).then(a=>fr(a))}function Se(e,t,r,c,u,s,a){return n.ByID(3912521777,e,t,r,c,u,s,a).then(l=>me(l))}function $r(e,t,r,c,u,s,a){return n.ByID(1916045973,e,t,r,c,u,s,a).then(l=>Dr(l))}function ge(e,t,r,c,u,s,a){return n.ByID(210990208,e,t,r,c,u,s,a).then(l=>Br(l))}const pr=i.DependencyTree.createFrom,fr=o.Nullable(pr),hr=i.GraphEdge.createFrom,me=o.Array(hr),Dr=o.Array(me),Ir=i.Subgraph.createFrom,Br=o.Nullable(Ir),Tr=Object.freeze(Object.defineProperty({__proto__:null,GetDependencyTree:de,GetRelated:Se,GetRelationshipChain:$r,GetSubgraph:ge},Symbol.toStringTag,{value:"Module"}));function dr(e,t){return n.ByID(3867104420,e,t).then(r=>Ae(r))}function Sr(e){return n.ByID(3795411887,e)}function gr(){return n.ByID(1053995964).then(e=>Pr(e))}function mr(e){return n.ByID(3231741321,e).then(t=>Cr(t))}function Fe(e){return n.ByID(2597562645,e).then(t=>be(t))}function Fr(e,t,r){return n.ByID(1481837168,e,t,r)}function Ar(e,t){return n.ByID(230212281,e,t)}function br(e,t,r){return n.ByID(1534017462,e,t,r).then(c=>Rr(c))}function Gr(){return n.ByID(2408440370).then(e=>be(e))}const Ae=i.Setting.createFrom,Pr=o.Array(o.Any),Cr=o.Map(o.Any,Ae),be=o.Map(o.Any,o.Any),Rr=i.ValidationResult.createFrom,vr=Object.freeze(Object.defineProperty({__proto__:null,GetSetting:dr,HasPlugin:Sr,ListPlugins:gr,ListSettings:mr,PluginValues:Fe,SetSetting:Fr,SetSettings:Ar,ValidateSetting:br,Values:Gr},Symbol.toStringTag,{value:"Module"}));function _r(e){return n.ByID(122243240,e)}function wr(){return n.ByID(269082212).then(e=>xr(e))}function Or(e){return n.ByID(1421156656,e).then(t=>G(t))}function Lr(e){return n.ByID(3143996982,e).then(t=>Pe(t))}function Mr(e){return n.ByID(1695819138,e)}function Nr(e){return n.ByID(1827194808,e).then(t=>Kr(t))}function jr(e){return n.ByID(72059321,e)}function Hr(e){return n.ByID(62418781,e).then(t=>Xr(t))}function Vr(e){return n.ByID(2222012564,e).then(t=>Yr(t))}function zr(e){return n.ByID(2753368941,e)}function Ur(e){return n.ByID(3825211425,e)}function Wr(e){return n.ByID(2121298005,e).then(t=>Zr(t))}function Er(){return n.ByID(3038957305).then(e=>p(e))}function qr(){return n.ByID(3369612893)}function Jr(e,t){return n.ByID(252556992,e,t)}function Qr(e){return n.ByID(1704369097,e)}function kr(e,t){return n.ByID(1399113254,e,t).then(r=>to(r))}function Ge(){return n.ByID(2936263106).then(e=>Pe(e))}const G=i.Category.createFrom,xr=o.Array(G),Pe=o.Map(o.Any,o.Any),Kr=o.Array(o.Any),Xr=o.Array(o.Any),Yr=i.Setting.createFrom,Zr=o.Array(o.Any);var p=function e(...t){return p===e&&(p=eo),p(...t)};const eo=o.Map(o.Any,G),to=i.ValidationResult.createFrom,no=Object.freeze(Object.defineProperty({__proto__:null,GetBool:_r,GetCategories:wr,GetCategory:Or,GetCategoryValues:Lr,GetFloat:Mr,GetFloatSlice:Nr,GetInt:jr,GetIntSlice:Hr,GetSetting:Vr,GetSettingValue:zr,GetString:Ur,GetStringSlice:Wr,ListSettings:Er,LoadSettings:qr,SetSetting:Jr,SetSettings:Qr,ValidateSetting:kr,Values:Ge},Symbol.toStringTag,{value:"Module"}));function ro(e){return n.ByID(2106300110,e).then(t=>co(t))}function Ce(e){return n.ByID(765209827,e).then(t=>io(t))}function oo(e){return n.ByID(2355436169,e).then(t=>ve(t))}const Re=i.ResourceComponent.createFrom,ve=o.Array(Re),co=o.Map(o.Any,ve),io=o.Nullable(Re),uo=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:ro,GetResourceAreaComponent:Ce,GetResourceComponents:oo},Symbol.toStringTag,{value:"Module"}));function _e(e){return n.ByID(2776241946,e)}function we(e,t,r){return n.ByID(1762441314,e,t,r).then(c=>B(c))}function so(e){return n.ByID(1474987050,e).then(t=>B(t))}function ao(e){return n.ByID(3156347865,e).then(t=>Io(t))}function yo(e){return n.ByID(1444002509,e)}function lo(){return n.ByID(3104582886).then(e=>Bo(e))}function $o(){return n.ByID(2249742267).then(e=>To(e))}function po(e,t){return n.ByID(1212190993,e,t)}function fo(e,t){return n.ByID(2177127885,e,t).then(r=>B(r))}const ho=i.LogSession.createFrom,B=o.Nullable(ho),Do=i.Handler$1.createFrom,Io=o.Array(Do),Bo=o.Array(o.Any),To=o.Array(B),So=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:_e,CreateSession:we,GetSession:so,GetSupportedResources:ao,HasPlugin:yo,ListPlugins:lo,ListSessions:$o,SendCommand:po,UpdateSessionOptions:fo},Symbol.toStringTag,{value:"Module"}));class P{plugin_id;provider_id;name;icon;description;handlers;constructor(t={}){"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)}static createFrom(t={}){const r=mo;let c=typeof t=="string"?JSON.parse(t):t;return"handlers"in c&&(c.handlers=r(c.handlers)),new P(c)}}const go=i.Handler$2.createFrom,mo=o.Array(go);function Oe(){return n.ByID(3919346639).then(e=>He(e))}function Le(e){return n.ByID(3953821778,e).then(t=>He(t))}function Fo(e){return n.ByID(1815388456,e)}function Ao(){return n.ByID(2730149903).then(e=>Po(e))}function bo(e,t,r){return n.ByID(3947209283,e,t,r).then(c=>Ve(c))}function Me(e,t,r,c,u,s,a,l,We,Ee){return n.ByID(2480040278,e,t,r,c,u,s,a,l,We,Ee).then(qe=>Ro(qe))}function Ne(e,t,r){return n.ByID(3738888803,e,t,r)}function je(e){return n.ByID(3994236150,e)}const Go=P.createFrom,He=o.Array(Go),Po=o.Array(o.Any),Co=i.QueryResponse.createFrom,Ve=o.Nullable(Co),Ro=o.Map(o.Any,Ve),vo=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:Oe,GetProvidersForResource:Le,HasPlugin:Fo,ListPlugins:Ao,Query:bo,QueryAll:Me,Subscribe:Ne,Unsubscribe:je},Symbol.toStringTag,{value:"Module"}));function _o(e,t){return n.ByID(3653639550,e,t)}function ze(e,t){return n.ByID(851823419,e,t)}function wo(e){return n.ByID(2991415449,e).then(t=>Oo(t))}function Ue(e,t,r){return n.ByID(2695679023,e,t,r)}const Oo=o.Array(o.Any),Lo=Object.freeze(Object.defineProperty({__proto__:null,Delete:_o,Get:ze,Keys:wo,Set:Ue},Symbol.toStringTag,{value:"Module"}));exports.AttachStreamAction=z;exports.CancelStreamAction=U;exports.CheckConnection=W;exports.ClosePortForwardSession=_;exports.CloseSession=_e;exports.Create=E;exports.CreateSession=C;exports.CreateSession$1=we;exports.Delete=q;exports.ExecuteAction=J;exports.FindPortForwardSessions=w;exports.Get=ze;exports.Get$1=Q;exports.GetActions=k;exports.GetAllConnectionStates=x;exports.GetConnection=K;exports.GetConnectionNamespaces=X;exports.GetDependencyTree=de;exports.GetEditorSchemas=Y;exports.GetPluginMeta=N;exports.GetProviders=Oe;exports.GetProvidersForResource=Le;exports.GetRelated=Se;exports.GetResourceAreaComponent=Ce;exports.GetResourceGroups=Z;exports.GetResourceType=ee;exports.GetResourceTypes=te;exports.GetSubgraph=ge;exports.GetWatchState=ne;exports.List=re;exports.ListAllConnections=oe;exports.ListAllPortForwardSessions=O;exports.ListConnections=ce;exports.PluginValues=Fe;exports.QueryAll=Me;exports.RemoveConnection=ie;exports.RetryFailedPlugin=j;exports.Set=Ue;exports.StartConnection=ue;exports.StartConnectionWatch=se;exports.StartResourcePortForwardingSession=L;exports.StopConnection=ae;exports.StopConnectionWatch=ye;exports.StreamAction=le;exports.Subscribe=Ne;exports.SubscribeResource=$e;exports.Unsubscribe=je;exports.UnsubscribeResource=pe;exports.Update=fe;exports.UpdateConnection=he;exports.Values=Ge;exports.graphservice=Tr;exports.servicewrapper=Lo;exports.servicewrapper$1=yt;exports.servicewrapper$2=So;exports.servicewrapper$3=vo;exports.servicewrapper$4=It;exports.servicewrapper$5=qt;exports.servicewrapper$6=lr;exports.servicewrapper$7=vr;exports.servicewrapper$8=no;exports.servicewrapper$9=uo;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Omniview",
3
3
  "license": "AGPL-3.0-only",
4
4
  "name": "@omniviewdev/runtime",
5
- "version": "0.9.0",
5
+ "version": "0.9.2",
6
6
  "description": "Runtime shared library for Omniview",
7
7
  "sideEffects": false,
8
8
  "type": "module",
@@ -1 +0,0 @@
1
- "use strict";const o=require("./index-BVi9X4oU.cjs"),i=require("./models-DQl7tqts.cjs"),n=require("./calls-Bg_uMVc9.cjs");function qe(e){return n.ByID(93318075,e).then(t=>(t[0]=$(t[0]),t[1]=o.ByteSlice(t[1]),t))}function Je(e){return n.ByID(1353297556,e)}function C(e,t,r){return n.ByID(608251756,e,t,r).then(c=>$(c))}function Qe(e){return n.ByID(4182196712,e).then(t=>$(t))}function xe(e){return n.ByID(3993344525,e).then(t=>$(t))}function ke(e,t){return n.ByID(1779192716,e,t).then(r=>ct(r))}function Ke(){return n.ByID(4033362541).then(e=>it(e))}function Xe(e){return n.ByID(2619212338,e).then(t=>v(t))}function Ye(e){return n.ByID(1371268636,e).then(t=>$(t))}function Ze(e){return n.ByID(3881019319,e)}function et(){return n.ByID(3006426324).then(e=>ut(e))}function tt(){return n.ByID(265791345).then(e=>st(e))}function nt(e,t,r){return n.ByID(1492965384,e,t,r)}function rt(e,t){return n.ByID(486465741,e,t)}const ot=i.Session.createFrom,$=o.Nullable(ot),R=i.Handler.createFrom,ct=o.Nullable(R),v=o.Map(o.Any,R),it=o.Map(o.Any,v),ut=o.Array(o.Any),st=o.Array($),at=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:qe,CloseSession:Je,CreateSession:C,CreateTerminal:Qe,DetachSession:xe,GetHandler:ke,GetHandlers:Ke,GetPluginHandlers:Xe,GetSession:Ye,HasPlugin:Ze,ListPlugins:et,ListSessions:tt,ResizeSession:nt,WriteSession:rt},Symbol.toStringTag,{value:"Module"}));function _(e){return n.ByID(182596922,e).then(t=>f(t))}function w(e,t,r){return n.ByID(981100722,e,t,r).then(c=>T(c))}function yt(e){return n.ByID(2157304970,e).then(t=>f(t))}function lt(e){return n.ByID(650882,e).then(t=>M(t))}function $t(e){return n.ByID(3624690437,e)}function O(){return n.ByID(2195697754).then(e=>T(e))}function pt(){return n.ByID(167463150).then(e=>M(e))}function ft(e,t){return n.ByID(2090415403,e,t).then(r=>T(r))}function L(e,t,r){return n.ByID(780445954,e,t,r).then(c=>f(c))}const ht=i.PortForwardSession.createFrom,f=o.Nullable(ht),T=o.Array(f),M=o.Array(o.Any),Dt=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:_,FindPortForwardSessions:w,GetPortForwardSession:yt,GetSupportedPortForwardTargets:lt,HasPlugin:$t,ListAllPortForwardSessions:O,ListPlugins:pt,ListPortForwardSessions:ft,StartResourcePortForwardingSession:L},Symbol.toStringTag,{value:"Module"}));function It(e){return n.ByID(3150413499,e).then(t=>y(t))}function Bt(e){return n.ByID(1152913314,e).then(t=>Nt(t))}function N(e){return n.ByID(111194374,e).then(t=>d(t))}function Tt(e){return n.ByID(3945933305,e)}function dt(e){return n.ByID(2859775056,e).then(t=>H(t))}function St(e,t){return n.ByID(2209599792,e,t).then(r=>Vt(r))}function gt(e){return n.ByID(3963363730,e).then(t=>H(t))}function mt(e){return n.ByID(1357029266,e).then(t=>y(t))}function Ft(){return n.ByID(2477486666).then(e=>h(e))}function At(){return n.ByID(976517756).then(e=>h(e))}function bt(e){return n.ByID(1020548995,e).then(t=>h(t))}function Gt(e,t){return n.ByID(2004740384,e,t).then(r=>h(r))}function Pt(){return n.ByID(873697101).then(e=>V(e))}function Ct(){return n.ByID(637134283).then(e=>Ut(e))}function Rt(){return n.ByID(550607756).then(e=>Wt(e))}function vt(e,t){return n.ByID(288660195,e,t).then(r=>y(r))}function _t(e){return n.ByID(1771013494,e).then(t=>y(t))}function j(e){return n.ByID(2433379724,e).then(t=>y(t))}function wt(e,t,r){return n.ByID(2783597264,e,t,r).then(c=>V(c))}function Ot(e){return n.ByID(1369550929,e).then(t=>y(t))}function Lt(e){return n.ByID(3828800061,e).then(t=>y(t))}const y=i.PluginInfo.createFrom,Mt=i.DownloadStats.createFrom,Nt=o.Nullable(Mt),d=i.PluginMeta.createFrom,jt=i.VersionInfo.createFrom,H=o.Array(jt),Ht=i.Review.createFrom,Vt=o.Array(Ht),h=o.Nullable(d),zt=i.AvailablePlugin.createFrom,V=o.Array(zt),Ut=o.Array(d),Wt=o.Array(y),Et=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:It,GetPluginDownloadStats:Bt,GetPluginMeta:N,GetPluginReadme:Tt,GetPluginReleaseHistory:dt,GetPluginReviews:St,GetPluginVersions:gt,InstallDevPluginFromPath:mt,InstallFromPathPrompt:Ft,InstallInDevMode:At,InstallPluginFromPath:bt,InstallPluginVersion:Gt,ListAvailablePlugins:Pt,ListPluginMetas:Ct,ListPlugins:Rt,LoadPlugin:vt,ReloadPlugin:_t,RetryFailedPlugin:j,SearchPlugins:wt,UninstallPlugin:Ot,UnlinkDevPlugin:Lt},Symbol.toStringTag,{value:"Module"}));class S{type;label;target;constructor(t={}){"type"in t||(this.type=""),"label"in t||(this.label=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new S(r)}}class g{type;title;status;detail;instance;suggestions;actions;code;requestId;recovery;location;constructor(t={}){"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)}static createFrom(t={}){const r=qt,c=Qt,u=kt;let s=typeof t=="string"?JSON.parse(t):t;return"suggestions"in s&&(s.suggestions=r(s.suggestions)),"actions"in s&&(s.actions=c(s.actions)),"location"in s&&(s.location=u(s.location)),new g(s)}}class m{start;end;unit;constructor(t={}){"start"in t||(this.start=0),"end"in t||(this.end=0),"unit"in t||(this.unit=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new m(r)}}const qt=o.Array(o.Any),Jt=S.createFrom,Qt=o.Array(Jt),xt=m.createFrom,kt=o.Nullable(xt);class D{type;data;error;constructor(t={}){"type"in t||(this.type=""),Object.assign(this,t)}static createFrom(t={}){const r=Kt,c=Yt;let u=typeof t=="string"?JSON.parse(t):t;return"data"in u&&(u.data=r(u.data)),"error"in u&&(u.error=c(u.error)),new D(u)}}class F{sequence;event;terminal;constructor(t={}){"sequence"in t||(this.sequence=0),"event"in t||(this.event=new D),"terminal"in t||(this.terminal=!1),Object.assign(this,t)}static createFrom(t={}){const r=Zt;let c=typeof t=="string"?JSON.parse(t):t;return"event"in c&&(c.event=r(c.event)),new F(c)}}class A{connection;started;resources;resourceCounts;totalResources;syncedCount;errorCount;lastSyncTime;constructor(t={}){"connection"in t||(this.connection=new i.Connection),"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)}static createFrom(t={}){const r=en,c=tn,u=nn;let s=typeof t=="string"?JSON.parse(t):t;return"connection"in s&&(s.connection=r(s.connection)),"resources"in s&&(s.resources=c(s.resources)),"resourceCounts"in s&&(s.resourceCounts=u(s.resourceCounts)),new A(s)}}const Kt=o.Map(o.Any,o.Any),Xt=g.createFrom,Yt=o.Nullable(Xt),Zt=D.createFrom,en=i.Connection.createFrom,tn=o.Map(o.Any,o.Any),nn=o.Map(o.Any,o.Any);function rn(e,t){return n.ByID(4065522324,e,t)}function z(e){return n.ByID(2393377246,e).then(t=>Fn(t))}function U(e){return n.ByID(1090099505,e)}function on(e,t){return n.ByID(1688967279,e,t).then(r=>he(r))}function W(e,t,r,c){return n.ByID(1613386605,e,t,r,c).then(u=>bn(u))}function E(e,t,r,c){return n.ByID(1477526970,e,t,r,c).then(u=>Pn(u))}function cn(e,t,r){return n.ByID(1338477906,e,t,r)}function q(e,t,r,c,u){return n.ByID(1844283666,e,t,r,c,u).then(s=>Rn(s))}function un(e,t,r,c){return n.ByID(4148812394,e,t,r,c).then(u=>_n(u))}function J(e,t,r,c){return n.ByID(194970279,e,t,r,c).then(u=>On(u))}function Q(e,t,r){return n.ByID(419011114,e,t,r).then(c=>Mn(c))}function x(){return n.ByID(4153677080).then(e=>Hn(e))}function k(e,t){return n.ByID(950535743,e,t).then(r=>I(r))}function K(e,t){return n.ByID(537508515,e,t).then(r=>De(r))}function X(e,t){return n.ByID(1394342402,e,t).then(r=>zn(r))}function sn(e,t,r){return n.ByID(1947262600,e,t,r).then(c=>Wn(c))}function an(e,t,r,c){return n.ByID(1644192689,e,t,r,c).then(u=>qn(u))}function yn(e,t){return n.ByID(2699561690,e,t).then(r=>Qn(r))}function ln(e,t){return n.ByID(1474609809,e,t).then(r=>kn(r))}function $n(e,t){return n.ByID(4077050094,e,t).then(r=>Kn(r))}function pn(e,t,r,c,u,s){return n.ByID(3171791798,e,t,r,c,u,s).then(a=>Yn(a))}function fn(e,t){return n.ByID(114848330,e,t).then(r=>Ie(r))}function Y(e,t){return n.ByID(4290498491,e,t).then(r=>Zn(r))}function hn(e,t,r){return n.ByID(137675652,e,t,r)}function Z(e,t){return n.ByID(2078766795,e,t).then(r=>er(r))}function ee(e,t){return n.ByID(3311395752,e,t).then(r=>tr(r))}function te(e,t){return n.ByID(42345827,e,t).then(r=>rr(r))}function Dn(e){return n.ByID(854008408,e)}function In(e,t){return n.ByID(3547410887,e,t)}function Bn(e,t,r){return n.ByID(3516169863,e,t,r)}function ne(e,t,r,c){return n.ByID(3093409425,e,t,r,c).then(u=>cr(u))}function re(){return n.ByID(1598984489).then(e=>ir(e))}function oe(e){return n.ByID(1775572154,e).then(t=>b(t))}function Tn(){return n.ByID(3217612415).then(e=>De(e))}function dn(e){return n.ByID(2037329938,e).then(t=>b(t))}function ce(e,t){return n.ByID(421198049,e,t)}function Sn(e,t,r,c,u){return n.ByID(3987850310,e,t,r,c,u).then(s=>sr(s))}function gn(e,t,r){return n.ByID(555702059,e,t,r)}function ie(e,t){return n.ByID(3276991559,e,t).then(r=>he(r))}function ue(e,t){return n.ByID(3389223006,e,t)}function se(e,t){return n.ByID(794258089,e,t).then(r=>I(r))}function ae(e,t){return n.ByID(1661153284,e,t)}function mn(e,t,r){return n.ByID(3981374696,e,t,r)}function ye(e,t,r,c,u){return n.ByID(2990116431,e,t,r,c,u)}function le(e,t,r){return n.ByID(2856546527,e,t,r)}function $e(e,t,r){return n.ByID(3710015102,e,t,r)}function pe(e,t,r,c){return n.ByID(2408192164,e,t,r,c).then(u=>yr(u))}function fe(e,t){return n.ByID(2131988692,e,t).then(r=>I(r))}const Fn=F.createFrom,he=i.ConnectionStatus.createFrom,An=i.CreateResult.createFrom,bn=o.Nullable(An),Gn=i.DeleteResult.createFrom,Pn=o.Nullable(Gn),Cn=i.ActionResult.createFrom,Rn=o.Nullable(Cn),vn=i.FindResult.createFrom,_n=o.Nullable(vn),wn=i.GetResult.createFrom,On=o.Nullable(wn),Ln=i.ActionDescriptor.createFrom,Mn=o.Array(Ln),Nn=A.createFrom,jn=o.Array(Nn),Hn=o.Map(o.Any,jn),I=i.Connection.createFrom,De=o.Array(o.Any),Vn=i.EditorSchema.createFrom,zn=o.Array(Vn),Un=i.FilterField.createFrom,Wn=o.Array(Un),En=i.ResourceHealth.createFrom,qn=o.Nullable(En),Jn=i.RelationshipDescriptor.createFrom,Qn=o.Array(Jn),xn=i.ResourceCapabilities.createFrom,kn=o.Nullable(xn),Kn=i.ResourceDefinition.createFrom,Xn=i.ResourceEvent.createFrom,Yn=o.Array(Xn),Ie=i.ResourceGroup.createFrom,Zn=o.Map(o.Any,Ie),Be=i.ResourceMeta.createFrom,er=o.Nullable(Be),tr=o.Map(o.Any,Be),nr=i.WatchConnectionSummary.createFrom,rr=o.Nullable(nr),or=i.ListResult.createFrom,cr=o.Nullable(or),b=o.Array(I),ir=o.Map(o.Any,b),ur=i.ResolvedRelationship.createFrom,sr=o.Array(ur),ar=i.UpdateResult.createFrom,yr=o.Nullable(ar),lr=Object.freeze(Object.defineProperty({__proto__:null,AddConnection:rn,AttachStreamAction:z,CancelStreamAction:U,CheckConnection:on,Create:W,Delete:E,EnsureResourceWatch:cn,ExecuteAction:q,Find:un,Get:J,GetActions:Q,GetAllConnectionStates:x,GetConnection:k,GetConnectionNamespaces:K,GetEditorSchemas:X,GetFilterFields:sn,GetHealth:an,GetRelationships:yn,GetResourceCapabilities:ln,GetResourceDefinition:$n,GetResourceEvents:pn,GetResourceGroup:fn,GetResourceGroups:Y,GetResourceSchema:hn,GetResourceType:Z,GetResourceTypes:ee,GetWatchState:te,HasPlugin:Dn,HasResourceType:In,IsResourceWatchRunning:Bn,List:ne,ListAllConnections:re,ListConnections:oe,ListPlugins:Tn,LoadConnections:dn,RemoveConnection:ce,ResolveRelationships:Sn,RestartResourceWatch:gn,StartConnection:ie,StartConnectionWatch:ue,StopConnection:se,StopConnectionWatch:ae,StopResourceWatch:mn,StreamAction:ye,SubscribeResource:le,UnsubscribeResource:$e,Update:pe,UpdateConnection:fe},Symbol.toStringTag,{value:"Module"}));function Te(e,t,r,c,u,s){return n.ByID(3749557463,e,t,r,c,u,s).then(a=>fr(a))}function de(e,t,r,c,u,s,a){return n.ByID(3912521777,e,t,r,c,u,s,a).then(l=>ge(l))}function $r(e,t,r,c,u,s,a){return n.ByID(1916045973,e,t,r,c,u,s,a).then(l=>Dr(l))}function Se(e,t,r,c,u,s,a){return n.ByID(210990208,e,t,r,c,u,s,a).then(l=>Br(l))}const pr=i.DependencyTree.createFrom,fr=o.Nullable(pr),hr=i.GraphEdge.createFrom,ge=o.Array(hr),Dr=o.Array(ge),Ir=i.Subgraph.createFrom,Br=o.Nullable(Ir),Tr=Object.freeze(Object.defineProperty({__proto__:null,GetDependencyTree:Te,GetRelated:de,GetRelationshipChain:$r,GetSubgraph:Se},Symbol.toStringTag,{value:"Module"}));function dr(e,t){return n.ByID(3867104420,e,t).then(r=>Fe(r))}function Sr(e){return n.ByID(3795411887,e)}function gr(){return n.ByID(1053995964).then(e=>Pr(e))}function mr(e){return n.ByID(3231741321,e).then(t=>Cr(t))}function me(e){return n.ByID(2597562645,e).then(t=>Ae(t))}function Fr(e,t,r){return n.ByID(1481837168,e,t,r)}function Ar(e,t){return n.ByID(230212281,e,t)}function br(e,t,r){return n.ByID(1534017462,e,t,r).then(c=>Rr(c))}function Gr(){return n.ByID(2408440370).then(e=>Ae(e))}const Fe=i.Setting.createFrom,Pr=o.Array(o.Any),Cr=o.Map(o.Any,Fe),Ae=o.Map(o.Any,o.Any),Rr=i.ValidationResult.createFrom,vr=Object.freeze(Object.defineProperty({__proto__:null,GetSetting:dr,HasPlugin:Sr,ListPlugins:gr,ListSettings:mr,PluginValues:me,SetSetting:Fr,SetSettings:Ar,ValidateSetting:br,Values:Gr},Symbol.toStringTag,{value:"Module"}));function _r(e){return n.ByID(122243240,e)}function wr(){return n.ByID(269082212).then(e=>kr(e))}function Or(e){return n.ByID(1421156656,e).then(t=>G(t))}function Lr(e){return n.ByID(3143996982,e).then(t=>Ge(t))}function Mr(e){return n.ByID(1695819138,e)}function Nr(e){return n.ByID(1827194808,e).then(t=>Kr(t))}function jr(e){return n.ByID(72059321,e)}function Hr(e){return n.ByID(62418781,e).then(t=>Xr(t))}function Vr(e){return n.ByID(2222012564,e).then(t=>Yr(t))}function zr(e){return n.ByID(2753368941,e)}function Ur(e){return n.ByID(3825211425,e)}function Wr(e){return n.ByID(2121298005,e).then(t=>Zr(t))}function Er(){return n.ByID(3038957305).then(e=>p(e))}function qr(){return n.ByID(3369612893)}function Jr(e,t){return n.ByID(252556992,e,t)}function Qr(e){return n.ByID(1704369097,e)}function xr(e,t){return n.ByID(1399113254,e,t).then(r=>to(r))}function be(){return n.ByID(2936263106).then(e=>Ge(e))}const G=i.Category.createFrom,kr=o.Array(G),Ge=o.Map(o.Any,o.Any),Kr=o.Array(o.Any),Xr=o.Array(o.Any),Yr=i.Setting.createFrom,Zr=o.Array(o.Any);var p=function e(...t){return p===e&&(p=eo),p(...t)};const eo=o.Map(o.Any,G),to=i.ValidationResult.createFrom,no=Object.freeze(Object.defineProperty({__proto__:null,GetBool:_r,GetCategories:wr,GetCategory:Or,GetCategoryValues:Lr,GetFloat:Mr,GetFloatSlice:Nr,GetInt:jr,GetIntSlice:Hr,GetSetting:Vr,GetSettingValue:zr,GetString:Ur,GetStringSlice:Wr,ListSettings:Er,LoadSettings:qr,SetSetting:Jr,SetSettings:Qr,ValidateSetting:xr,Values:be},Symbol.toStringTag,{value:"Module"}));function ro(e){return n.ByID(2106300110,e).then(t=>co(t))}function Pe(e){return n.ByID(765209827,e).then(t=>io(t))}function oo(e){return n.ByID(2355436169,e).then(t=>Re(t))}const Ce=i.ResourceComponent.createFrom,Re=o.Array(Ce),co=o.Map(o.Any,Re),io=o.Nullable(Ce),uo=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:ro,GetResourceAreaComponent:Pe,GetResourceComponents:oo},Symbol.toStringTag,{value:"Module"}));function ve(e){return n.ByID(2776241946,e)}function _e(e,t,r){return n.ByID(1762441314,e,t,r).then(c=>B(c))}function so(e){return n.ByID(1474987050,e).then(t=>B(t))}function ao(e){return n.ByID(3156347865,e).then(t=>Io(t))}function yo(e){return n.ByID(1444002509,e)}function lo(){return n.ByID(3104582886).then(e=>Bo(e))}function $o(){return n.ByID(2249742267).then(e=>To(e))}function po(e,t){return n.ByID(1212190993,e,t)}function fo(e,t){return n.ByID(2177127885,e,t).then(r=>B(r))}const ho=i.LogSession.createFrom,B=o.Nullable(ho),Do=i.Handler$1.createFrom,Io=o.Array(Do),Bo=o.Array(o.Any),To=o.Array(B),So=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:ve,CreateSession:_e,GetSession:so,GetSupportedResources:ao,HasPlugin:yo,ListPlugins:lo,ListSessions:$o,SendCommand:po,UpdateSessionOptions:fo},Symbol.toStringTag,{value:"Module"}));class P{plugin_id;provider_id;name;icon;description;handlers;constructor(t={}){"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)}static createFrom(t={}){const r=mo;let c=typeof t=="string"?JSON.parse(t):t;return"handlers"in c&&(c.handlers=r(c.handlers)),new P(c)}}const go=i.Handler$2.createFrom,mo=o.Array(go);function we(){return n.ByID(3919346639).then(e=>je(e))}function Oe(e){return n.ByID(3953821778,e).then(t=>je(t))}function Fo(e){return n.ByID(1815388456,e)}function Ao(){return n.ByID(2730149903).then(e=>Po(e))}function bo(e,t,r){return n.ByID(3947209283,e,t,r).then(c=>He(c))}function Le(e,t,r,c,u,s,a,l,Ue,We){return n.ByID(2480040278,e,t,r,c,u,s,a,l,Ue,We).then(Ee=>Ro(Ee))}function Me(e,t,r){return n.ByID(3738888803,e,t,r)}function Ne(e){return n.ByID(3994236150,e)}const Go=P.createFrom,je=o.Array(Go),Po=o.Array(o.Any),Co=i.QueryResponse.createFrom,He=o.Nullable(Co),Ro=o.Map(o.Any,He),vo=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:we,GetProvidersForResource:Oe,HasPlugin:Fo,ListPlugins:Ao,Query:bo,QueryAll:Le,Subscribe:Me,Unsubscribe:Ne},Symbol.toStringTag,{value:"Module"}));function _o(e,t){return n.ByID(3653639550,e,t)}function Ve(e,t){return n.ByID(851823419,e,t)}function wo(e){return n.ByID(2991415449,e).then(t=>Oo(t))}function ze(e,t,r){return n.ByID(2695679023,e,t,r)}const Oo=o.Array(o.Any),Lo=Object.freeze(Object.defineProperty({__proto__:null,Delete:_o,Get:Ve,Keys:wo,Set:ze},Symbol.toStringTag,{value:"Module"}));exports.AttachStreamAction=z;exports.CancelStreamAction=U;exports.ClosePortForwardSession=_;exports.CloseSession=ve;exports.Create=W;exports.CreateSession=C;exports.CreateSession$1=_e;exports.Delete=E;exports.ExecuteAction=q;exports.FindPortForwardSessions=w;exports.Get=Ve;exports.Get$1=J;exports.GetActions=Q;exports.GetAllConnectionStates=x;exports.GetConnection=k;exports.GetConnectionNamespaces=K;exports.GetDependencyTree=Te;exports.GetEditorSchemas=X;exports.GetPluginMeta=N;exports.GetProviders=we;exports.GetProvidersForResource=Oe;exports.GetRelated=de;exports.GetResourceAreaComponent=Pe;exports.GetResourceGroups=Y;exports.GetResourceType=Z;exports.GetResourceTypes=ee;exports.GetSubgraph=Se;exports.GetWatchState=te;exports.List=ne;exports.ListAllConnections=re;exports.ListAllPortForwardSessions=O;exports.ListConnections=oe;exports.PluginValues=me;exports.QueryAll=Le;exports.RemoveConnection=ce;exports.RetryFailedPlugin=j;exports.Set=ze;exports.StartConnection=ie;exports.StartConnectionWatch=ue;exports.StartResourcePortForwardingSession=L;exports.StopConnection=se;exports.StopConnectionWatch=ae;exports.StreamAction=ye;exports.Subscribe=Me;exports.SubscribeResource=le;exports.Unsubscribe=Ne;exports.UnsubscribeResource=$e;exports.Update=pe;exports.UpdateConnection=fe;exports.Values=be;exports.graphservice=Tr;exports.servicewrapper=Lo;exports.servicewrapper$1=at;exports.servicewrapper$2=So;exports.servicewrapper$3=vo;exports.servicewrapper$4=Dt;exports.servicewrapper$5=Et;exports.servicewrapper$6=lr;exports.servicewrapper$7=vr;exports.servicewrapper$8=no;exports.servicewrapper$9=uo;