@omniviewdev/runtime 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.cjs +1 -1
- package/dist/api.d.ts +7 -6
- package/dist/api.js +205 -133
- package/dist/bindings/events/index.d.ts +20 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/invocation/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/invocation/models.d.ts +19 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/models.d.ts +0 -20
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts +3 -6
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +2 -2
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +3 -15
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +5 -18
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +190 -9
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +34 -74
- package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/models.d.ts +178 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/servicewrapper.d.ts +30 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +27 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/models.d.ts +809 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +94 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +16 -6
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +27 -17
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +47 -24
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +41 -20
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +16 -4
- package/dist/{calls-Bg_uMVc9.cjs → calls-B-HP1Icv.cjs} +1 -1
- package/dist/{calls-BvZkVSse.js → calls-DYGtxNJ6.js} +1 -0
- package/dist/compat/types.d.ts +1 -1
- package/dist/context/drawer/RightDrawerContext.d.ts +8 -4
- package/dist/context/drawer/types.d.ts +11 -21
- package/dist/context/operations/OperationsContext.d.ts +5 -5
- package/dist/exec.d.ts +5 -0
- package/dist/graph-JDqyJC_i.js +10 -0
- package/dist/graph-wHun0Bkz.cjs +1 -0
- package/dist/hooks/connection/index.d.ts +2 -1
- package/dist/hooks/connection/useConnection.d.ts +9 -30
- package/dist/hooks/connection/useConnectionProfiles.d.ts +7 -0
- package/dist/hooks/connection/useConnectionStatus.d.ts +8 -1
- package/dist/hooks/connection/useConnections.d.ts +3 -2
- package/dist/hooks/connection/useScopeValues.d.ts +9 -0
- package/dist/hooks/logs/useLogSession.d.ts +4 -1
- package/dist/hooks/metric/useMetricStream.d.ts +6 -2
- package/dist/hooks/metric/useResourceMetrics.d.ts +6 -2
- package/dist/hooks/networker/types.d.ts +5 -2
- package/dist/hooks/networker/useResourcePortForwarder.d.ts +1 -1
- package/dist/hooks/resource/useConnectionQueryGuard.d.ts +1 -1
- package/dist/hooks/resource/useDependencyTree.d.ts +4 -12
- package/dist/hooks/resource/useEditorSchemas.d.ts +12 -7
- package/dist/hooks/resource/useEventBatcher.d.ts +11 -47
- package/dist/hooks/resource/useRelatedResources.d.ts +6 -14
- package/dist/hooks/resource/useResolvedResourceTarget.d.ts +162 -0
- package/dist/hooks/resource/useResource.d.ts +7 -58
- package/dist/hooks/resource/useResourceActions.d.ts +9 -58
- package/dist/hooks/resource/useResourceGraph.d.ts +4 -12
- package/dist/hooks/resource/useResourceGroups.d.ts +5 -19
- package/dist/hooks/resource/useResourceMutations.d.ts +5 -61
- package/dist/hooks/resource/useResourceSearch.d.ts +5 -34
- package/dist/hooks/resource/useResourceType.d.ts +6 -19
- package/dist/hooks/resource/useResourceTypes.d.ts +5 -20
- package/dist/hooks/resource/useResources.d.ts +32 -60
- package/dist/hooks/resource/useStreamAction.d.ts +4 -8
- package/dist/hooks/resource/useWatchState.d.ts +15 -22
- package/dist/index.cjs +4 -4
- package/dist/index.d.ts +6 -1
- package/dist/index.js +2985 -2906
- package/dist/logs.d.ts +14 -0
- package/dist/metric.d.ts +35 -0
- package/dist/models-Cg1YRHQm.js +583 -0
- package/dist/models-DSGyy8lg.cjs +1 -0
- package/dist/models-UwESEW2B.js +1232 -0
- package/dist/models-dzj-SsFZ.cjs +1 -0
- package/dist/models.cjs +1 -1
- package/dist/models.d.ts +13 -8
- package/dist/models.js +118 -209
- package/dist/networker.d.ts +31 -0
- package/dist/resource/v2/ancillary.d.ts +161 -0
- package/dist/resource/v2/client.d.ts +57 -0
- package/dist/resource/v2/domain.d.ts +204 -0
- package/dist/resource/v2/graph-client.d.ts +7 -0
- package/dist/resource/v2/graph.d.ts +35 -0
- package/dist/resource/v2/host.d.ts +129 -0
- package/dist/resource/v2/requestJSON.d.ts +2 -0
- package/dist/resource/v2/value.d.ts +9 -0
- package/dist/resourceQueryKeys.d.ts +8 -4
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.js +1 -1
- package/dist/search.d.ts +9 -11
- package/dist/servicewrapper-BOM6A8IG.cjs +1 -0
- package/dist/servicewrapper-Bda7yi8z.js +684 -0
- package/dist/types/watch.d.ts +48 -21
- package/dist/utils/activeSyncAggregator.d.ts +2 -2
- package/package.json +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +0 -2
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +0 -1199
- package/dist/compat/resource.d.ts +0 -4
- package/dist/hooks/connection/useConnectionNamespaces.d.ts +0 -21
- package/dist/legacyEnum-CKqyRmbX.js +0 -15
- package/dist/legacyEnum-DkV5yRdA.cjs +0 -1
- package/dist/models-BxypsesT.cjs +0 -1
- package/dist/models-C6jzDokQ.js +0 -347
- package/dist/models-CT4kHj47.js +0 -2444
- package/dist/models-DQl7tqts.cjs +0 -1
- package/dist/servicewrapper-C6SURWw1.js +0 -850
- package/dist/servicewrapper-COMjQHnY.cjs +0 -1
- package/dist/utils/resourceKey.d.ts +0 -12
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("./index-BVi9X4oU.cjs"),E=require("./models-DSGyy8lg.cjs");class o{Provider;Connection;ResourceType;Object;Action;Scope;constructor(i={}){"Provider"in i||(this.Provider=""),"Connection"in i||(this.Connection=""),"ResourceType"in i||(this.ResourceType=""),"Object"in i||(this.Object=""),"Action"in i||(this.Action=""),"Scope"in i||(this.Scope={}),Object.assign(this,i)}static createFrom(i={}){const t=B;let e=typeof i=="string"?JSON.parse(i):i;return"Scope"in e&&(e.Scope=t(e.Scope)),new o(e)}}const B=s.Map(s.Any,s.Any);class l{enabled;port;endpoint;token;blockConnectionsByDefault;globalPreset;userPresets;constructor(i={}){"enabled"in i||(this.enabled=!1),"port"in i||(this.port=0),"endpoint"in i||(this.endpoint=""),"token"in i||(this.token=""),"blockConnectionsByDefault"in i||(this.blockConnectionsByDefault=!1),"globalPreset"in i||(this.globalPreset=""),"userPresets"in i||(this.userPresets=[]),Object.assign(this,i)}static createFrom(i={}){const t=z;let e=typeof i=="string"?JSON.parse(i):i;return"userPresets"in e&&(e.userPresets=t(e.userPresets)),new l(e)}}class b{id;approved;reason;constructor(i={}){"id"in i||(this.id=""),"approved"in i||(this.approved=!1),"reason"in i||(this.reason=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new b(t)}}class d{pluginID;pluginName;connectionID;connectionName;access;effectiveAccess;preset;effectivePreset;constructor(i={}){"pluginID"in i||(this.pluginID=""),"pluginName"in i||(this.pluginName=""),"connectionID"in i||(this.connectionID=""),"connectionName"in i||(this.connectionName=""),"access"in i||(this.access=""),"effectiveAccess"in i||(this.effectiveAccess=!1),"preset"in i||(this.preset=""),"effectivePreset"in i||(this.effectivePreset=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new d(t)}}class f{id;mcpName;pluginID;pluginName;connectionID;connectionName;argumentsJSON;requestedAt;origin;credentialID;sessionID;invocationID;target;policyRevision;catalogRevision;constructor(i={}){"id"in i||(this.id=""),"mcpName"in i||(this.mcpName=""),"pluginID"in i||(this.pluginID=""),"pluginName"in i||(this.pluginName=""),"connectionID"in i||(this.connectionID=""),"connectionName"in i||(this.connectionName=""),"argumentsJSON"in i||(this.argumentsJSON=""),"requestedAt"in i||(this.requestedAt="0001-01-01T00:00:00.000Z"),"origin"in i||(this.origin=""),"credentialID"in i||(this.credentialID=""),"sessionID"in i||(this.sessionID=""),"invocationID"in i||(this.invocationID=""),"target"in i||(this.target=new o),"policyRevision"in i||(this.policyRevision=0),"catalogRevision"in i||(this.catalogRevision=0),Object.assign(this,i)}static createFrom(i={}){const t=M;let e=typeof i=="string"?JSON.parse(i):i;return"target"in e&&(e.target=t(e.target)),new f(e)}}class p{name;builtIn;toolCount;constructor(i={}){"name"in i||(this.name=""),"builtIn"in i||(this.builtIn=!1),"toolCount"in i||(this.toolCount=0),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new p(t)}}class I{pluginID;connectionID;constructor(i={}){"pluginID"in i||(this.pluginID=""),"connectionID"in i||(this.connectionID=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new I(t)}}class c{enabled;running;endpoint;error;constructor(i={}){"enabled"in i||(this.enabled=!1),"running"in i||(this.running=!1),"endpoint"in i||(this.endpoint=""),"error"in i||(this.error=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new c(t)}}class O{enabled;confirm;constructor(i={}){Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new O(t)}}class h{mcpName;pluginID;connectionID;pluginName;name;title;description;scope;status;builtIn;readOnly;listed;ready;destructive;enabled;enabledSource;confirm;confirmSource;overrideEnabled;overrideConfirm;constructor(i={}){"mcpName"in i||(this.mcpName=""),"pluginID"in i||(this.pluginID=""),"connectionID"in i||(this.connectionID=""),"pluginName"in i||(this.pluginName=""),"name"in i||(this.name=""),"title"in i||(this.title=""),"description"in i||(this.description=""),"scope"in i||(this.scope=""),"status"in i||(this.status=""),"builtIn"in i||(this.builtIn=!1),"readOnly"in i||(this.readOnly=!1),"listed"in i||(this.listed=!1),"ready"in i||(this.ready=!1),"destructive"in i||(this.destructive=!1),"enabled"in i||(this.enabled=!1),"enabledSource"in i||(this.enabledSource=""),"confirm"in i||(this.confirm=!1),"confirmSource"in i||(this.confirmSource=""),"overrideEnabled"in i||(this.overrideEnabled=null),"overrideConfirm"in i||(this.overrideConfirm=null),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new h(t)}}const z=s.Array(s.Any),M=o.createFrom,L=Object.freeze(Object.defineProperty({__proto__:null,ConfigView:l,ConfirmationResolved:b,ConnectionPolicyView:d,PendingConfirmation:f,PresetView:p,Scope:I,Status:c,ToolOverride:O,ToolView:h},Symbol.toStringTag,{value:"Module"}));class w{sessionId;sourceWindow;dragType;payload;constructor(i={}){"sessionId"in i||(this.sessionId=""),"sourceWindow"in i||(this.sourceWindow=""),"dragType"in i||(this.dragType=""),"payload"in i||(this.payload=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new w(t)}}class v{sessionId;sourceWindow;dragType;constructor(i={}){"sessionId"in i||(this.sessionId=""),"sourceWindow"in i||(this.sourceWindow=""),"dragType"in i||(this.dragType=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new v(t)}}class D{sessionId;constructor(i={}){"sessionId"in i||(this.sessionId=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new D(t)}}class N{sessionId;targetWindow;constructor(i={}){"sessionId"in i||(this.sessionId=""),"targetWindow"in i||(this.targetWindow=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new N(t)}}class u{sessionId;targetWindow;payload;clientX;clientY;constructor(i={}){"sessionId"in i||(this.sessionId=""),"targetWindow"in i||(this.targetWindow=""),"payload"in i||(this.payload=""),"clientX"in i||(this.clientX=0),"clientY"in i||(this.clientY=0),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new u(t)}}class g{accepted;targetWindow;targetInstanceId;constructor(i={}){"accepted"in i||(this.accepted=!1),"targetWindow"in i||(this.targetWindow=""),"targetInstanceId"in i||(this.targetInstanceId=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new g(t)}}class a{name;kind;focused;constructor(i={}){"name"in i||(this.name=""),"kind"in i||(this.kind=""),"focused"in i||(this.focused=!1),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new a(t)}}var R=(n=>(n.$zero="",n.KindWorkspace="workspace",n.KindPanel="panel",n))(R||{});class j{kind;initialState;anchorWindow;clientX;clientY;hasPosition;width;height;constructor(i={}){"kind"in i||(this.kind=""),"initialState"in i||(this.initialState={}),"anchorWindow"in i||(this.anchorWindow=""),"clientX"in i||(this.clientX=0),"clientY"in i||(this.clientY=0),"hasPosition"in i||(this.hasPosition=!1),"width"in i||(this.width=0),"height"in i||(this.height=0),Object.assign(this,i)}static createFrom(i={}){const t=W;let e=typeof i=="string"?JSON.parse(i):i;return"initialState"in e&&(e.initialState=t(e.initialState)),new j(e)}}class F{name;kind;states;constructor(i={}){"name"in i||(this.name=""),"kind"in i||(this.kind=""),"states"in i||(this.states={}),Object.assign(this,i)}static createFrom(i={}){const t=W;let e=typeof i=="string"?JSON.parse(i):i;return"states"in e&&(e.states=t(e.states)),new F(e)}}class P{windows;constructor(i={}){"windows"in i||(this.windows=[]),Object.assign(this,i)}static createFrom(i={}){const t=X;let e=typeof i=="string"?JSON.parse(i):i;return"windows"in e&&(e.windows=t(e.windows)),new P(e)}}const W=s.Map(s.Any,s.Any),U=a.createFrom,X=s.Array(U),Y=Object.freeze(Object.defineProperty({__proto__:null,DragBegin:w,DragBeginEvent:v,DragEndEvent:D,DragLeaveEvent:N,DragPointerEvent:u,DropResult:g,Info:a,Kind:R,OpenRequest:j,WindowClosedEvent:F,WindowsChangedEvent:P},Symbol.toStringTag,{value:"Module"}));class r{file;line;column;message;constructor(i={}){"file"in i||(this.file=""),"line"in i||(this.line=0),"column"in i||(this.column=0),"message"in i||(this.message=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new r(t)}}var J=(n=>(n.$zero="",n.DevProcessStatusIdle="idle",n.DevProcessStatusStarting="starting",n.DevProcessStatusBuilding="building",n.DevProcessStatusRunning="running",n.DevProcessStatusReady="ready",n.DevProcessStatusError="error",n.DevProcessStatusStopped="stopped",n.DevProcessStatusNotApplicable="n/a",n))(J||{});class m{pluginID;errors;constructor(i={}){"pluginID"in i||(this.pluginID=""),"errors"in i||(this.errors=[]),Object.assign(this,i)}static createFrom(i={}){const t=V;let e=typeof i=="string"?JSON.parse(i):i;return"errors"in e&&(e.errors=t(e.errors)),new m(e)}}var T=(n=>(n.$zero="",n.DevServerModeIdle="idle",n.DevServerModeManaged="managed",n))(T||{});class S{pluginID;mode;devPath;vitePort;viteURL;viteStatus;goStatus;lastBuildDuration;lastBuildTime;lastError;grpcConnected;generation;hmrURL;buildStatus;rpcStatus;controllerStatus;ready;constructor(i={}){"pluginID"in i||(this.pluginID=""),"mode"in i||(this.mode=""),"devPath"in i||(this.devPath=""),"vitePort"in i||(this.vitePort=0),"viteURL"in i||(this.viteURL=""),"viteStatus"in i||(this.viteStatus=""),"goStatus"in i||(this.goStatus=""),"lastBuildDuration"in i||(this.lastBuildDuration=E.Duration.$zero),"lastBuildTime"in i||(this.lastBuildTime=""),"lastError"in i||(this.lastError=""),"grpcConnected"in i||(this.grpcConnected=!1),"generation"in i||(this.generation=""),"hmrURL"in i||(this.hmrURL=""),"buildStatus"in i||(this.buildStatus=""),"rpcStatus"in i||(this.rpcStatus=""),"controllerStatus"in i||(this.controllerStatus=""),"ready"in i||(this.ready=!1),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new S(t)}}var A=(n=>(n.$zero="",n.StagePending="pending",n.StageBuilding="building",n.StageReady="ready",n.StageError="error",n.StageStopped="stopped",n.StageNotApplicable="n/a",n))(A||{});let C=class k{timestamp;source;level;message;pluginID;constructor(i={}){"timestamp"in i||(this.timestamp=""),"source"in i||(this.source=""),"level"in i||(this.level=""),"message"in i||(this.message=""),"pluginID"in i||(this.pluginID=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new k(t)}};const q=r.createFrom,V=s.Array(q),x=Object.freeze(Object.defineProperty({__proto__:null,BuildError:r,DevProcessStatus:J,DevServerErrorPayload:m,DevServerMode:T,DevServerState:S,LifecycleStage:A,LogEntry:C},Symbol.toStringTag,{value:"Module"}));class y{timestamp;pluginID;source;level;message;constructor(i={}){"timestamp"in i||(this.timestamp=""),"pluginID"in i||(this.pluginID=""),"source"in i||(this.source=""),"level"in i||(this.level=""),"message"in i||(this.message=""),Object.assign(this,i)}static createFrom(i={}){let t=typeof i=="string"?JSON.parse(i):i;return new y(t)}}const Z=Object.freeze(Object.defineProperty({__proto__:null,LogEntry:y},Symbol.toStringTag,{value:"Module"}));exports.BuildError=r;exports.ConfigView=l;exports.ConnectionPolicyView=d;exports.DevProcessStatus=J;exports.DevServerErrorPayload=m;exports.DevServerMode=T;exports.DevServerState=S;exports.DropResult=g;exports.Info=a;exports.LifecycleStage=A;exports.LogEntry=C;exports.LogEntry$1=y;exports.PendingConfirmation=f;exports.PresetView=p;exports.Status=c;exports.ToolView=h;exports.models=x;exports.models$1=L;exports.models$2=Z;exports.models$3=Y;
|
package/dist/models.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index-BVi9X4oU.cjs"),e=require("./models-DSGyy8lg.cjs"),s=require("./graph-wHun0Bkz.cjs"),n=require("./models-dzj-SsFZ.cjs");class a{defaultDirectory;defaultFilename;title;filters;showHiddenFiles;canCreateDirectories;resolvesAliases;treatPackagesAsDirectories;constructor(t={}){"defaultDirectory"in t||(this.defaultDirectory=""),"defaultFilename"in t||(this.defaultFilename=""),"title"in t||(this.title=""),"filters"in t||(this.filters=[]),"showHiddenFiles"in t||(this.showHiddenFiles=!1),"canCreateDirectories"in t||(this.canCreateDirectories=!1),"resolvesAliases"in t||(this.resolvesAliases=!1),"treatPackagesAsDirectories"in t||(this.treatPackagesAsDirectories=!1),Object.assign(this,t)}static createFrom(t={}){const o=d;let i=typeof t=="string"?JSON.parse(t):t;return"filters"in i&&(i.filters=o(i.filters)),new a(i)}}class r{displayName;pattern;constructor(t={}){"displayName"in t||(this.displayName=""),"pattern"in t||(this.pattern=""),Object.assign(this,t)}static createFrom(t={}){let o=typeof t=="string"?JSON.parse(t):t;return new r(o)}}const S=r.createFrom,d=C.Array(S);function p(c,t){const o={...c};for(const[i,g]of Object.entries(c)){if(i==="$zero"||!i.startsWith(t))continue;const u=i.slice(t.length).replace(/([a-z0-9])([A-Z])/g,"$1_$2").toUpperCase();u&&(o[u]=g)}return o}const m=p(e.ConnectionStatusCode,"ConnectionStatus"),y=Object.freeze(Object.defineProperty({__proto__:null,Connection:e.Connection,ConnectionAutoConnect:e.ConnectionAutoConnect,ConnectionAutoConnectRetry:e.ConnectionAutoConnectRetry,ConnectionAutoConnectTrigger:e.ConnectionAutoConnectTrigger,ConnectionLifecycle:e.ConnectionLifecycle,ConnectionStatus:e.ConnectionStatus,ConnectionStatusCode:m,PluginCapability:e.Capability,PluginInfo:e.PluginInfo},Symbol.toStringTag,{value:"Module"}));class l{filename;contents;constructor(t={}){"filename"in t||(this.filename=""),"contents"in t||(this.contents=""),Object.assign(this,t)}static createFrom(t={}){let o=typeof t=="string"?JSON.parse(t):t;return new l(o)}}const f=Object.freeze(Object.defineProperty({__proto__:null,GetLanguageInput:l},Symbol.toStringTag,{value:"Module"}));exports.ActionTargetBuilder=e.ActionTargetBuilder;exports.AggregateValue=e.AggregateValue;exports.Category=e.Category;exports.ColorRange=e.ColorRange;exports.Connection=e.Connection;exports.ConnectionAutoConnect=e.ConnectionAutoConnect;exports.ConnectionAutoConnectRetry=e.ConnectionAutoConnectRetry;exports.ConnectionAutoConnectTrigger=e.ConnectionAutoConnectTrigger;exports.ConnectionLifecycle=e.ConnectionLifecycle;exports.ConnectionStatus=e.ConnectionStatus;exports.ConnectionStatusCode=e.ConnectionStatusCode;exports.CurrentValue=e.CurrentValue;exports.DataPoint=e.DataPoint;exports.FindPortForwardSessionRequest=e.FindPortForwardSessionRequest;exports.GetPluginComponentsInput=e.GetPluginComponentsInput;exports.GetResourceAreaComponentInput=e.GetResourceAreaComponentInput;exports.GetResourceComponentsInput=e.GetResourceComponentsInput;exports.Handler=e.Handler;exports.LogSession=e.LogSession;exports.LogSessionOptions=e.LogSessionOptions;exports.LogSessionStatus=e.LogSessionStatus;exports.LogSource=e.LogSource;exports.LogStreamCommand=e.LogStreamCommand;exports.MetricDescriptor=e.MetricDescriptor;exports.MetricResult=e.MetricResult;exports.MetricShape=e.MetricShape;exports.MetricUnit=e.MetricUnit;exports.PluginAuthor=e.PluginAuthor;exports.PluginCapability=e.Capability;exports.PluginComponentArea=e.PluginComponentArea;exports.PluginComponents=e.PluginComponents;exports.PluginInfo=e.PluginInfo;exports.PluginMaintainer=e.PluginMaintainer;exports.PluginMeta=e.PluginMeta;exports.PluginResourceComponent=e.PluginResourceComponent;exports.PluginTheme=e.PluginTheme;exports.PluginThemeColors=e.PluginThemeColors;exports.PortForwardConnectionType=e.PortForwardConnectionType;exports.PortForwardProtocol=e.PortForwardProtocol;exports.PortForwardSession=e.PortForwardSession;exports.PortForwardSessionEncryption=e.PortForwardSessionEncryption;exports.QueryResponse=e.QueryResponse;exports.ResourceComponent=e.ResourceComponent;exports.ResourceComponentArea=e.ResourceComponentArea;exports.Session=e.Session;exports.SessionOptions=e.SessionOptions;exports.SessionState=e.SessionState;exports.Setting=e.Setting;exports.SettingFileSelection=e.SettingFileSelection;exports.SettingOption=e.SettingOption;exports.SettingType=e.SettingType;exports.StateIsolationProvenance=e.StateIsolationProvenance;exports.TimeSeries=e.TimeSeries;exports.ValidationResult=e.ValidationResult;exports.config=e.models;exports.exec=e.models$1;exports.logs=e.models$2;exports.metric=e.models$3;exports.networker=e.models$4;exports.registry=e.models$5;exports.settings=e.models$6;exports.time=e.models$7;exports.ui=e.models$8;exports.SyncPolicy=s.SyncPolicy;exports.WatchState=s.WatchState;exports.sameGraphNode=s.sameGraphNode;exports.BuildError=n.BuildError;exports.DevProcessStatus=n.DevProcessStatus;exports.DevServerErrorPayload=n.DevServerErrorPayload;exports.DevServerLogEntry=n.LogEntry;exports.DevServerMode=n.DevServerMode;exports.DevServerState=n.DevServerState;exports.LifecycleStage=n.LifecycleStage;exports.PluginLogEntry=n.LogEntry$1;exports.devserver=n.models;exports.mcprelay=n.models$1;exports.pluginlog=n.models$2;exports.window=n.models$3;exports.FileDialogOptions=a;exports.FileFilter=r;exports.types=y;exports.utils=f;
|
package/dist/models.d.ts
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
export * from './bindings/github.com/omniviewdev/omniview/models';
|
|
2
|
-
export
|
|
2
|
+
export { Capability as PluginCapability, Connection, ConnectionAutoConnect, ConnectionAutoConnectRetry, ConnectionAutoConnectTrigger, ConnectionLifecycle, ConnectionStatus, ConnectionStatusCode, PluginInfo, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models';
|
|
3
3
|
export * from './bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models';
|
|
4
|
-
export * from './
|
|
5
|
-
export
|
|
6
|
-
export
|
|
4
|
+
export * from './resource/v2/domain';
|
|
5
|
+
export * from './resource/v2/ancillary';
|
|
6
|
+
export * from './resource/v2/host';
|
|
7
|
+
export * from './resource/v2/graph';
|
|
8
|
+
export { WatchState, SyncPolicy } from './types/watch';
|
|
9
|
+
export type { LogSessionRequest } from './logs';
|
|
10
|
+
export type { MetricQueryRequest, SubscribeRequest } from './metric';
|
|
11
|
+
export type { PortForwardSessionRequest, ResourcePortForwardTarget } from './networker';
|
|
7
12
|
export { ActionTargetBuilder, Handler, Session, SessionOptions, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models';
|
|
8
|
-
export {
|
|
9
|
-
export { AggregateValue, ColorRange, CurrentValue, DataPoint, MetricDescriptor, MetricResult, MetricShape, MetricUnit,
|
|
10
|
-
export { FindPortForwardSessionRequest, PortForwardConnectionType, PortForwardProtocol, PortForwardSession, PortForwardSessionEncryption,
|
|
13
|
+
export { LogSession, LogSessionOptions, LogSessionStatus, LogSource, LogStreamCommand, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models';
|
|
14
|
+
export { AggregateValue, ColorRange, CurrentValue, DataPoint, MetricDescriptor, MetricResult, MetricShape, MetricUnit, QueryResponse, TimeSeries, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models';
|
|
15
|
+
export { FindPortForwardSessionRequest, PortForwardConnectionType, PortForwardProtocol, PortForwardSession, PortForwardSessionEncryption, SessionState, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models';
|
|
11
16
|
export * from './bindings/github.com/omniviewdev/plugin-sdk/settings/models';
|
|
12
17
|
export { BuildError, DevProcessStatus, LifecycleStage, DevServerErrorPayload, DevServerMode, DevServerState, LogEntry as DevServerLogEntry, } from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models';
|
|
13
18
|
export { LogEntry as PluginLogEntry, } from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/models';
|
|
@@ -18,10 +23,10 @@ export * as exec from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/
|
|
|
18
23
|
export * as logs from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models';
|
|
19
24
|
export * as metric from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models';
|
|
20
25
|
export * as networker from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models';
|
|
21
|
-
export * as resource from './compat/resource';
|
|
22
26
|
export * as settings from './bindings/github.com/omniviewdev/plugin-sdk/settings/models';
|
|
23
27
|
export * as devserver from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models';
|
|
24
28
|
export * as pluginlog from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/models';
|
|
29
|
+
export * as mcprelay from './bindings/github.com/omniviewdev/omniview/internal/mcprelay/models';
|
|
25
30
|
export * as registry from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/models';
|
|
26
31
|
export * as ui from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/models';
|
|
27
32
|
export * as utils from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/models';
|
package/dist/models.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { B as
|
|
6
|
-
class
|
|
1
|
+
import { A as c } from "./index-zyAgCXOO.js";
|
|
2
|
+
import { k as g, d as p, l as f, m as u, n as S, o as d, C as m, p as y, c as C } from "./models-UwESEW2B.js";
|
|
3
|
+
import { q as T, r as R, g as M, s as j, t as N, u as _, F as k, G as E, v as I, w as x, H as z, L as G, x as H, y as B, z as J, B as W, M as U, E as V, I as q, J as Q, K as Z, N as K, O as X, T as Y, P as $, U as ee, W as te, X as ae, Y as se, Z as ie, b as ne, _ as oe, Q as re, h as le, $ as ce, a as ge, S as pe, a0 as fe, e as ue, a1 as Se, a2 as de, a3 as me, a4 as ye, a5 as Ce, f as Pe, a6 as he, a7 as ve, a8 as Fe, a9 as Ae, aa as we, ab as De, ac as be, ad as Oe, ae as Le } from "./models-UwESEW2B.js";
|
|
4
|
+
import { S as Re, W as Me, s as je } from "./graph-JDqyJC_i.js";
|
|
5
|
+
import { B as _e, e as ke, f as Ee, L as Ie, g as xe, c as ze, h as Ge, d as He, m as Be, i as Je, j as We, k as Ue } from "./models-Cg1YRHQm.js";
|
|
6
|
+
class r {
|
|
7
7
|
defaultDirectory;
|
|
8
8
|
defaultFilename;
|
|
9
9
|
title;
|
|
@@ -20,9 +20,9 @@ class o {
|
|
|
20
20
|
* Creates a new FileDialogOptions instance from a string or object.
|
|
21
21
|
*/
|
|
22
22
|
static createFrom(e = {}) {
|
|
23
|
-
const
|
|
24
|
-
let
|
|
25
|
-
return "filters" in
|
|
23
|
+
const t = h;
|
|
24
|
+
let a = typeof e == "string" ? JSON.parse(e) : e;
|
|
25
|
+
return "filters" in a && (a.filters = t(a.filters)), new r(a);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
class s {
|
|
@@ -42,71 +42,34 @@ class s {
|
|
|
42
42
|
* Creates a new FileFilter instance from a string or object.
|
|
43
43
|
*/
|
|
44
44
|
static createFrom(e = {}) {
|
|
45
|
-
let
|
|
46
|
-
return new s(
|
|
45
|
+
let t = typeof e == "string" ? JSON.parse(e) : e;
|
|
46
|
+
return new s(t);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
FilterExpression: P,
|
|
64
|
-
FilterField: F,
|
|
65
|
-
FilterFieldType: b,
|
|
66
|
-
FilterLogic: D,
|
|
67
|
-
FilterOperator: v,
|
|
68
|
-
FilterPredicate: A,
|
|
69
|
-
FindInput: O,
|
|
70
|
-
FindResult: w,
|
|
71
|
-
GetInput: L,
|
|
72
|
-
GetResult: T,
|
|
73
|
-
HealthCondition: E,
|
|
74
|
-
HealthStatus: I,
|
|
75
|
-
ListInput: M,
|
|
76
|
-
ListResult: N,
|
|
77
|
-
OrderField: _,
|
|
78
|
-
PaginationParams: j,
|
|
79
|
-
RelationshipDescriptor: G,
|
|
80
|
-
RelationshipExtractor: H,
|
|
81
|
-
RelationshipType: x,
|
|
82
|
-
ResolvedRelationship: W,
|
|
83
|
-
ResourceCapabilities: k,
|
|
84
|
-
ResourceDefinition: z,
|
|
85
|
-
ResourceEvent: B,
|
|
86
|
-
ResourceGroup: J,
|
|
87
|
-
ResourceHealth: U,
|
|
88
|
-
ResourceLink: q,
|
|
89
|
-
ResourceMeta: Q,
|
|
90
|
-
ResourceRef: V,
|
|
91
|
-
ScaleHint: K,
|
|
92
|
-
ScaleLevel: X,
|
|
93
|
-
UpdateInput: Y,
|
|
94
|
-
UpdateResult: Z,
|
|
95
|
-
WatchConnectionSummary: $,
|
|
96
|
-
WatchScope: ee,
|
|
97
|
-
WatchState: Se,
|
|
98
|
-
WatchStateEvent: ae
|
|
99
|
-
}, Symbol.toStringTag, { value: "Module" })), ge = n(te, "ConnectionStatus"), ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
49
|
+
const P = s.createFrom, h = c(P);
|
|
50
|
+
function v(n, e) {
|
|
51
|
+
const t = {
|
|
52
|
+
...n
|
|
53
|
+
};
|
|
54
|
+
for (const [a, l] of Object.entries(n)) {
|
|
55
|
+
if (a === "$zero" || !a.startsWith(e))
|
|
56
|
+
continue;
|
|
57
|
+
const o = a.slice(e.length).replace(/([a-z0-9])([A-Z])/g, "$1_$2").toUpperCase();
|
|
58
|
+
o && (t[o] = l);
|
|
59
|
+
}
|
|
60
|
+
return t;
|
|
61
|
+
}
|
|
62
|
+
const F = v(g, "ConnectionStatus"), D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
100
63
|
__proto__: null,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
PluginInfo:
|
|
64
|
+
Connection: p,
|
|
65
|
+
ConnectionAutoConnect: f,
|
|
66
|
+
ConnectionAutoConnectRetry: u,
|
|
67
|
+
ConnectionAutoConnectTrigger: S,
|
|
68
|
+
ConnectionLifecycle: d,
|
|
69
|
+
ConnectionStatus: m,
|
|
70
|
+
ConnectionStatusCode: F,
|
|
71
|
+
PluginCapability: y,
|
|
72
|
+
PluginInfo: C
|
|
110
73
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
111
74
|
class i {
|
|
112
75
|
filename;
|
|
@@ -119,149 +82,95 @@ class i {
|
|
|
119
82
|
* Creates a new GetLanguageInput instance from a string or object.
|
|
120
83
|
*/
|
|
121
84
|
static createFrom(e = {}) {
|
|
122
|
-
let
|
|
123
|
-
return new i(
|
|
85
|
+
let t = typeof e == "string" ? JSON.parse(e) : e;
|
|
86
|
+
return new i(t);
|
|
124
87
|
}
|
|
125
88
|
}
|
|
126
|
-
const
|
|
89
|
+
const b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
127
90
|
__proto__: null,
|
|
128
91
|
GetLanguageInput: i
|
|
129
92
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
130
93
|
export {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
Oe as CreateSessionOptions,
|
|
152
|
-
we as CurrentValue,
|
|
153
|
-
Le as DataPoint,
|
|
154
|
-
m as DeleteInput,
|
|
155
|
-
h as DeleteResult,
|
|
156
|
-
Te as DependencyNode,
|
|
157
|
-
Ee as DependencyTree,
|
|
158
|
-
Na as DevProcessStatus,
|
|
159
|
-
_a as DevServerErrorPayload,
|
|
160
|
-
ja as DevServerLogEntry,
|
|
161
|
-
Ga as DevServerMode,
|
|
162
|
-
Ha as DevServerState,
|
|
163
|
-
C as EdgeDirection,
|
|
164
|
-
y as EditorSchema,
|
|
165
|
-
R as EventSeverity,
|
|
166
|
-
o as FileDialogOptions,
|
|
94
|
+
T as ActionTargetBuilder,
|
|
95
|
+
R as AggregateValue,
|
|
96
|
+
_e as BuildError,
|
|
97
|
+
M as Category,
|
|
98
|
+
j as ColorRange,
|
|
99
|
+
p as Connection,
|
|
100
|
+
f as ConnectionAutoConnect,
|
|
101
|
+
u as ConnectionAutoConnectRetry,
|
|
102
|
+
S as ConnectionAutoConnectTrigger,
|
|
103
|
+
d as ConnectionLifecycle,
|
|
104
|
+
m as ConnectionStatus,
|
|
105
|
+
g as ConnectionStatusCode,
|
|
106
|
+
N as CurrentValue,
|
|
107
|
+
_ as DataPoint,
|
|
108
|
+
ke as DevProcessStatus,
|
|
109
|
+
Ee as DevServerErrorPayload,
|
|
110
|
+
Ie as DevServerLogEntry,
|
|
111
|
+
xe as DevServerMode,
|
|
112
|
+
ze as DevServerState,
|
|
113
|
+
r as FileDialogOptions,
|
|
167
114
|
s as FileFilter,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
q as ResourceLink,
|
|
230
|
-
Q as ResourceMeta,
|
|
231
|
-
V as ResourceRef,
|
|
232
|
-
K as ScaleHint,
|
|
233
|
-
X as ScaleLevel,
|
|
234
|
-
ua as Session,
|
|
235
|
-
da as SessionOptions,
|
|
236
|
-
Sa as SessionState,
|
|
237
|
-
ga as Setting,
|
|
238
|
-
fa as SettingFileSelection,
|
|
239
|
-
ma as SettingOption,
|
|
240
|
-
ha as SettingType,
|
|
241
|
-
Ca as StateIsolationProvenance,
|
|
242
|
-
ya as Subgraph,
|
|
243
|
-
Ra as SubgraphNode,
|
|
244
|
-
Pa as TimeSeries,
|
|
245
|
-
Y as UpdateInput,
|
|
246
|
-
Z as UpdateResult,
|
|
247
|
-
Fa as ValidationResult,
|
|
248
|
-
$ as WatchConnectionSummary,
|
|
249
|
-
ee as WatchScope,
|
|
250
|
-
Se as WatchState,
|
|
251
|
-
ae as WatchStateEvent,
|
|
252
|
-
ba as config,
|
|
253
|
-
ka as devserver,
|
|
254
|
-
Da as exec,
|
|
255
|
-
va as logs,
|
|
256
|
-
Aa as metric,
|
|
257
|
-
Oa as networker,
|
|
258
|
-
za as pluginlog,
|
|
259
|
-
wa as registry,
|
|
260
|
-
Ce as resource,
|
|
261
|
-
La as settings,
|
|
262
|
-
Ta as time,
|
|
263
|
-
ye as types,
|
|
264
|
-
Ea as ui,
|
|
265
|
-
Re as utils,
|
|
266
|
-
Ba as window
|
|
115
|
+
k as FindPortForwardSessionRequest,
|
|
116
|
+
E as GetPluginComponentsInput,
|
|
117
|
+
I as GetResourceAreaComponentInput,
|
|
118
|
+
x as GetResourceComponentsInput,
|
|
119
|
+
z as Handler,
|
|
120
|
+
Ge as LifecycleStage,
|
|
121
|
+
G as LogSession,
|
|
122
|
+
H as LogSessionOptions,
|
|
123
|
+
B as LogSessionStatus,
|
|
124
|
+
J as LogSource,
|
|
125
|
+
W as LogStreamCommand,
|
|
126
|
+
U as MetricDescriptor,
|
|
127
|
+
V as MetricResult,
|
|
128
|
+
q as MetricShape,
|
|
129
|
+
Q as MetricUnit,
|
|
130
|
+
Z as PluginAuthor,
|
|
131
|
+
y as PluginCapability,
|
|
132
|
+
K as PluginComponentArea,
|
|
133
|
+
X as PluginComponents,
|
|
134
|
+
C as PluginInfo,
|
|
135
|
+
He as PluginLogEntry,
|
|
136
|
+
Y as PluginMaintainer,
|
|
137
|
+
$ as PluginMeta,
|
|
138
|
+
ee as PluginResourceComponent,
|
|
139
|
+
te as PluginTheme,
|
|
140
|
+
ae as PluginThemeColors,
|
|
141
|
+
se as PortForwardConnectionType,
|
|
142
|
+
ie as PortForwardProtocol,
|
|
143
|
+
ne as PortForwardSession,
|
|
144
|
+
oe as PortForwardSessionEncryption,
|
|
145
|
+
re as QueryResponse,
|
|
146
|
+
le as ResourceComponent,
|
|
147
|
+
ce as ResourceComponentArea,
|
|
148
|
+
ge as Session,
|
|
149
|
+
pe as SessionOptions,
|
|
150
|
+
fe as SessionState,
|
|
151
|
+
ue as Setting,
|
|
152
|
+
Se as SettingFileSelection,
|
|
153
|
+
de as SettingOption,
|
|
154
|
+
me as SettingType,
|
|
155
|
+
ye as StateIsolationProvenance,
|
|
156
|
+
Re as SyncPolicy,
|
|
157
|
+
Ce as TimeSeries,
|
|
158
|
+
Pe as ValidationResult,
|
|
159
|
+
Me as WatchState,
|
|
160
|
+
he as config,
|
|
161
|
+
Be as devserver,
|
|
162
|
+
ve as exec,
|
|
163
|
+
Fe as logs,
|
|
164
|
+
Je as mcprelay,
|
|
165
|
+
Ae as metric,
|
|
166
|
+
we as networker,
|
|
167
|
+
We as pluginlog,
|
|
168
|
+
De as registry,
|
|
169
|
+
je as sameGraphNode,
|
|
170
|
+
be as settings,
|
|
171
|
+
Oe as time,
|
|
172
|
+
D as types,
|
|
173
|
+
Le as ui,
|
|
174
|
+
b as utils,
|
|
175
|
+
Ue as window
|
|
267
176
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CancellablePromise } from '@wailsio/runtime';
|
|
2
|
+
import { PortForwardProtocol, PortForwardSession, PortForwardSessionEncryption } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models';
|
|
3
|
+
import { Value, ResourceReference, AccessRoute } from './resource/v2/domain';
|
|
4
|
+
export { ClosePortForwardSession, FindPortForwardSessions, GetPortForwardSession, GetSupportedPortForwardTargets, HasPlugin, ListAllPortForwardSessions, ListPlugins, ListPortForwardSessions, } from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper';
|
|
5
|
+
export interface ResourcePortForwardTarget {
|
|
6
|
+
resource_data?: Value;
|
|
7
|
+
reference?: ResourceReference;
|
|
8
|
+
route?: AccessRoute;
|
|
9
|
+
connection_id: string;
|
|
10
|
+
plugin_id: string;
|
|
11
|
+
resource_id: string;
|
|
12
|
+
resource_key: string;
|
|
13
|
+
}
|
|
14
|
+
/** The SDK's resource and static connection variants, paired with their wire discriminator. */
|
|
15
|
+
export type PortForwardSessionRequest = {
|
|
16
|
+
local_port: number;
|
|
17
|
+
remote_port: number;
|
|
18
|
+
protocol: `${PortForwardProtocol}`;
|
|
19
|
+
labels?: Record<string, string>;
|
|
20
|
+
params?: Record<string, string>;
|
|
21
|
+
encryption?: PortForwardSessionEncryption;
|
|
22
|
+
} & ({
|
|
23
|
+
connection_type: 'RESOURCE';
|
|
24
|
+
connection: ResourcePortForwardTarget;
|
|
25
|
+
} | {
|
|
26
|
+
connection_type: 'STATIC';
|
|
27
|
+
connection: {
|
|
28
|
+
address: string;
|
|
29
|
+
};
|
|
30
|
+
});
|
|
31
|
+
export declare function StartResourcePortForwardingSession(plugin: string, connectionID: string, options: PortForwardSessionRequest): CancellablePromise<PortForwardSession | null>;
|