@omniviewdev/runtime 0.1.10 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Client-BRYjLBXY.cjs +1 -0
- package/dist/{Client-DRRyPmcf.js → Client-RGYOEzh2.js} +312 -275
- package/dist/api.cjs +1 -1
- package/dist/api.d.ts +1 -0
- package/dist/api.js +95 -51
- package/dist/context/drawer/types.d.ts +1 -1
- package/dist/errors/types.d.ts +2 -0
- package/dist/hooks/connection/useConnectionStatus.d.ts +3 -3
- package/dist/hooks/connection/useConnections.d.ts +2 -2
- package/dist/hooks/resource/index.d.ts +2 -1
- package/dist/hooks/resource/useActiveSyncs.d.ts +2 -2
- package/dist/hooks/resource/useEditorSchemas.d.ts +2 -2
- package/dist/hooks/resource/useEventBatcher.d.ts +55 -0
- package/dist/hooks/resource/useResource.d.ts +9 -21
- package/dist/hooks/resource/useResourceActions.d.ts +3 -3
- package/dist/hooks/resource/useResourceGroups.d.ts +1 -1
- package/dist/hooks/resource/useResourceMutations.d.ts +14 -7
- package/dist/hooks/resource/useResourceSearch.d.ts +1 -1
- package/dist/hooks/resource/useResourceType.d.ts +1 -1
- package/dist/hooks/resource/useResourceTypes.d.ts +1 -1
- package/dist/hooks/resource/useResources.d.ts +14 -22
- package/dist/hooks/resource/useWatchState.d.ts +28 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1406 -1295
- package/dist/models.cjs +1 -1
- package/dist/models.js +1343 -972
- package/dist/types/index.d.ts +1 -1
- package/dist/types/watch.d.ts +29 -0
- package/dist/utils/activeSyncAggregator.d.ts +13 -8
- package/dist/utils/resourceKey.d.ts +12 -0
- package/dist/wailsjs/go/devserver/DevServerManager.d.ts +2 -0
- package/dist/wailsjs/go/models.d.ts +400 -214
- package/dist/wailsjs/go/plugin/pluginManager.d.ts +3 -1
- package/dist/wailsjs/go/pluginlog/Manager.d.ts +18 -0
- package/dist/wailsjs/go/resource/Client.d.ts +39 -23
- package/package.json +1 -1
- package/dist/Client-BtQwAB3N.cjs +0 -1
- package/dist/errors/parseAppError.test.d.ts +0 -1
- package/dist/hooks/resource/useInformerState.d.ts +0 -24
- package/dist/types/informer.d.ts +0 -49
- package/dist/utils/activeSyncAggregator.test.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function Y(e,n){return window.go.settings.Client.GetSetting(e,n)}function Z(){return window.go.settings.Client.ListPlugins()}function ee(e){return window.go.settings.Client.ListSettings(e)}function u(e){return window.go.settings.Client.PluginValues(e)}function ne(e,n,t){return window.go.settings.Client.SetSetting(e,n,t)}function te(e,n){return window.go.settings.Client.SetSettings(e,n)}function oe(){return window.go.settings.Client.Values()}const ie=Object.freeze(Object.defineProperty({__proto__:null,GetSetting:Y,ListPlugins:Z,ListSettings:ee,PluginValues:u,SetSetting:ne,SetSettings:te,Values:oe},Symbol.toStringTag,{value:"Module"}));function re(e){return window.go.plugin.pluginManager.GetPlugin(e)}function ue(e){return window.go.plugin.pluginManager.GetPluginDownloadStats(e)}function s(e){return window.go.plugin.pluginManager.GetPluginMeta(e)}function se(e){return window.go.plugin.pluginManager.GetPluginReadme(e)}function ge(e){return window.go.plugin.pluginManager.GetPluginReleaseHistory(e)}function le(e,n){return window.go.plugin.pluginManager.GetPluginReviews(e,n)}function ce(e){return window.go.plugin.pluginManager.GetPluginVersions(e)}function we(e){return window.go.plugin.pluginManager.HandlePluginCrash(e)}function ae(e){return window.go.plugin.pluginManager.Initialize(e)}function de(){return window.go.plugin.pluginManager.InstallFromPathPrompt()}function Se(){return window.go.plugin.pluginManager.InstallInDevMode()}function Ce(e){return window.go.plugin.pluginManager.InstallPluginFromPath(e)}function fe(e,n){return window.go.plugin.pluginManager.InstallPluginVersion(e,n)}function pe(){return window.go.plugin.pluginManager.ListAvailablePlugins()}function Ge(){return window.go.plugin.pluginManager.ListPluginMetas()}function Pe(){return window.go.plugin.pluginManager.ListPlugins()}function Re(e,n){return window.go.plugin.pluginManager.LoadPlugin(e,n)}function ve(e){return window.go.plugin.pluginManager.ReloadPlugin(e)}function be(e){return window.go.plugin.pluginManager.Run(e)}function me(e,n,t){return window.go.plugin.pluginManager.SearchPlugins(e,n,t)}function Me(e){return window.go.plugin.pluginManager.SetDevServerChecker(e)}function Le(e){return window.go.plugin.pluginManager.SetDevServerManager(e)}function he(e){return window.go.plugin.pluginManager.SetPluginLogManager(e)}function Fe(){return window.go.plugin.pluginManager.Shutdown()}function ye(e){return window.go.plugin.pluginManager.UninstallPlugin(e)}function _e(e){return window.go.plugin.pluginManager.UnloadPlugin(e)}const Ae=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:re,GetPluginDownloadStats:ue,GetPluginMeta:s,GetPluginReadme:se,GetPluginReleaseHistory:ge,GetPluginReviews:le,GetPluginVersions:ce,HandlePluginCrash:we,Initialize:ae,InstallFromPathPrompt:de,InstallInDevMode:Se,InstallPluginFromPath:Ce,InstallPluginVersion:fe,ListAvailablePlugins:pe,ListPluginMetas:Ge,ListPlugins:Pe,LoadPlugin:Re,ReloadPlugin:ve,Run:be,SearchPlugins:me,SetDevServerChecker:Me,SetDevServerManager:Le,SetPluginLogManager:he,Shutdown:Fe,UninstallPlugin:ye,UnloadPlugin:_e},Symbol.toStringTag,{value:"Module"}));function $e(e){return window.go.settings.provider.GetBool(e)}function Ie(){return window.go.settings.provider.GetCategories()}function Te(e){return window.go.settings.provider.GetCategory(e)}function Oe(e){return window.go.settings.provider.GetCategoryValues(e)}function We(e){return window.go.settings.provider.GetFloat(e)}function je(e){return window.go.settings.provider.GetFloatSlice(e)}function Ue(e){return window.go.settings.provider.GetInt(e)}function Ve(e){return window.go.settings.provider.GetIntSlice(e)}function xe(e){return window.go.settings.provider.GetSetting(e)}function ze(e){return window.go.settings.provider.GetSettingValue(e)}function He(e){return window.go.settings.provider.GetString(e)}function De(e){return window.go.settings.provider.GetStringSlice(e)}function Ee(e){return window.go.settings.provider.HasSetting(e)}function ke(e,n){return window.go.settings.provider.Initialize(e,n)}function Qe(){return window.go.settings.provider.ListSettings()}function Ne(){return window.go.settings.provider.LoadSettings()}function Be(e,n){return window.go.settings.provider.RegisterSetting(e,n)}function qe(e,n){return window.go.settings.provider.RegisterSettings(e,n)}function Je(e){return window.go.settings.provider.ResetSetting(e)}function Ke(){return window.go.settings.provider.SaveSettings()}function Xe(e,n){return window.go.settings.provider.SetSetting(e,n)}function Ye(e){return window.go.settings.provider.SetSettings(e)}function g(){return window.go.settings.provider.Values()}const Ze=Object.freeze(Object.defineProperty({__proto__:null,GetBool:$e,GetCategories:Ie,GetCategory:Te,GetCategoryValues:Oe,GetFloat:We,GetFloatSlice:je,GetInt:Ue,GetIntSlice:Ve,GetSetting:xe,GetSettingValue:ze,GetString:He,GetStringSlice:De,HasSetting:Ee,Initialize:ke,ListSettings:Qe,LoadSettings:Ne,RegisterSetting:Be,RegisterSettings:qe,ResetSetting:Je,SaveSettings:Ke,SetSetting:Xe,SetSettings:Ye,Values:g},Symbol.toStringTag,{value:"Module"}));function en(e,n){return window.go.resource.Client.AddConnection(e,n)}function l(e,n,t,o){return window.go.resource.Client.Create(e,n,t,o)}function c(e,n,t,o){return window.go.resource.Client.Delete(e,n,t,o)}function nn(e,n,t){return window.go.resource.Client.EnsureResourceWatch(e,n,t)}function w(e,n,t,o,i){return window.go.resource.Client.ExecuteAction(e,n,t,o,i)}function tn(e,n,t,o){return window.go.resource.Client.Find(e,n,t,o)}function a(e,n,t,o){return window.go.resource.Client.Get(e,n,t,o)}function d(e,n,t){return window.go.resource.Client.GetActions(e,n,t)}function S(){return window.go.resource.Client.GetAllConnectionStates()}function C(e,n){return window.go.resource.Client.GetConnection(e,n)}function f(e,n){return window.go.resource.Client.GetConnectionNamespaces(e,n)}function p(e,n){return window.go.resource.Client.GetEditorSchemas(e,n)}function on(e,n,t){return window.go.resource.Client.GetFilterFields(e,n,t)}function rn(e,n,t,o){return window.go.resource.Client.GetHealth(e,n,t,o)}function un(e,n){return window.go.resource.Client.GetRelationships(e,n)}function sn(e,n){return window.go.resource.Client.GetResourceCapabilities(e,n)}function gn(e,n){return window.go.resource.Client.GetResourceDefinition(e,n)}function ln(e,n,t,o,i,r){return window.go.resource.Client.GetResourceEvents(e,n,t,o,i,r)}function cn(e,n){return window.go.resource.Client.GetResourceGroup(e,n)}function G(e,n){return window.go.resource.Client.GetResourceGroups(e,n)}function wn(e,n,t){return window.go.resource.Client.GetResourceSchema(e,n,t)}function P(e,n){return window.go.resource.Client.GetResourceType(e,n)}function R(e,n){return window.go.resource.Client.GetResourceTypes(e,n)}function v(e,n){return window.go.resource.Client.GetWatchState(e,n)}function an(e,n){return window.go.resource.Client.HasResourceType(e,n)}function dn(e,n,t){return window.go.resource.Client.IsResourceWatchRunning(e,n,t)}function b(e,n,t,o){return window.go.resource.Client.List(e,n,t,o)}function m(){return window.go.resource.Client.ListAllConnections()}function M(e){return window.go.resource.Client.ListConnections(e)}function Sn(){return window.go.resource.Client.ListPlugins()}function Cn(e){return window.go.resource.Client.LoadConnections(e)}function L(e,n){return window.go.resource.Client.RemoveConnection(e,n)}function fn(e,n,t,o,i){return window.go.resource.Client.ResolveRelationships(e,n,t,o,i)}function pn(e,n,t){return window.go.resource.Client.RestartResourceWatch(e,n,t)}function h(e,n){return window.go.resource.Client.StartConnection(e,n)}function F(e,n){return window.go.resource.Client.StartConnectionWatch(e,n)}function y(e,n){return window.go.resource.Client.StopConnection(e,n)}function _(e,n){return window.go.resource.Client.StopConnectionWatch(e,n)}function Gn(e,n,t){return window.go.resource.Client.StopResourceWatch(e,n,t)}function A(e,n,t,o,i){return window.go.resource.Client.StreamAction(e,n,t,o,i)}function $(e,n,t){return window.go.resource.Client.SubscribeResource(e,n,t)}function I(e,n,t){return window.go.resource.Client.UnsubscribeResource(e,n,t)}function T(e,n,t,o){return window.go.resource.Client.Update(e,n,t,o)}function O(e,n){return window.go.resource.Client.UpdateConnection(e,n)}const Pn=Object.freeze(Object.defineProperty({__proto__:null,AddConnection:en,Create:l,Delete:c,EnsureResourceWatch:nn,ExecuteAction:w,Find:tn,Get:a,GetActions:d,GetAllConnectionStates:S,GetConnection:C,GetConnectionNamespaces:f,GetEditorSchemas:p,GetFilterFields:on,GetHealth:rn,GetRelationships:un,GetResourceCapabilities:sn,GetResourceDefinition:gn,GetResourceEvents:ln,GetResourceGroup:cn,GetResourceGroups:G,GetResourceSchema:wn,GetResourceType:P,GetResourceTypes:R,GetWatchState:v,HasResourceType:an,IsResourceWatchRunning:dn,List:b,ListAllConnections:m,ListConnections:M,ListPlugins:Sn,LoadConnections:Cn,RemoveConnection:L,ResolveRelationships:fn,RestartResourceWatch:pn,StartConnection:h,StartConnectionWatch:F,StopConnection:y,StopConnectionWatch:_,StopResourceWatch:Gn,StreamAction:A,SubscribeResource:$,UnsubscribeResource:I,Update:T,UpdateConnection:O},Symbol.toStringTag,{value:"Module"}));function Rn(e){return window.go.exec.Client.AttachSession(e)}function vn(e){return window.go.exec.Client.CloseSession(e)}function W(e,n,t){return window.go.exec.Client.CreateSession(e,n,t)}function bn(e){return window.go.exec.Client.CreateTerminal(e)}function mn(e){return window.go.exec.Client.DetachSession(e)}function Mn(e,n){return window.go.exec.Client.GetHandler(e,n)}function Ln(){return window.go.exec.Client.GetHandlers()}function hn(e){return window.go.exec.Client.GetPluginHandlers(e)}function Fn(e){return window.go.exec.Client.GetSession(e)}function yn(){return window.go.exec.Client.ListPlugins()}function _n(){return window.go.exec.Client.ListSessions()}function An(e,n,t){return window.go.exec.Client.ResizeSession(e,n,t)}function $n(e,n){return window.go.exec.Client.WriteSession(e,n)}const In=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:Rn,CloseSession:vn,CreateSession:W,CreateTerminal:bn,DetachSession:mn,GetHandler:Mn,GetHandlers:Ln,GetPluginHandlers:hn,GetSession:Fn,ListPlugins:yn,ListSessions:_n,ResizeSession:An,WriteSession:$n},Symbol.toStringTag,{value:"Module"}));function j(e){return window.go.logs.Client.CloseSession(e)}function U(e,n,t){return window.go.logs.Client.CreateSession(e,n,t)}function Tn(e){return window.go.logs.Client.GetSession(e)}function On(e){return window.go.logs.Client.GetSupportedResources(e)}function Wn(){return window.go.logs.Client.ListSessions()}function jn(e){return window.go.logs.Client.PauseSession(e)}function Un(e){return window.go.logs.Client.ResumeSession(e)}function Vn(e,n){return window.go.logs.Client.UpdateSessionOptions(e,n)}const xn=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:j,CreateSession:U,GetSession:Tn,GetSupportedResources:On,ListSessions:Wn,PauseSession:jn,ResumeSession:Un,UpdateSessionOptions:Vn},Symbol.toStringTag,{value:"Module"}));function V(){return window.go.metric.Client.GetProviders()}function x(e){return window.go.metric.Client.GetProvidersForResource(e)}function zn(e,n,t){return window.go.metric.Client.Query(e,n,t)}function z(e,n,t,o,i,r,q,J,K,X){return window.go.metric.Client.QueryAll(e,n,t,o,i,r,q,J,K,X)}function H(e,n,t){return window.go.metric.Client.Subscribe(e,n,t)}function D(e){return window.go.metric.Client.Unsubscribe(e)}const Hn=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:V,GetProvidersForResource:x,Query:zn,QueryAll:z,Subscribe:H,Unsubscribe:D},Symbol.toStringTag,{value:"Module"}));function E(e){return window.go.networker.Client.ClosePortForwardSession(e)}function k(e,n,t){return window.go.networker.Client.FindPortForwardSessions(e,n,t)}function Dn(e){return window.go.networker.Client.GetPortForwardSession(e)}function En(e){return window.go.networker.Client.GetSupportedPortForwardTargets(e)}function Q(){return window.go.networker.Client.ListAllPortForwardSessions()}function kn(e,n){return window.go.networker.Client.ListPortForwardSessions(e,n)}function N(e,n,t){return window.go.networker.Client.StartResourcePortForwardingSession(e,n,t)}const Qn=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:E,FindPortForwardSessions:k,GetPortForwardSession:Dn,GetSupportedPortForwardTargets:En,ListAllPortForwardSessions:Q,ListPortForwardSessions:kn,StartResourcePortForwardingSession:N},Symbol.toStringTag,{value:"Module"}));function Nn(e){return window.go.ui.Client.GetPluginComponents(e)}function B(e){return window.go.ui.Client.GetResourceAreaComponent(e)}function Bn(e){return window.go.ui.Client.GetResourceComponents(e)}const qn=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:Nn,GetResourceAreaComponent:B,GetResourceComponents:Bn},Symbol.toStringTag,{value:"Module"}));exports.Client=In;exports.Client$1=Qn;exports.Client$2=Pn;exports.Client$3=ie;exports.Client$4=qn;exports.Client$5=xn;exports.Client$6=Hn;exports.ClosePortForwardSession=E;exports.CloseSession=j;exports.Create=l;exports.CreateSession=W;exports.CreateSession$1=U;exports.Delete=c;exports.ExecuteAction=w;exports.FindPortForwardSessions=k;exports.Get=a;exports.GetActions=d;exports.GetAllConnectionStates=S;exports.GetConnection=C;exports.GetConnectionNamespaces=f;exports.GetEditorSchemas=p;exports.GetPluginMeta=s;exports.GetProviders=V;exports.GetProvidersForResource=x;exports.GetResourceAreaComponent=B;exports.GetResourceGroups=G;exports.GetResourceType=P;exports.GetResourceTypes=R;exports.GetWatchState=v;exports.List=b;exports.ListAllConnections=m;exports.ListAllPortForwardSessions=Q;exports.ListConnections=M;exports.PluginValues=u;exports.QueryAll=z;exports.RemoveConnection=L;exports.StartConnection=h;exports.StartConnectionWatch=F;exports.StartResourcePortForwardingSession=N;exports.StopConnection=y;exports.StopConnectionWatch=_;exports.StreamAction=A;exports.Subscribe=H;exports.SubscribeResource=$;exports.Unsubscribe=D;exports.UnsubscribeResource=I;exports.Update=T;exports.UpdateConnection=O;exports.Values=g;exports.pluginManager=Ae;exports.provider=Ze;
|