@omniviewdev/runtime 0.9.1 → 0.10.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 (39) hide show
  1. package/dist/api.cjs +1 -1
  2. package/dist/api.d.ts +1 -0
  3. package/dist/api.js +173 -113
  4. package/dist/bindings/events/index.d.ts +28 -0
  5. package/dist/bindings/github.com/omniviewdev/omniview/backend/window/index.d.ts +3 -0
  6. package/dist/bindings/github.com/omniviewdev/omniview/backend/window/models.d.ts +190 -0
  7. package/dist/bindings/github.com/omniviewdev/omniview/backend/window/service.d.ts +83 -0
  8. package/dist/connection/ConnectionBoundary.d.ts +21 -0
  9. package/dist/connection/connectionReadiness.d.ts +30 -0
  10. package/dist/context/index.d.ts +1 -0
  11. package/dist/context/windows/WindowActionsContext.d.ts +31 -0
  12. package/dist/context/windows/activePageNavigator.d.ts +13 -0
  13. package/dist/context/windows/index.d.ts +2 -0
  14. package/dist/extensions/provider.d.ts +9 -9
  15. package/dist/hooks/connection/index.d.ts +4 -0
  16. package/dist/hooks/connection/useConnectionNamespaces.d.ts +2 -1
  17. package/dist/hooks/connection/useConnectionReadiness.d.ts +9 -0
  18. package/dist/hooks/resource/useConnectionQueryGuard.d.ts +3 -0
  19. package/dist/hooks/resource/useEventBatcher.d.ts +1 -0
  20. package/dist/hooks/resource/useResource.d.ts +3 -2
  21. package/dist/hooks/resource/useResourceGroups.d.ts +2 -1
  22. package/dist/hooks/resource/useResourceMutations.d.ts +2 -2
  23. package/dist/hooks/resource/useResourceSearch.d.ts +2 -1
  24. package/dist/hooks/resource/useResourceTypes.d.ts +2 -1
  25. package/dist/hooks/resource/useResources.d.ts +3 -2
  26. package/dist/index.cjs +4 -4
  27. package/dist/index.js +3080 -2379
  28. package/dist/models-BxypsesT.cjs +1 -0
  29. package/dist/models-C6jzDokQ.js +347 -0
  30. package/dist/models.cjs +1 -1
  31. package/dist/models.d.ts +1 -0
  32. package/dist/models.js +29 -28
  33. package/dist/router/Link.d.ts +3 -0
  34. package/dist/{servicewrapper-Q1ww3DUo.js → servicewrapper-C6SURWw1.js} +32 -31
  35. package/dist/servicewrapper-COMjQHnY.cjs +1 -0
  36. package/package.json +3 -3
  37. package/dist/models-DU8pTcoZ.js +0 -142
  38. package/dist/models-KV9f8Ceh.cjs +0 -1
  39. package/dist/servicewrapper-CCW7kIVs.cjs +0 -1
@@ -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.1",
5
+ "version": "0.10.0",
6
6
  "description": "Runtime shared library for Omniview",
7
7
  "sideEffects": false,
8
8
  "type": "module",
@@ -52,7 +52,7 @@
52
52
  "omniview"
53
53
  ],
54
54
  "devDependencies": {
55
- "@omniviewdev/base-ui": "~0.8.0",
55
+ "@omniviewdev/base-ui": "~0.9.0",
56
56
  "@tanstack/react-query": "5.105.0",
57
57
  "@types/node": "26.6.5",
58
58
  "@types/react": "19.3.0",
@@ -68,7 +68,7 @@
68
68
  "@typescript/native": "npm:typescript@7.0.2"
69
69
  },
70
70
  "peerDependencies": {
71
- "@omniviewdev/base-ui": "~0.8.0",
71
+ "@omniviewdev/base-ui": "~0.9.0",
72
72
  "@tanstack/react-query": "^5.105.0",
73
73
  "react": "^19.3.1",
74
74
  "react-dom": "^19.3.1",
@@ -1,142 +0,0 @@
1
- import { A as m } from "./index-zyAgCXOO.js";
2
- import { b8 as f } from "./models-CT4kHj47.js";
3
- class s {
4
- file;
5
- line;
6
- column;
7
- message;
8
- /** Creates a new BuildError instance. */
9
- constructor(t = {}) {
10
- "file" in t || (this.file = ""), "line" in t || (this.line = 0), "column" in t || (this.column = 0), "message" in t || (this.message = ""), Object.assign(this, t);
11
- }
12
- /**
13
- * Creates a new BuildError instance from a string or object.
14
- */
15
- static createFrom(t = {}) {
16
- let e = typeof t == "string" ? JSON.parse(t) : t;
17
- return new s(e);
18
- }
19
- }
20
- var o = /* @__PURE__ */ ((i) => (i.$zero = "", i.DevProcessStatusIdle = "idle", i.DevProcessStatusStarting = "starting", i.DevProcessStatusBuilding = "building", i.DevProcessStatusRunning = "running", i.DevProcessStatusReady = "ready", i.DevProcessStatusError = "error", i.DevProcessStatusStopped = "stopped", i.DevProcessStatusNotApplicable = "n/a", i))(o || {});
21
- class a {
22
- pluginID;
23
- errors;
24
- /** Creates a new DevServerErrorPayload instance. */
25
- constructor(t = {}) {
26
- "pluginID" in t || (this.pluginID = ""), "errors" in t || (this.errors = []), Object.assign(this, t);
27
- }
28
- /**
29
- * Creates a new DevServerErrorPayload instance from a string or object.
30
- */
31
- static createFrom(t = {}) {
32
- const e = S;
33
- let n = typeof t == "string" ? JSON.parse(t) : t;
34
- return "errors" in n && (n.errors = e(n.errors)), new a(n);
35
- }
36
- }
37
- var p = /* @__PURE__ */ ((i) => (i.$zero = "", i.DevServerModeIdle = "idle", i.DevServerModeManaged = "managed", i))(p || {});
38
- class r {
39
- pluginID;
40
- mode;
41
- devPath;
42
- vitePort;
43
- viteURL;
44
- viteStatus;
45
- goStatus;
46
- lastBuildDuration;
47
- lastBuildTime;
48
- lastError;
49
- grpcConnected;
50
- generation;
51
- hmrURL;
52
- buildStatus;
53
- rpcStatus;
54
- controllerStatus;
55
- ready;
56
- /** Creates a new DevServerState instance. */
57
- constructor(t = {}) {
58
- "pluginID" in t || (this.pluginID = ""), "mode" in t || (this.mode = ""), "devPath" in t || (this.devPath = ""), "vitePort" in t || (this.vitePort = 0), "viteURL" in t || (this.viteURL = ""), "viteStatus" in t || (this.viteStatus = ""), "goStatus" in t || (this.goStatus = ""), "lastBuildDuration" in t || (this.lastBuildDuration = f.$zero), "lastBuildTime" in t || (this.lastBuildTime = ""), "lastError" in t || (this.lastError = ""), "grpcConnected" in t || (this.grpcConnected = !1), "generation" in t || (this.generation = ""), "hmrURL" in t || (this.hmrURL = ""), "buildStatus" in t || (this.buildStatus = ""), "rpcStatus" in t || (this.rpcStatus = ""), "controllerStatus" in t || (this.controllerStatus = ""), "ready" in t || (this.ready = !1), Object.assign(this, t);
59
- }
60
- /**
61
- * Creates a new DevServerState instance from a string or object.
62
- */
63
- static createFrom(t = {}) {
64
- let e = typeof t == "string" ? JSON.parse(t) : t;
65
- return new r(e);
66
- }
67
- }
68
- var g = /* @__PURE__ */ ((i) => (i.$zero = "", i.StagePending = "pending", i.StageBuilding = "building", i.StageReady = "ready", i.StageError = "error", i.StageStopped = "stopped", i.StageNotApplicable = "n/a", i))(g || {});
69
- let h = class d {
70
- timestamp;
71
- /**
72
- * "vite" | "go-build" | "go-watch" | "manager"
73
- */
74
- source;
75
- /**
76
- * "info" | "warn" | "error" | "debug"
77
- */
78
- level;
79
- message;
80
- pluginID;
81
- /** Creates a new LogEntry instance. */
82
- constructor(t = {}) {
83
- "timestamp" in t || (this.timestamp = ""), "source" in t || (this.source = ""), "level" in t || (this.level = ""), "message" in t || (this.message = ""), "pluginID" in t || (this.pluginID = ""), Object.assign(this, t);
84
- }
85
- /**
86
- * Creates a new LogEntry instance from a string or object.
87
- */
88
- static createFrom(t = {}) {
89
- let e = typeof t == "string" ? JSON.parse(t) : t;
90
- return new d(e);
91
- }
92
- };
93
- const u = s.createFrom, S = m(u), c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
94
- __proto__: null,
95
- BuildError: s,
96
- DevProcessStatus: o,
97
- DevServerErrorPayload: a,
98
- DevServerMode: p,
99
- DevServerState: r,
100
- LifecycleStage: g,
101
- LogEntry: h
102
- }, Symbol.toStringTag, { value: "Module" }));
103
- class l {
104
- timestamp;
105
- pluginID;
106
- /**
107
- * "plugin" (from hclog) — extensible
108
- */
109
- source;
110
- /**
111
- * "trace" | "debug" | "info" | "warn" | "error"
112
- */
113
- level;
114
- message;
115
- /** Creates a new LogEntry instance. */
116
- constructor(t = {}) {
117
- "timestamp" in t || (this.timestamp = ""), "pluginID" in t || (this.pluginID = ""), "source" in t || (this.source = ""), "level" in t || (this.level = ""), "message" in t || (this.message = ""), Object.assign(this, t);
118
- }
119
- /**
120
- * Creates a new LogEntry instance from a string or object.
121
- */
122
- static createFrom(t = {}) {
123
- let e = typeof t == "string" ? JSON.parse(t) : t;
124
- return new l(e);
125
- }
126
- }
127
- const D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
128
- __proto__: null,
129
- LogEntry: l
130
- }, Symbol.toStringTag, { value: "Module" }));
131
- export {
132
- s as B,
133
- r as D,
134
- h as L,
135
- l as a,
136
- o as b,
137
- a as c,
138
- p as d,
139
- g as e,
140
- D as f,
141
- c as m
142
- };
@@ -1 +0,0 @@
1
- "use strict";const h=require("./index-BVi9X4oU.cjs"),f=require("./models-DQl7tqts.cjs");class n{file;line;column;message;constructor(t={}){"file"in t||(this.file=""),"line"in t||(this.line=0),"column"in t||(this.column=0),"message"in t||(this.message=""),Object.assign(this,t)}static createFrom(t={}){let e=typeof t=="string"?JSON.parse(t):t;return new n(e)}}var o=(i=>(i.$zero="",i.DevProcessStatusIdle="idle",i.DevProcessStatusStarting="starting",i.DevProcessStatusBuilding="building",i.DevProcessStatusRunning="running",i.DevProcessStatusReady="ready",i.DevProcessStatusError="error",i.DevProcessStatusStopped="stopped",i.DevProcessStatusNotApplicable="n/a",i))(o||{});class s{pluginID;errors;constructor(t={}){"pluginID"in t||(this.pluginID=""),"errors"in t||(this.errors=[]),Object.assign(this,t)}static createFrom(t={}){const e=S;let r=typeof t=="string"?JSON.parse(t):t;return"errors"in r&&(r.errors=e(r.errors)),new s(r)}}var g=(i=>(i.$zero="",i.DevServerModeIdle="idle",i.DevServerModeManaged="managed",i))(g||{});class a{pluginID;mode;devPath;vitePort;viteURL;viteStatus;goStatus;lastBuildDuration;lastBuildTime;lastError;grpcConnected;generation;hmrURL;buildStatus;rpcStatus;controllerStatus;ready;constructor(t={}){"pluginID"in t||(this.pluginID=""),"mode"in t||(this.mode=""),"devPath"in t||(this.devPath=""),"vitePort"in t||(this.vitePort=0),"viteURL"in t||(this.viteURL=""),"viteStatus"in t||(this.viteStatus=""),"goStatus"in t||(this.goStatus=""),"lastBuildDuration"in t||(this.lastBuildDuration=f.Duration.$zero),"lastBuildTime"in t||(this.lastBuildTime=""),"lastError"in t||(this.lastError=""),"grpcConnected"in t||(this.grpcConnected=!1),"generation"in t||(this.generation=""),"hmrURL"in t||(this.hmrURL=""),"buildStatus"in t||(this.buildStatus=""),"rpcStatus"in t||(this.rpcStatus=""),"controllerStatus"in t||(this.controllerStatus=""),"ready"in t||(this.ready=!1),Object.assign(this,t)}static createFrom(t={}){let e=typeof t=="string"?JSON.parse(t):t;return new a(e)}}var d=(i=>(i.$zero="",i.StagePending="pending",i.StageBuilding="building",i.StageReady="ready",i.StageError="error",i.StageStopped="stopped",i.StageNotApplicable="n/a",i))(d||{});let p=class m{timestamp;source;level;message;pluginID;constructor(t={}){"timestamp"in t||(this.timestamp=""),"source"in t||(this.source=""),"level"in t||(this.level=""),"message"in t||(this.message=""),"pluginID"in t||(this.pluginID=""),Object.assign(this,t)}static createFrom(t={}){let e=typeof t=="string"?JSON.parse(t):t;return new m(e)}};const u=n.createFrom,S=h.Array(u),v=Object.freeze(Object.defineProperty({__proto__:null,BuildError:n,DevProcessStatus:o,DevServerErrorPayload:s,DevServerMode:g,DevServerState:a,LifecycleStage:d,LogEntry:p},Symbol.toStringTag,{value:"Module"}));class l{timestamp;pluginID;source;level;message;constructor(t={}){"timestamp"in t||(this.timestamp=""),"pluginID"in t||(this.pluginID=""),"source"in t||(this.source=""),"level"in t||(this.level=""),"message"in t||(this.message=""),Object.assign(this,t)}static createFrom(t={}){let e=typeof t=="string"?JSON.parse(t):t;return new l(e)}}const c=Object.freeze(Object.defineProperty({__proto__:null,LogEntry:l},Symbol.toStringTag,{value:"Module"}));exports.BuildError=n;exports.DevProcessStatus=o;exports.DevServerErrorPayload=s;exports.DevServerMode=g;exports.DevServerState=a;exports.LifecycleStage=d;exports.LogEntry=p;exports.LogEntry$1=l;exports.models=v;exports.models$1=c;
@@ -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;