@omniviewdev/runtime 0.2.3 → 0.4.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 +15 -14
- package/dist/api.js +110 -125
- package/dist/bindings/encoding/json/index.d.ts +1 -0
- package/dist/bindings/encoding/json/models.d.ts +6 -0
- package/dist/bindings/github.com/omniviewdev/omniview/appservice.d.ts +18 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/diagnosticsclient.d.ts +51 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/servicewrapper.d.ts +5 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models.d.ts +132 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/servicewrapper.d.ts +12 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts +22 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/models.d.ts +29 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper.d.ts +11 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/models.d.ts +39 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts +16 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/models.d.ts +72 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper.d.ts +11 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/models.d.ts +24 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/servicewrapper.d.ts +7 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/models.d.ts +94 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +53 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +14 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +4 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +61 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +92 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/servicewrapper.d.ts +24 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/servicewrapper.d.ts +18 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/models.d.ts +22 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/models.d.ts +55 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/servicewrapper.d.ts +7 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/client.d.ts +6 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/models.d.ts +10 -0
- package/dist/bindings/github.com/omniviewdev/omniview/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/servicewrapper.d.ts +48 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/telemetrybinding.d.ts +7 -0
- package/dist/bindings/github.com/omniviewdev/omniview/models.d.ts +38 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +101 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +199 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +79 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +133 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +207 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +96 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +1199 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +169 -0
- package/dist/bindings/github.com/wailsapp/wails/v3/internal/eventcreate.d.ts +1 -0
- package/dist/bindings/time/index.d.ts +1 -0
- package/dist/bindings/time/models.d.ts +33 -0
- package/dist/calls-BmUnjINC.js +677 -0
- package/dist/calls-DZctVyoQ.cjs +1 -0
- package/dist/compat/legacyEnum.d.ts +10 -0
- package/dist/compat/resource.d.ts +4 -0
- package/dist/compat/types.d.ts +4 -0
- package/dist/context/plugins/PluginContext.d.ts +2 -2
- package/dist/events-BTiuwc-0.cjs +1 -0
- package/dist/events-DDTGFACO.js +371 -0
- package/dist/extensions/provider.d.ts +12 -6
- package/dist/extensions/registry.d.ts +37 -18
- package/dist/hooks/connection/useConnection.d.ts +5 -5
- package/dist/hooks/connection/useConnectionStatus.d.ts +7 -0
- package/dist/hooks/connection/useConnections.d.ts +4 -4
- package/dist/hooks/exec/useExecSession.d.ts +2 -2
- package/dist/hooks/logs/useLogSession.d.ts +1 -2
- package/dist/hooks/metric/useMetricProviders.d.ts +3 -3
- package/dist/hooks/metric/useMetricStream.d.ts +2 -2
- package/dist/hooks/metric/useResourceMetrics.d.ts +4 -3
- package/dist/hooks/networker/types.d.ts +3 -3
- package/dist/hooks/networker/usePortForwardSessions.d.ts +4 -4
- package/dist/hooks/networker/useResourcePortForwarder.d.ts +3 -4
- package/dist/hooks/resource/useEditorSchemas.d.ts +2 -2
- package/dist/hooks/resource/useEventBatcher.d.ts +3 -0
- package/dist/hooks/resource/useResource.d.ts +3 -4
- package/dist/hooks/resource/useResourceActions.d.ts +2 -3
- package/dist/hooks/resource/useResourceAreaComponent.d.ts +3 -3
- package/dist/hooks/resource/useResourceGroups.d.ts +6 -6
- package/dist/hooks/resource/useResourceMutations.d.ts +3 -4
- package/dist/hooks/resource/useResourceType.d.ts +1 -1
- package/dist/hooks/resource/useResourceTypes.d.ts +6 -6
- package/dist/hooks/resource/useResources.d.ts +3 -4
- package/dist/index-D2mKAO8s.js +1069 -0
- package/dist/index-D_aIcqH0.cjs +6 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +1371 -1778
- package/dist/legacyEnum-DORXlU_y.js +13 -0
- package/dist/legacyEnum-DkV5yRdA.cjs +1 -0
- package/dist/models-B8OVRhdT.js +159 -0
- package/dist/models-BVKsY9u1.js +2285 -0
- package/dist/models-CExSuVU2.cjs +1 -0
- package/dist/models-DdAWPDgz.cjs +1 -0
- package/dist/models.cjs +1 -1
- package/dist/models.d.ts +27 -1
- package/dist/models.js +259 -2244
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +198 -205
- package/dist/servicewrapper-BH5omp-N.js +708 -0
- package/dist/servicewrapper-dDhyC68C.cjs +1 -0
- package/dist/types/app.d.ts +1 -1
- package/dist/types/extensions.d.ts +107 -161
- package/dist/types/watch.d.ts +4 -5
- package/package.json +17 -9
- package/LICENSE +0 -661
- package/dist/Client-D4njqvNH.js +0 -632
- package/dist/Client-DHqavZ6d.cjs +0 -1
- package/dist/wailsjs/go/data/Client.d.ts +0 -10
- package/dist/wailsjs/go/devserver/DevServerManager.d.ts +0 -24
- package/dist/wailsjs/go/diagnostics/DiagnosticsClient.d.ts +0 -18
- package/dist/wailsjs/go/exec/Client.d.ts +0 -26
- package/dist/wailsjs/go/logs/Client.d.ts +0 -16
- package/dist/wailsjs/go/main/App.d.ts +0 -8
- package/dist/wailsjs/go/metric/Client.d.ts +0 -12
- package/dist/wailsjs/go/models.d.ts +0 -1060
- package/dist/wailsjs/go/networker/Client.d.ts +0 -14
- package/dist/wailsjs/go/plugin/pluginManager.d.ts +0 -52
- package/dist/wailsjs/go/pluginlog/Manager.d.ts +0 -18
- package/dist/wailsjs/go/resource/Client.d.ts +0 -90
- package/dist/wailsjs/go/settings/Client.d.ts +0 -14
- package/dist/wailsjs/go/settings/provider.d.ts +0 -46
- package/dist/wailsjs/go/ui/Client.d.ts +0 -6
- package/dist/wailsjs/go/utils/Client.d.ts +0 -2
- package/dist/wailsjs/runtime/runtime.d.ts +0 -249
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var h=Object.defineProperty;var c=(e,t,r)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var i=(e,t,r)=>c(e,typeof t!="symbol"?t+"":t,r);const v=require("./index-D_aIcqH0.cjs"),u=require("./models-DdAWPDgz.cjs");class n{constructor(t={}){i(this,"file");i(this,"line");i(this,"column");i(this,"message");"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 r=typeof t=="string"?JSON.parse(t):t;return new n(r)}}class a{constructor(t={}){i(this,"pid");i(this,"protocol");i(this,"protocolVersion");i(this,"addr");i(this,"vitePort");i(this,"pluginId");i(this,"version");i(this,"startedAt");"pid"in t||(this.pid=0),"protocol"in t||(this.protocol=""),"protocolVersion"in t||(this.protocolVersion=0),"addr"in t||(this.addr=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new a(r)}}var d=(e=>(e.$zero="",e.DevProcessStatusIdle="idle",e.DevProcessStatusStarting="starting",e.DevProcessStatusBuilding="building",e.DevProcessStatusRunning="running",e.DevProcessStatusReady="ready",e.DevProcessStatusError="error",e.DevProcessStatusStopped="stopped",e))(d||{});class l{constructor(t={}){i(this,"pluginID");i(this,"errors");"pluginID"in t||(this.pluginID=""),"errors"in t||(this.errors=[]),Object.assign(this,t)}static createFrom(t={}){const r=y;let s=typeof t=="string"?JSON.parse(t):t;return"errors"in s&&(s.errors=r(s.errors)),new l(s)}}var g=(e=>(e.$zero="",e.DevServerModeIdle="idle",e.DevServerModeManaged="managed",e.DevServerModeExternal="external",e))(g||{});class o{constructor(t={}){i(this,"pluginID");i(this,"mode");i(this,"devPath");i(this,"vitePort");i(this,"viteURL");i(this,"viteStatus");i(this,"goStatus");i(this,"lastBuildDuration");i(this,"lastBuildTime");i(this,"lastError");i(this,"grpcConnected");"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=u.Duration.$zero),"lastBuildTime"in t||(this.lastBuildTime=""),"lastError"in t||(this.lastError=""),"grpcConnected"in t||(this.grpcConnected=!1),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new o(r)}}let f=class m{constructor(t={}){i(this,"timestamp");i(this,"source");i(this,"level");i(this,"message");i(this,"pluginID");"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 r=typeof t=="string"?JSON.parse(t):t;return new m(r)}};const S=n.createFrom,y=v.Array(S),D=Object.freeze(Object.defineProperty({__proto__:null,BuildError:n,DevInfoFile:a,DevProcessStatus:d,DevServerErrorPayload:l,DevServerMode:g,DevServerState:o,LogEntry:f},Symbol.toStringTag,{value:"Module"}));class p{constructor(t={}){i(this,"timestamp");i(this,"pluginID");i(this,"source");i(this,"level");i(this,"message");"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 r=typeof t=="string"?JSON.parse(t):t;return new p(r)}}const I=Object.freeze(Object.defineProperty({__proto__:null,LogEntry:p},Symbol.toStringTag,{value:"Module"}));exports.BuildError=n;exports.DevInfoFile=a;exports.DevProcessStatus=d;exports.DevServerErrorPayload=l;exports.DevServerMode=g;exports.DevServerState=o;exports.LogEntry=f;exports.LogEntry$1=p;exports.models=D;exports.models$1=I;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var It=Object.defineProperty;var kt=(i,e,s)=>e in i?It(i,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[e]=s;var t=(i,e,s)=>kt(i,typeof e!="symbol"?e+"":e,s);const c=require("./index-D_aIcqH0.cjs");class D{constructor(e={}){t(this,"settings");t(this,"id");t(this,"label");t(this,"description");t(this,"icon");"settings"in e||(this.settings={}),"id"in e||(this.id=""),"label"in e||(this.label=""),"description"in e||(this.description=""),"icon"in e||(this.icon=""),Object.assign(this,e)}static createFrom(e={}){const s=Dt;let n=typeof e=="string"?JSON.parse(e):e;return"settings"in n&&(n.settings=s(n.settings)),new D(n)}}class S{constructor(e={}){t(this,"id");t(this,"label");t(this,"description");t(this,"type");t(this,"value");t(this,"default");t(this,"options");t(this,"fileSelection");t(this,"sensitive");t(this,"devOnly");"id"in e||(this.id=""),"label"in e||(this.label=""),"description"in e||(this.description=""),"type"in e||(this.type=""),"value"in e||(this.value=null),"default"in e||(this.default=null),"options"in e||(this.options=[]),"fileSelection"in e||(this.fileSelection=null),"sensitive"in e||(this.sensitive=!1),"devOnly"in e||(this.devOnly=!1),Object.assign(this,e)}static createFrom(e={}){const s=Ut,n=Kt;let a=typeof e=="string"?JSON.parse(e):e;return"options"in a&&(a.options=s(a.options)),"fileSelection"in a&&(a.fileSelection=n(a.fileSelection)),new S(a)}}class F{constructor(e={}){t(this,"enabled");t(this,"allowFolders");t(this,"extensions");t(this,"multiple");t(this,"relative");t(this,"defaultPath");"enabled"in e||(this.enabled=!1),"allowFolders"in e||(this.allowFolders=!1),"extensions"in e||(this.extensions=[]),"multiple"in e||(this.multiple=!1),"relative"in e||(this.relative=!1),"defaultPath"in e||(this.defaultPath=""),Object.assign(this,e)}static createFrom(e={}){const s=Gt;let n=typeof e=="string"?JSON.parse(e):e;return"extensions"in n&&(n.extensions=s(n.extensions)),new F(n)}}class O{constructor(e={}){t(this,"label");t(this,"description");t(this,"value");"label"in e||(this.label=""),"description"in e||(this.description=""),"value"in e||(this.value=null),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new O(s)}}var Oe=(i=>(i.$zero="",i.Text="text",i.Select="select",i.MultiSelect="multiselect",i.Integer="integer",i.Float="float",i.Toggle="toggle",i.Color="color",i.DateTime="datetime",i.Password="password",i))(Oe||{});const Mt=S.createFrom,Dt=c.Map(c.Any,Mt),Ht=O.createFrom,Ut=c.Array(Ht),Bt=F.createFrom,Kt=c.Nullable(Bt),Gt=c.Array(c.Any),Lt=Object.freeze(Object.defineProperty({__proto__:null,Category:D,Setting:S,SettingFileSelection:F,SettingOption:O,SettingType:Oe},Symbol.toStringTag,{value:"Module"}));class w{constructor(e={}){t(this,"name");t(this,"email");t(this,"url");"name"in e||(this.name=""),"email"in e||(this.email=""),"url"in e||(this.url=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new w(s)}}var we=(i=>(i.$zero="",i.PluginComponentAreaEditor="EDITOR",i.PluginComponentAreaSidebar="SIDEBAR",i))(we||{});class f{constructor(e={}){t(this,"resource");"resource"in e||(this.resource=[]),Object.assign(this,e)}static createFrom(e={}){const s=Zt;let n=typeof e=="string"?JSON.parse(e):e;return"resource"in n&&(n.resource=s(n.resource)),new f(n)}}class v{constructor(e={}){t(this,"name");t(this,"email");"name"in e||(this.name=""),"email"in e||(this.email=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new v(s)}}class h{constructor(e={}){t(this,"id");t(this,"version");t(this,"name");t(this,"icon");t(this,"icon_url");t(this,"description");t(this,"repository");t(this,"website");t(this,"category");t(this,"license");t(this,"author");t(this,"maintainers");t(this,"tags");t(this,"dependencies");t(this,"capabilities");t(this,"theme");t(this,"components");t(this,"schema_version");t(this,"sdk_protocol_version");"id"in e||(this.id=""),"version"in e||(this.version=""),"name"in e||(this.name=""),"icon"in e||(this.icon=""),"icon_url"in e||(this.icon_url=""),"description"in e||(this.description=""),"repository"in e||(this.repository=""),"website"in e||(this.website=""),"category"in e||(this.category=""),"license"in e||(this.license=""),"maintainers"in e||(this.maintainers=[]),"tags"in e||(this.tags=[]),"dependencies"in e||(this.dependencies=[]),"capabilities"in e||(this.capabilities=[]),"theme"in e||(this.theme=new m),"components"in e||(this.components=new f),"schema_version"in e||(this.schema_version=0),"sdk_protocol_version"in e||(this.sdk_protocol_version=0),Object.assign(this,e)}static createFrom(e={}){const s=Qt,n=Yt,a=M,r=M,l=M,xt=Xt,zt=$t;let o=typeof e=="string"?JSON.parse(e):e;return"author"in o&&(o.author=s(o.author)),"maintainers"in o&&(o.maintainers=n(o.maintainers)),"tags"in o&&(o.tags=a(o.tags)),"dependencies"in o&&(o.dependencies=r(o.dependencies)),"capabilities"in o&&(o.capabilities=l(o.capabilities)),"theme"in o&&(o.theme=xt(o.theme)),"components"in o&&(o.components=zt(o.components)),new h(o)}}class T{constructor(e={}){t(this,"name");t(this,"plugin");t(this,"area");t(this,"resources");t(this,"extension");"name"in e||(this.name=""),"plugin"in e||(this.plugin=""),"area"in e||(this.area=""),"resources"in e||(this.resources=[]),"extension"in e||(this.extension=""),Object.assign(this,e)}static createFrom(e={}){const s=M;let n=typeof e=="string"?JSON.parse(e):e;return"resources"in n&&(n.resources=s(n.resources)),new T(n)}}class m{constructor(e={}){t(this,"colors");"colors"in e||(this.colors=new g),Object.assign(this,e)}static createFrom(e={}){const s=ei;let n=typeof e=="string"?JSON.parse(e):e;return"colors"in n&&(n.colors=s(n.colors)),new m(n)}}class g{constructor(e={}){t(this,"primary");t(this,"secondary");t(this,"tertiary");"primary"in e||(this.primary=""),"secondary"in e||(this.secondary=""),"tertiary"in e||(this.tertiary=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new g(s)}}const qt=T.createFrom,Zt=c.Array(qt),Vt=w.createFrom,Qt=c.Nullable(Vt),Wt=v.createFrom,Yt=c.Array(Wt),M=c.Array(c.Any),Xt=m.createFrom,$t=f.createFrom,ei=g.createFrom,ti=Object.freeze(Object.defineProperty({__proto__:null,PluginAuthor:w,PluginComponentArea:we,PluginComponents:f,PluginMaintainer:v,PluginMeta:h,PluginResourceComponent:T,PluginTheme:m,PluginThemeColors:g},Symbol.toStringTag,{value:"Module"}));class H{constructor(e={}){t(this,"id");t(this,"name");t(this,"description");t(this,"icon_url");t(this,"category");t(this,"tags");t(this,"license");t(this,"official");t(this,"featured");t(this,"download_count");t(this,"average_rating");t(this,"review_count");t(this,"repository");t(this,"url");t(this,"publisher_name");t(this,"installed");t(this,"installed_version");t(this,"latest_version");t(this,"update_available");"id"in e||(this.id=""),"name"in e||(this.name=""),"description"in e||(this.description=""),"icon_url"in e||(this.icon_url=""),"category"in e||(this.category=""),"tags"in e||(this.tags=[]),"license"in e||(this.license=""),"official"in e||(this.official=!1),"featured"in e||(this.featured=!1),"download_count"in e||(this.download_count=0),"average_rating"in e||(this.average_rating=0),"review_count"in e||(this.review_count=0),"repository"in e||(this.repository=""),"url"in e||(this.url=""),"publisher_name"in e||(this.publisher_name=""),"installed"in e||(this.installed=!1),"installed_version"in e||(this.installed_version=""),"latest_version"in e||(this.latest_version=""),"update_available"in e||(this.update_available=!1),Object.assign(this,e)}static createFrom(e={}){const s=ct;let n=typeof e=="string"?JSON.parse(e):e;return"tags"in n&&(n.tags=s(n.tags)),new H(n)}}class U{constructor(e={}){t(this,"date");t(this,"count");"date"in e||(this.date=""),"count"in e||(this.count=0),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new U(s)}}class B{constructor(e={}){t(this,"total");t(this,"last_month");t(this,"last_week");t(this,"daily_stats");"total"in e||(this.total=0),"last_month"in e||(this.last_month=0),"last_week"in e||(this.last_week=0),"daily_stats"in e||(this.daily_stats=[]),Object.assign(this,e)}static createFrom(e={}){const s=ni;let n=typeof e=="string"?JSON.parse(e):e;return"daily_stats"in n&&(n.daily_stats=s(n.daily_stats)),new B(n)}}class K{constructor(e={}){t(this,"id");t(this,"user_id");t(this,"rating");t(this,"title");t(this,"body");t(this,"created_at");"id"in e||(this.id=""),"user_id"in e||(this.user_id=0),"rating"in e||(this.rating=0),"title"in e||(this.title=""),"body"in e||(this.body=""),"created_at"in e||(this.created_at=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new K(s)}}class G{constructor(e={}){t(this,"version");t(this,"description");t(this,"changelog");t(this,"min_ide_version");t(this,"max_ide_version");t(this,"capabilities");t(this,"created_at");"version"in e||(this.version=""),"description"in e||(this.description=""),"changelog"in e||(this.changelog=""),"min_ide_version"in e||(this.min_ide_version=""),"max_ide_version"in e||(this.max_ide_version=""),"capabilities"in e||(this.capabilities=[]),"created_at"in e||(this.created_at=""),Object.assign(this,e)}static createFrom(e={}){const s=ct;let n=typeof e=="string"?JSON.parse(e):e;return"capabilities"in n&&(n.capabilities=s(n.capabilities)),new G(n)}}const ct=c.Array(c.Any),ii=U.createFrom,ni=c.Array(ii),si=Object.freeze(Object.defineProperty({__proto__:null,AvailablePlugin:H,DailyStat:U,DownloadStats:B,Review:K,VersionInfo:G},Symbol.toStringTag,{value:"Module"}));var y=(i=>(i[i.$zero=0]="$zero",i[i.minDuration=-9223372036854776e3]="minDuration",i[i.maxDuration=9223372036854776e3]="maxDuration",i[i.Nanosecond=1]="Nanosecond",i[i.Microsecond=1e3]="Microsecond",i[i.Millisecond=1e6]="Millisecond",i[i.Second=1e9]="Second",i[i.Minute=6e10]="Minute",i[i.Hour=36e11]="Hour",i))(y||{});const ai=Object.freeze(Object.defineProperty({__proto__:null,Duration:y},Symbol.toStringTag,{value:"Module"}));var lt=(i=>(i.$zero="",i.CapabilityResource="resource",i.CapabilityExec="exec",i.CapabilityNetworker="networker",i.CapabilityLog="log",i.CapabilityMetric="metric",i.CapabilitySettings="settings",i.CapabilityUI="ui",i))(lt||{});class L{constructor(e={}){t(this,"last_refresh");t(this,"data");t(this,"labels");t(this,"lifecycle");t(this,"id");t(this,"uid");t(this,"name");t(this,"description");t(this,"avatar");t(this,"expiry_time");t(this,"Client");"last_refresh"in e||(this.last_refresh="0001-01-01T00:00:00.000Z"),"data"in e||(this.data={}),"labels"in e||(this.labels={}),"lifecycle"in e||(this.lifecycle=new N),"id"in e||(this.id=""),"uid"in e||(this.uid=""),"name"in e||(this.name=""),"description"in e||(this.description=""),"avatar"in e||(this.avatar=""),"expiry_time"in e||(this.expiry_time=y.$zero),"Client"in e||(this.Client=null),Object.assign(this,e)}static createFrom(e={}){const s=rt,n=rt,a=ri;let r=typeof e=="string"?JSON.parse(e):e;return"data"in r&&(r.data=s(r.data)),"labels"in r&&(r.labels=n(r.labels)),"lifecycle"in r&&(r.lifecycle=a(r.lifecycle)),new L(r)}}class q{constructor(e={}){t(this,"enabled");t(this,"triggers");t(this,"retry");"enabled"in e||(this.enabled=!1),"triggers"in e||(this.triggers=[]),"retry"in e||(this.retry=""),Object.assign(this,e)}static createFrom(e={}){const s=ci;let n=typeof e=="string"?JSON.parse(e):e;return"triggers"in n&&(n.triggers=s(n.triggers)),new q(n)}}var ot=(i=>(i.$zero="",i.ConnectionAutoConnectRetryNone="NONE",i.ConnectionAutoConnectRetryOnChange="ON_CHANGE",i))(ot||{}),pt=(i=>(i.$zero="",i.ConnectionAutoConnectTriggerPluginStart="PLUGIN_START",i.ConnectionAutoConnectTriggerConnectionDiscovered="CONNECTION_DISCOVERED",i))(pt||{});class N{constructor(e={}){t(this,"auto_connect");Object.assign(this,e)}static createFrom(e={}){const s=oi;let n=typeof e=="string"?JSON.parse(e):e;return"auto_connect"in n&&(n.auto_connect=s(n.auto_connect)),new N(n)}}class ve{constructor(e={}){t(this,"connection");t(this,"status");t(this,"error");t(this,"details");"connection"in e||(this.connection=null),"status"in e||(this.status=""),"error"in e||(this.error=""),"details"in e||(this.details=""),Object.assign(this,e)}static createFrom(e={}){const s=di;let n=typeof e=="string"?JSON.parse(e):e;return"connection"in n&&(n.connection=s(n.connection)),new ve(n)}}var dt=(i=>(i.$zero="",i.ConnectionStatusUnknown="UNKNOWN",i.ConnectionStatusConnected="CONNECTED",i.ConnectionStatusDisconnected="DISCONNECTED",i.ConnectionStatusPending="PENDING",i.ConnectionStatusFailed="FAILED",i.ConnectionStatusError="ERROR",i.ConnectionStatusUnauthorized="UNAUTHORIZED",i.ConnectionStatusForbidden="FORBIDDEN",i.ConnectionStatusBadRequest="BAD_REQUEST",i.ConnectionStatusNotFound="NOT_FOUND",i.ConnectionStatusTimeout="TIMEOUT",i.ConnectionStatusUnavailable="UNAVAILABLE",i.ConnectionStatusRequestEntityTooLarge="REQUEST_ENTITY_TOO_LARGE",i))(dt||{});class Te{constructor(e={}){t(this,"id");t(this,"metadata");t(this,"phase");t(this,"enabled");t(this,"devMode");t(this,"devPath");t(this,"capabilities");t(this,"lastError");"id"in e||(this.id=""),"metadata"in e||(this.metadata=new h),"phase"in e||(this.phase=""),"enabled"in e||(this.enabled=!1),"devMode"in e||(this.devMode=!1),"capabilities"in e||(this.capabilities=[]),Object.assign(this,e)}static createFrom(e={}){const s=fi,n=hi;let a=typeof e=="string"?JSON.parse(e):e;return"metadata"in a&&(a.metadata=s(a.metadata)),"capabilities"in a&&(a.capabilities=n(a.capabilities)),new Te(a)}}const rt=c.Map(c.Any,c.Any),ri=N.createFrom,ci=c.Array(c.Any),li=q.createFrom,oi=c.Nullable(li),pi=L.createFrom,di=c.Nullable(pi),fi=h.createFrom,hi=c.Array(c.Any);class Ne{constructor(e={}){t(this,"id");t(this,"label");t(this,"description");t(this,"icon");t(this,"scope");t(this,"streaming");t(this,"paramsSchema");t(this,"outputSchema");t(this,"dangerous");"id"in e||(this.id=""),"label"in e||(this.label=""),"description"in e||(this.description=""),"icon"in e||(this.icon=""),"scope"in e||(this.scope=""),"streaming"in e||(this.streaming=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Ne(s)}}class Ae{constructor(e={}){t(this,"id");t(this,"namespace");t(this,"params");"id"in e||(this.id=""),"namespace"in e||(this.namespace=""),"params"in e||(this.params={}),Object.assign(this,e)}static createFrom(e={}){const s=Ot;let n=typeof e=="string"?JSON.parse(e):e;return"params"in n&&(n.params=s(n.params)),new Ae(n)}}class je{constructor(e={}){t(this,"success");t(this,"data");t(this,"message");"success"in e||(this.success=!1),"data"in e||(this.data={}),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){const s=Ot;let n=typeof e=="string"?JSON.parse(e):e;return"data"in n&&(n.data=s(n.data)),new je(n)}}var ft=(i=>(i.$zero="",i.ActionScopeInstance="instance",i.ActionScopeType="type",i))(ft||{});class Z{constructor(e={}){t(this,"id");t(this,"header");t(this,"accessor");t(this,"accessorPriority");t(this,"colorMap");t(this,"color");t(this,"align");t(this,"hidden");t(this,"width");t(this,"formatter");t(this,"component");t(this,"componentParams");t(this,"resourceLink");t(this,"valueMap");"id"in e||(this.id=""),"header"in e||(this.header=""),"accessor"in e||(this.accessor=""),Object.assign(this,e)}static createFrom(e={}){const s=b,n=gi,a=b;let r=typeof e=="string"?JSON.parse(e):e;return"colorMap"in r&&(r.colorMap=s(r.colorMap)),"resourceLink"in r&&(r.resourceLink=n(r.resourceLink)),"valueMap"in r&&(r.valueMap=a(r.valueMap)),new Z(r)}}class Je{constructor(e={}){t(this,"input");t(this,"namespace");"input"in e||(this.input=null),"namespace"in e||(this.namespace=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Je(s)}}class Ce{constructor(e={}){t(this,"result");t(this,"success");"result"in e||(this.result=null),"success"in e||(this.success=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Ce(s)}}class Pe{constructor(e={}){t(this,"id");t(this,"namespace");t(this,"gracePeriodSeconds");"id"in e||(this.id=""),"namespace"in e||(this.namespace=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Pe(s)}}class Ee{constructor(e={}){t(this,"result");t(this,"success");"result"in e||(this.result=null),"success"in e||(this.success=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Ee(s)}}var ht=(i=>(i.$zero="",i.EdgeOutgoing="",i.EdgeIncoming="incoming",i))(ht||{});class Re{constructor(e={}){t(this,"resourceKey");t(this,"fileMatch");t(this,"uri");t(this,"url");t(this,"content");t(this,"language");"resourceKey"in e||(this.resourceKey=""),"fileMatch"in e||(this.fileMatch=""),"uri"in e||(this.uri=""),"language"in e||(this.language=""),Object.assign(this,e)}static createFrom(e={}){const s=c.ByteSlice;let n=typeof e=="string"?JSON.parse(e):e;return"content"in n&&(n.content=s(n.content)),new Re(n)}}var mt=(i=>(i.$zero="",i.SeverityNormal="normal",i.SeverityWarning="warning",i.SeverityError="error",i))(mt||{});class V{constructor(e={}){t(this,"logic");t(this,"predicates");t(this,"groups");Object.assign(this,e)}static createFrom(e={}){const s=_i,n=bi;let a=typeof e=="string"?JSON.parse(e):e;return"predicates"in a&&(a.predicates=s(a.predicates)),"groups"in a&&(a.groups=n(a.groups)),new V(a)}}class xe{constructor(e={}){t(this,"path");t(this,"displayName");t(this,"description");t(this,"type");t(this,"operators");t(this,"allowedValues");t(this,"required");"path"in e||(this.path=""),"displayName"in e||(this.displayName=""),"description"in e||(this.description=""),"type"in e||(this.type=""),"operators"in e||(this.operators=[]),Object.assign(this,e)}static createFrom(e={}){const s=ui,n=se;let a=typeof e=="string"?JSON.parse(e):e;return"operators"in a&&(a.operators=s(a.operators)),"allowedValues"in a&&(a.allowedValues=n(a.allowedValues)),new xe(a)}}var gt=(i=>(i.$zero="",i.FilterFieldString="string",i.FilterFieldInt="integer",i.FilterFieldFloat="number",i.FilterFieldBool="boolean",i.FilterFieldTime="datetime",i.FilterFieldEnum="enum",i.FilterFieldMap="map",i))(gt||{}),yt=(i=>(i.$zero="",i.FilterAnd="and",i.FilterOr="or",i))(yt||{}),_t=(i=>(i.$zero="",i.OpEqual="eq",i.OpNotEqual="neq",i.OpGreaterThan="gt",i.OpGreaterOrEqual="gte",i.OpLessThan="lt",i.OpLessOrEqual="lte",i.OpContains="contains",i.OpPrefix="prefix",i.OpSuffix="suffix",i.OpRegex="regex",i.OpIn="in",i.OpNotIn="notin",i.OpExists="exists",i.OpNotExists="notexists",i.OpHasKey="haskey",i))(_t||{});class Q{constructor(e={}){t(this,"field");t(this,"operator");t(this,"value");"field"in e||(this.field=""),"operator"in e||(this.operator=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Q(s)}}class ze{constructor(e={}){t(this,"filters");t(this,"textQuery");t(this,"namespaces");t(this,"order");t(this,"pagination");"namespaces"in e||(this.namespaces=[]),"order"in e||(this.order=[]),"pagination"in e||(this.pagination=new _),Object.assign(this,e)}static createFrom(e={}){const s=Si,n=se,a=vt,r=Tt;let l=typeof e=="string"?JSON.parse(e):e;return"filters"in l&&(l.filters=s(l.filters)),"namespaces"in l&&(l.namespaces=n(l.namespaces)),"order"in l&&(l.order=a(l.order)),"pagination"in l&&(l.pagination=r(l.pagination)),new ze(l)}}class Ie{constructor(e={}){t(this,"result");t(this,"success");t(this,"totalCount");t(this,"nextCursor");"result"in e||(this.result=[]),"success"in e||(this.success=!1),"totalCount"in e||(this.totalCount=0),Object.assign(this,e)}static createFrom(e={}){const s=Nt;let n=typeof e=="string"?JSON.parse(e):e;return"result"in n&&(n.result=s(n.result)),new Ie(n)}}class ke{constructor(e={}){t(this,"id");t(this,"namespace");"id"in e||(this.id=""),"namespace"in e||(this.namespace=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new ke(s)}}class Me{constructor(e={}){t(this,"result");t(this,"success");"result"in e||(this.result=null),"success"in e||(this.success=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Me(s)}}class W{constructor(e={}){t(this,"type");t(this,"status");t(this,"reason");t(this,"message");t(this,"lastProbeTime");t(this,"lastTransitionTime");"type"in e||(this.type=""),"status"in e||(this.status=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new W(s)}}var bt=(i=>(i.$zero="",i.HealthHealthy="healthy",i.HealthDegraded="degraded",i.HealthUnhealthy="unhealthy",i.HealthPending="pending",i.HealthUnknown="unknown",i))(bt||{});class De{constructor(e={}){t(this,"namespaces");t(this,"order");t(this,"pagination");"namespaces"in e||(this.namespaces=[]),"order"in e||(this.order=[]),"pagination"in e||(this.pagination=new _),Object.assign(this,e)}static createFrom(e={}){const s=se,n=vt,a=Tt;let r=typeof e=="string"?JSON.parse(e):e;return"namespaces"in r&&(r.namespaces=s(r.namespaces)),"order"in r&&(r.order=n(r.order)),"pagination"in r&&(r.pagination=a(r.pagination)),new De(r)}}class He{constructor(e={}){t(this,"result");t(this,"success");t(this,"totalCount");t(this,"nextCursor");"result"in e||(this.result=[]),"success"in e||(this.success=!1),"totalCount"in e||(this.totalCount=0),Object.assign(this,e)}static createFrom(e={}){const s=Nt;let n=typeof e=="string"?JSON.parse(e):e;return"result"in n&&(n.result=s(n.result)),new He(n)}}class Y{constructor(e={}){t(this,"field");t(this,"descending");"field"in e||(this.field=""),"descending"in e||(this.descending=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Y(s)}}class _{constructor(e={}){t(this,"page");t(this,"pageSize");t(this,"cursor");"page"in e||(this.page=0),"pageSize"in e||(this.pageSize=0),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new _(s)}}class A{constructor(e={}){t(this,"type");t(this,"targetResourceKey");t(this,"label");t(this,"inverseLabel");t(this,"cardinality");t(this,"direction");t(this,"extractor");t(this,"targetNamespaced");"type"in e||(this.type=""),"targetResourceKey"in e||(this.targetResourceKey=""),"label"in e||(this.label=""),Object.assign(this,e)}static createFrom(e={}){const s=wi;let n=typeof e=="string"?JSON.parse(e):e;return"extractor"in n&&(n.extractor=s(n.extractor)),new A(n)}}class X{constructor(e={}){t(this,"method");t(this,"fieldPath");t(this,"labelSelector");"method"in e||(this.method=""),Object.assign(this,e)}static createFrom(e={}){const s=b;let n=typeof e=="string"?JSON.parse(e):e;return"labelSelector"in n&&(n.labelSelector=s(n.labelSelector)),new X(n)}}var ut=(i=>(i.$zero="",i.RelOwns="owns",i.RelRunsOn="runs_on",i.RelUses="uses",i.RelExposes="exposes",i.RelManages="manages",i.RelMemberOf="member_of",i.RelSelects="selects",i))(ut||{});class Ue{constructor(e={}){t(this,"descriptor");t(this,"targets");"descriptor"in e||(this.descriptor=new A),"targets"in e||(this.targets=[]),Object.assign(this,e)}static createFrom(e={}){const s=vi,n=Ni;let a=typeof e=="string"?JSON.parse(e):e;return"descriptor"in a&&(a.descriptor=s(a.descriptor)),"targets"in a&&(a.targets=n(a.targets)),new Ue(a)}}class Be{constructor(e={}){t(this,"canGet");t(this,"canList");t(this,"canFind");t(this,"canCreate");t(this,"canUpdate");t(this,"canDelete");t(this,"watchable");t(this,"filterable");t(this,"searchable");t(this,"hasActions");t(this,"hasSchema");t(this,"namespaceScoped");t(this,"hasRelationships");t(this,"hasHealth");t(this,"hasEvents");t(this,"scaleHint");"canGet"in e||(this.canGet=!1),"canList"in e||(this.canList=!1),"canFind"in e||(this.canFind=!1),"canCreate"in e||(this.canCreate=!1),"canUpdate"in e||(this.canUpdate=!1),"canDelete"in e||(this.canDelete=!1),"watchable"in e||(this.watchable=!1),"filterable"in e||(this.filterable=!1),"searchable"in e||(this.searchable=!1),"hasActions"in e||(this.hasActions=!1),"hasSchema"in e||(this.hasSchema=!1),"namespaceScoped"in e||(this.namespaceScoped=!1),"hasRelationships"in e||(this.hasRelationships=!1),"hasHealth"in e||(this.hasHealth=!1),"hasEvents"in e||(this.hasEvents=!1),Object.assign(this,e)}static createFrom(e={}){const s=ji;let n=typeof e=="string"?JSON.parse(e):e;return"scaleHint"in n&&(n.scaleHint=s(n.scaleHint)),new Be(n)}}class Ke{constructor(e={}){t(this,"id_accessor");t(this,"namespace_accessor");t(this,"memoizer_accessor");t(this,"columnDefs");"id_accessor"in e||(this.id_accessor=""),"namespace_accessor"in e||(this.namespace_accessor=""),"memoizer_accessor"in e||(this.memoizer_accessor=""),"columnDefs"in e||(this.columnDefs=[]),Object.assign(this,e)}static createFrom(e={}){const s=Ci;let n=typeof e=="string"?JSON.parse(e):e;return"columnDefs"in n&&(n.columnDefs=s(n.columnDefs)),new Ke(n)}}class Ge{constructor(e={}){t(this,"type");t(this,"reason");t(this,"message");t(this,"source");t(this,"count");t(this,"firstSeen");t(this,"lastSeen");"type"in e||(this.type=""),"reason"in e||(this.reason=""),"message"in e||(this.message=""),"firstSeen"in e||(this.firstSeen="0001-01-01T00:00:00.000Z"),"lastSeen"in e||(this.lastSeen="0001-01-01T00:00:00.000Z"),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Ge(s)}}class Le{constructor(e={}){t(this,"id");t(this,"name");t(this,"description");t(this,"icon");t(this,"resources");"id"in e||(this.id=""),"name"in e||(this.name=""),"description"in e||(this.description=""),"icon"in e||(this.icon=""),"resources"in e||(this.resources={}),Object.assign(this,e)}static createFrom(e={}){const s=Ri;let n=typeof e=="string"?JSON.parse(e):e;return"resources"in n&&(n.resources=s(n.resources)),new Le(n)}}class qe{constructor(e={}){t(this,"status");t(this,"reason");t(this,"message");t(this,"since");t(this,"conditions");"status"in e||(this.status=""),Object.assign(this,e)}static createFrom(e={}){const s=zi;let n=typeof e=="string"?JSON.parse(e):e;return"conditions"in n&&(n.conditions=s(n.conditions)),new qe(n)}}class ${constructor(e={}){t(this,"idAccessor");t(this,"namespaceAccessor");t(this,"namespaced");t(this,"resourceKey");t(this,"keyAccessor");t(this,"keyMap");t(this,"detailExtractors");t(this,"displayId");"idAccessor"in e||(this.idAccessor=""),"namespaceAccessor"in e||(this.namespaceAccessor=""),"namespaced"in e||(this.namespaced=!1),"resourceKey"in e||(this.resourceKey=""),"keyAccessor"in e||(this.keyAccessor=""),"keyMap"in e||(this.keyMap={}),"detailExtractors"in e||(this.detailExtractors={}),"displayId"in e||(this.displayId=!1),Object.assign(this,e)}static createFrom(e={}){const s=b,n=b;let a=typeof e=="string"?JSON.parse(e):e;return"keyMap"in a&&(a.keyMap=s(a.keyMap)),"detailExtractors"in a&&(a.detailExtractors=n(a.detailExtractors)),new $(a)}}class ee{constructor(e={}){t(this,"group");t(this,"version");t(this,"kind");t(this,"label");t(this,"icon");t(this,"description");t(this,"category");"group"in e||(this.group=""),"version"in e||(this.version=""),"kind"in e||(this.kind=""),"label"in e||(this.label=""),"icon"in e||(this.icon=""),"description"in e||(this.description=""),"category"in e||(this.category=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new ee(s)}}class te{constructor(e={}){t(this,"pluginId");t(this,"connectionId");t(this,"resourceKey");t(this,"id");t(this,"namespace");t(this,"displayName");"connectionId"in e||(this.connectionId=""),"resourceKey"in e||(this.resourceKey=""),"id"in e||(this.id=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new te(s)}}class ie{constructor(e={}){t(this,"level");t(this,"expectedCount");t(this,"defaultPageSize");"level"in e||(this.level=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new ie(s)}}var St=(i=>(i.$zero="",i.ScaleFew="few",i.ScaleModerate="moderate",i.ScaleMany="many",i))(St||{});class Ze{constructor(e={}){t(this,"input");t(this,"id");t(this,"namespace");"input"in e||(this.input=null),"id"in e||(this.id=""),"namespace"in e||(this.namespace=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Ze(s)}}class Ve{constructor(e={}){t(this,"result");t(this,"success");"result"in e||(this.result=null),"success"in e||(this.success=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Ve(s)}}class Qe{constructor(e={}){t(this,"connectionId");t(this,"resources");t(this,"resourceCounts");t(this,"scope");"connectionId"in e||(this.connectionId=""),"resources"in e||(this.resources={}),"resourceCounts"in e||(this.resourceCounts={}),Object.assign(this,e)}static createFrom(e={}){const s=Ii,n=ki,a=Di;let r=typeof e=="string"?JSON.parse(e):e;return"resources"in r&&(r.resources=s(r.resources)),"resourceCounts"in r&&(r.resourceCounts=n(r.resourceCounts)),"scope"in r&&(r.scope=a(r.scope)),new Qe(r)}}class ne{constructor(e={}){t(this,"partitions");Object.assign(this,e)}static createFrom(e={}){const s=se;let n=typeof e=="string"?JSON.parse(e):e;return"partitions"in n&&(n.partitions=s(n.partitions)),new ne(n)}}var Ft=(i=>(i[i.$zero=0]="$zero",i[i.WatchStateIdle=0]="WatchStateIdle",i[i.WatchStateSyncing=1]="WatchStateSyncing",i[i.WatchStateSynced=2]="WatchStateSynced",i[i.WatchStateError=3]="WatchStateError",i[i.WatchStateStopped=4]="WatchStateStopped",i[i.WatchStateFailed=5]="WatchStateFailed",i[i.WatchStateForbidden=6]="WatchStateForbidden",i[i.WatchStateSkipped=7]="WatchStateSkipped",i))(Ft||{});class We{constructor(e={}){t(this,"pluginId");t(this,"connection");t(this,"resourceKey");t(this,"state");t(this,"message");t(this,"resourceCount");t(this,"errorCode");"pluginId"in e||(this.pluginId=""),"connection"in e||(this.connection=""),"resourceKey"in e||(this.resourceKey=""),"state"in e||(this.state=0),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new We(s)}}const Ot=c.Map(c.Any,c.Any),b=c.Map(c.Any,c.Any),mi=$.createFrom,gi=c.Nullable(mi),yi=Q.createFrom,_i=c.Array(yi),wt=V.createFrom,bi=c.Array(wt),ui=c.Array(c.Any),se=c.Array(c.Any),Si=c.Nullable(wt),Fi=Y.createFrom,vt=c.Array(Fi),Tt=_.createFrom,Nt=c.Array(c.Any),Oi=X.createFrom,wi=c.Nullable(Oi),vi=A.createFrom,Ti=te.createFrom,Ni=c.Array(Ti),Ai=ie.createFrom,ji=c.Nullable(Ai),Ji=Z.createFrom,Ci=c.Array(Ji),Pi=ee.createFrom,Ei=c.Array(Pi),Ri=c.Map(c.Any,Ei),xi=W.createFrom,zi=c.Array(xi),Ii=c.Map(c.Any,c.Any),ki=c.Map(c.Any,c.Any),Mi=ne.createFrom,Di=c.Nullable(Mi);let ae=class At{constructor(e={}){t(this,"label");t(this,"label_selector");t(this,"paths");t(this,"selectors");"label"in e||(this.label=""),"label_selector"in e||(this.label_selector=""),"paths"in e||(this.paths=[]),"selectors"in e||(this.selectors={}),Object.assign(this,e)}static createFrom(e={}){const s=le,n=u;let a=typeof e=="string"?JSON.parse(e):e;return"paths"in a&&(a.paths=s(a.paths)),"selectors"in a&&(a.selectors=n(a.selectors)),new At(a)}},jt=class Jt{constructor(e={}){t(this,"plugin");t(this,"resource");t(this,"target_builder");t(this,"default_command");"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),"target_builder"in e||(this.target_builder=new ae),"default_command"in e||(this.default_command=[]),Object.assign(this,e)}static createFrom(e={}){const s=Hi,n=le;let a=typeof e=="string"?JSON.parse(e):e;return"target_builder"in a&&(a.target_builder=s(a.target_builder)),"default_command"in a&&(a.default_command=n(a.default_command)),new Jt(a)}};class re{constructor(e={}){t(this,"created_at");t(this,"labels");t(this,"params");t(this,"id");t(this,"command");t(this,"attached");"created_at"in e||(this.created_at="0001-01-01T00:00:00.000Z"),"labels"in e||(this.labels={}),"params"in e||(this.params={}),"id"in e||(this.id=""),"command"in e||(this.command=[]),"attached"in e||(this.attached=!1),Object.assign(this,e)}static createFrom(e={}){const s=u,n=u,a=le;let r=typeof e=="string"?JSON.parse(e):e;return"labels"in r&&(r.labels=s(r.labels)),"params"in r&&(r.params=n(r.params)),"command"in r&&(r.command=a(r.command)),new re(r)}}class ce{constructor(e={}){t(this,"params");t(this,"labels");t(this,"id");t(this,"resource_plugin");t(this,"resource_key");t(this,"resource_data");t(this,"command");t(this,"tty");"params"in e||(this.params={}),"labels"in e||(this.labels={}),"id"in e||(this.id=""),"resource_plugin"in e||(this.resource_plugin=""),"resource_key"in e||(this.resource_key=""),"resource_data"in e||(this.resource_data={}),"command"in e||(this.command=[]),"tty"in e||(this.tty=!1),Object.assign(this,e)}static createFrom(e={}){const s=u,n=u,a=Ui,r=le;let l=typeof e=="string"?JSON.parse(e):e;return"params"in l&&(l.params=s(l.params)),"labels"in l&&(l.labels=n(l.labels)),"resource_data"in l&&(l.resource_data=a(l.resource_data)),"command"in l&&(l.command=r(l.command)),new ce(l)}}const le=c.Array(c.Any),u=c.Map(c.Any,c.Any),Hi=ae.createFrom,Ui=c.Map(c.Any,c.Any),Bi=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:ae,Handler:jt,Session:re,SessionOptions:ce},Symbol.toStringTag,{value:"Module"}));class j{constructor(e={}){t(this,"label");t(this,"label_selector");t(this,"paths");t(this,"selectors");"label"in e||(this.label=""),"label_selector"in e||(this.label_selector=""),"paths"in e||(this.paths=[]),"selectors"in e||(this.selectors={}),Object.assign(this,e)}static createFrom(e={}){const s=Ki,n=$e;let a=typeof e=="string"?JSON.parse(e):e;return"paths"in a&&(a.paths=s(a.paths)),"selectors"in a&&(a.selectors=n(a.selectors)),new j(a)}}class oe{constructor(e={}){t(this,"resource_key");t(this,"resource_id");t(this,"resource_data");t(this,"options");"resource_key"in e||(this.resource_key=""),"resource_id"in e||(this.resource_id=""),"resource_data"in e||(this.resource_data={}),"options"in e||(this.options=new p),Object.assign(this,e)}static createFrom(e={}){const s=Gi,n=Et;let a=typeof e=="string"?JSON.parse(e):e;return"resource_data"in a&&(a.resource_data=s(a.resource_data)),"options"in a&&(a.options=n(a.options)),new oe(a)}}let Ct=class Pt{constructor(e={}){t(this,"plugin");t(this,"resource");t(this,"target_builder");"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),"target_builder"in e||(this.target_builder=new j),Object.assign(this,e)}static createFrom(e={}){const s=Li;let n=typeof e=="string"?JSON.parse(e):e;return"target_builder"in n&&(n.target_builder=s(n.target_builder)),new Pt(n)}};class pe{constructor(e={}){t(this,"id");t(this,"plugin_id");t(this,"connection_id");t(this,"resource_key");t(this,"resource_id");t(this,"options");t(this,"status");t(this,"active_sources");t(this,"created_at");"id"in e||(this.id=""),"plugin_id"in e||(this.plugin_id=""),"connection_id"in e||(this.connection_id=""),"resource_key"in e||(this.resource_key=""),"resource_id"in e||(this.resource_id=""),"options"in e||(this.options=new p),"status"in e||(this.status=0),"active_sources"in e||(this.active_sources=[]),"created_at"in e||(this.created_at="0001-01-01T00:00:00.000Z"),Object.assign(this,e)}static createFrom(e={}){const s=Et,n=Zi;let a=typeof e=="string"?JSON.parse(e):e;return"options"in a&&(a.options=s(a.options)),"active_sources"in a&&(a.active_sources=n(a.active_sources)),new pe(a)}}class p{constructor(e={}){t(this,"target");t(this,"follow");t(this,"include_previous");t(this,"include_timestamps");t(this,"tail_lines");t(this,"since_seconds");t(this,"since_time");t(this,"limit_bytes");t(this,"include_source_events");t(this,"params");"target"in e||(this.target=""),"follow"in e||(this.follow=!1),"include_previous"in e||(this.include_previous=!1),"include_timestamps"in e||(this.include_timestamps=!1),"tail_lines"in e||(this.tail_lines=0),"since_seconds"in e||(this.since_seconds=0),"limit_bytes"in e||(this.limit_bytes=0),"include_source_events"in e||(this.include_source_events=!1),"params"in e||(this.params={}),Object.assign(this,e)}static createFrom(e={}){const s=$e;let n=typeof e=="string"?JSON.parse(e):e;return"params"in n&&(n.params=s(n.params)),new p(n)}}var Ye=(i=>(i[i.$zero=0]="$zero",i[i.LogSessionStatusActive=0]="LogSessionStatusActive",i[i.LogSessionStatusPaused=1]="LogSessionStatusPaused",i[i.LogSessionStatusClosed=2]="LogSessionStatusClosed",i[i.LogSessionStatusError=3]="LogSessionStatusError",i[i.LogSessionStatusConnecting=4]="LogSessionStatusConnecting",i[i.LogSessionStatusInitializing=5]="LogSessionStatusInitializing",i))(Ye||{});class J{constructor(e={}){t(this,"id");t(this,"labels");"id"in e||(this.id=""),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const s=$e;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new J(n)}}var Xe=(i=>(i[i.$zero=0]="$zero",i[i.StreamCommandPause=0]="StreamCommandPause",i[i.StreamCommandResume=1]="StreamCommandResume",i[i.StreamCommandClose=2]="StreamCommandClose",i))(Xe||{});const Ki=c.Array(c.Any),$e=c.Map(c.Any,c.Any),Gi=c.Map(c.Any,c.Any),Et=p.createFrom,Li=j.createFrom,qi=J.createFrom,Zi=c.Array(qi),Vi=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:j,CreateSessionOptions:oe,Handler:Ct,LogSession:pe,LogSessionOptions:p,LogSessionStatus:Ye,LogSource:J,LogStreamCommand:Xe},Symbol.toStringTag,{value:"Module"}));class C{constructor(e={}){t(this,"metric_id");t(this,"min");t(this,"max");t(this,"avg");t(this,"sum");t(this,"p50");t(this,"p90");t(this,"p99");t(this,"count");t(this,"window");t(this,"labels");"metric_id"in e||(this.metric_id=""),"min"in e||(this.min=0),"max"in e||(this.max=0),"avg"in e||(this.avg=0),"sum"in e||(this.sum=0),"p50"in e||(this.p50=0),"p90"in e||(this.p90=0),"p99"in e||(this.p99=0),"count"in e||(this.count=0),"window"in e||(this.window=y.$zero),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const s=k;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new C(n)}}class P{constructor(e={}){t(this,"min");t(this,"max");t(this,"color");"min"in e||(this.min=0),"max"in e||(this.max=0),"color"in e||(this.color=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new P(s)}}class E{constructor(e={}){t(this,"metric_id");t(this,"value");t(this,"timestamp");t(this,"labels");"metric_id"in e||(this.metric_id=""),"value"in e||(this.value=0),"timestamp"in e||(this.timestamp="0001-01-01T00:00:00.000Z"),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const s=k;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new E(n)}}class R{constructor(e={}){t(this,"timestamp");t(this,"value");t(this,"labels");"timestamp"in e||(this.timestamp="0001-01-01T00:00:00.000Z"),"value"in e||(this.value=0),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const s=k;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new R(n)}}class de{constructor(e={}){t(this,"resource");t(this,"metrics");"resource"in e||(this.resource=""),"metrics"in e||(this.metrics=[]),Object.assign(this,e)}static createFrom(e={}){const s=Wi;let n=typeof e=="string"?JSON.parse(e):e;return"metrics"in n&&(n.metrics=s(n.metrics)),new de(n)}}class x{constructor(e={}){t(this,"id");t(this,"name");t(this,"unit");t(this,"icon");t(this,"color_ranges");t(this,"format_string");t(this,"supported_shapes");t(this,"chart_group");"id"in e||(this.id=""),"name"in e||(this.name=""),"unit"in e||(this.unit=0),"icon"in e||(this.icon=""),"color_ranges"in e||(this.color_ranges=[]),"format_string"in e||(this.format_string=""),"supported_shapes"in e||(this.supported_shapes=[]),"chart_group"in e||(this.chart_group=""),Object.assign(this,e)}static createFrom(e={}){const s=Xi,n=$i;let a=typeof e=="string"?JSON.parse(e):e;return"color_ranges"in a&&(a.color_ranges=s(a.color_ranges)),"supported_shapes"in a&&(a.supported_shapes=n(a.supported_shapes)),new x(a)}}class z{constructor(e={}){t(this,"time_series");t(this,"current_value");t(this,"aggregate_value");Object.assign(this,e)}static createFrom(e={}){const s=tn,n=sn,a=rn;let r=typeof e=="string"?JSON.parse(e):e;return"time_series"in r&&(r.time_series=s(r.time_series)),"current_value"in r&&(r.current_value=n(r.current_value)),"aggregate_value"in r&&(r.aggregate_value=a(r.aggregate_value)),new z(r)}}var et=(i=>(i[i.$zero=0]="$zero",i[i.ShapeCurrent=0]="ShapeCurrent",i[i.ShapeTimeseries=1]="ShapeTimeseries",i[i.ShapeAggregate=2]="ShapeAggregate",i))(et||{}),tt=(i=>(i[i.$zero=0]="$zero",i[i.UnitNone=0]="UnitNone",i[i.UnitBytes=1]="UnitBytes",i[i.UnitKB=2]="UnitKB",i[i.UnitMB=3]="UnitMB",i[i.UnitGB=4]="UnitGB",i[i.UnitPercentage=5]="UnitPercentage",i[i.UnitMillis=6]="UnitMillis",i[i.UnitSeconds=7]="UnitSeconds",i[i.UnitCount=8]="UnitCount",i[i.UnitOpsPerSec=9]="UnitOpsPerSec",i[i.UnitBytesPerSec=10]="UnitBytesPerSec",i[i.UnitMillicores=11]="UnitMillicores",i[i.UnitCores=12]="UnitCores",i))(tt||{});class fe{constructor(e={}){t(this,"resource_key");t(this,"resource_id");t(this,"resource_namespace");t(this,"resource_data");t(this,"metric_ids");t(this,"shape");t(this,"start_time");t(this,"end_time");t(this,"step");t(this,"params");"resource_key"in e||(this.resource_key=""),"resource_id"in e||(this.resource_id=""),"resource_namespace"in e||(this.resource_namespace=""),"resource_data"in e||(this.resource_data={}),"metric_ids"in e||(this.metric_ids=[]),"shape"in e||(this.shape=0),"start_time"in e||(this.start_time="0001-01-01T00:00:00.000Z"),"end_time"in e||(this.end_time="0001-01-01T00:00:00.000Z"),"step"in e||(this.step=y.$zero),"params"in e||(this.params={}),Object.assign(this,e)}static createFrom(e={}){const s=cn,n=ln,a=k;let r=typeof e=="string"?JSON.parse(e):e;return"resource_data"in r&&(r.resource_data=s(r.resource_data)),"metric_ids"in r&&(r.metric_ids=n(r.metric_ids)),"params"in r&&(r.params=a(r.params)),new fe(r)}}class he{constructor(e={}){t(this,"success");t(this,"results");t(this,"error");"success"in e||(this.success=!1),"results"in e||(this.results=[]),"error"in e||(this.error=""),Object.assign(this,e)}static createFrom(e={}){const s=pn;let n=typeof e=="string"?JSON.parse(e):e;return"results"in n&&(n.results=s(n.results)),new he(n)}}class I{constructor(e={}){t(this,"metric_id");t(this,"data_points");t(this,"labels");"metric_id"in e||(this.metric_id=""),"data_points"in e||(this.data_points=[]),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const s=fn,n=k;let a=typeof e=="string"?JSON.parse(e):e;return"data_points"in a&&(a.data_points=s(a.data_points)),"labels"in a&&(a.labels=n(a.labels)),new I(a)}}const k=c.Map(c.Any,c.Any),Qi=x.createFrom,Wi=c.Array(Qi),Yi=P.createFrom,Xi=c.Array(Yi),$i=c.Array(c.Any),en=I.createFrom,tn=c.Nullable(en),nn=E.createFrom,sn=c.Nullable(nn),an=C.createFrom,rn=c.Nullable(an),cn=c.Map(c.Any,c.Any),ln=c.Array(c.Any),on=z.createFrom,pn=c.Array(on),dn=R.createFrom,fn=c.Array(dn),hn=Object.freeze(Object.defineProperty({__proto__:null,AggregateValue:C,ColorRange:P,CurrentValue:E,DataPoint:R,Handler:de,MetricDescriptor:x,MetricResult:z,MetricShape:et,MetricUnit:tt,QueryRequest:fe,QueryResponse:he,TimeSeries:I},Symbol.toStringTag,{value:"Module"}));class me{constructor(e={}){t(this,"resource_id");t(this,"connection_id");"resource_id"in e||(this.resource_id=""),"connection_id"in e||(this.connection_id=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new me(s)}}var it=(i=>(i.$zero="",i.PortForwardConnectionTypeResource="RESOURCE",i.PortForwardConnectionTypeStatic="STATIC",i))(it||{}),nt=(i=>(i.$zero="",i.PortForwardProtocolTCP="TCP",i.PortForwardProtocolUDP="UDP",i))(nt||{});class ge{constructor(e={}){t(this,"created_at");t(this,"updated_at");t(this,"connection");t(this,"labels");t(this,"id");t(this,"protocol");t(this,"state");t(this,"connection_type");t(this,"encryption");t(this,"local_port");t(this,"remote_port");"created_at"in e||(this.created_at="0001-01-01T00:00:00.000Z"),"updated_at"in e||(this.updated_at="0001-01-01T00:00:00.000Z"),"connection"in e||(this.connection=null),"labels"in e||(this.labels={}),"id"in e||(this.id=""),"protocol"in e||(this.protocol=""),"state"in e||(this.state=""),"connection_type"in e||(this.connection_type=""),"encryption"in e||(this.encryption=new d),"local_port"in e||(this.local_port=0),"remote_port"in e||(this.remote_port=0),Object.assign(this,e)}static createFrom(e={}){const s=Fe,n=Rt;let a=typeof e=="string"?JSON.parse(e):e;return"labels"in a&&(a.labels=s(a.labels)),"encryption"in a&&(a.encryption=n(a.encryption)),new ge(a)}}class d{constructor(e={}){t(this,"algorithm");t(this,"key");t(this,"enabled");"algorithm"in e||(this.algorithm=""),"key"in e||(this.key=""),"enabled"in e||(this.enabled=!1),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new d(s)}}class ye{constructor(e={}){t(this,"connection");t(this,"labels");t(this,"params");t(this,"protocol");t(this,"connection_type");t(this,"encryption");t(this,"local_port");t(this,"remote_port");"connection"in e||(this.connection=null),"labels"in e||(this.labels={}),"params"in e||(this.params={}),"protocol"in e||(this.protocol=""),"connection_type"in e||(this.connection_type=""),"encryption"in e||(this.encryption=new d),"local_port"in e||(this.local_port=0),"remote_port"in e||(this.remote_port=0),Object.assign(this,e)}static createFrom(e={}){const s=Fe,n=Fe,a=Rt;let r=typeof e=="string"?JSON.parse(e):e;return"labels"in r&&(r.labels=s(r.labels)),"params"in r&&(r.params=n(r.params)),"encryption"in r&&(r.encryption=a(r.encryption)),new ye(r)}}var st=(i=>(i.$zero="",i.SessionStateActive="ACTIVE",i.SessionStatePaused="PAUSED",i.SessionStateStopped="STOPPED",i.SessionStateFailed="FAILED",i))(st||{});const Fe=c.Map(c.Any,c.Any),Rt=d.createFrom,mn=Object.freeze(Object.defineProperty({__proto__:null,FindPortForwardSessionRequest:me,PortForwardConnectionType:it,PortForwardProtocol:nt,PortForwardSession:ge,PortForwardSessionEncryption:d,PortForwardSessionOptions:ye,SessionState:st},Symbol.toStringTag,{value:"Module"}));class _e{constructor(e={}){t(this,"plugin");"plugin"in e||(this.plugin=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new _e(s)}}class be{constructor(e={}){t(this,"plugin");t(this,"resource");t(this,"area");"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),"area"in e||(this.area=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new be(s)}}class ue{constructor(e={}){t(this,"plugin");t(this,"resource");"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new ue(s)}}class Se{constructor(e={}){t(this,"owner");t(this,"name");t(this,"plugin");t(this,"resource");t(this,"area");t(this,"extension");"owner"in e||(this.owner=""),"name"in e||(this.name=""),"plugin"in e||(this.plugin=""),"resource"in e||(this.resource=""),"area"in e||(this.area=""),"extension"in e||(this.extension=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new Se(s)}}var at=(i=>(i.$zero="",i.ResourceComponentAreaSidebar="SIDEBAR",i.ResourceComponentAreaTable="TABLE",i))(at||{});const gn=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponentsInput:_e,GetResourceAreaComponentInput:be,GetResourceComponentsInput:ue,ResourceComponent:Se,ResourceComponentArea:at},Symbol.toStringTag,{value:"Module"}));exports.ActionDescriptor=Ne;exports.ActionInput=Ae;exports.ActionResult=je;exports.ActionScope=ft;exports.ActionTargetBuilder=ae;exports.AggregateValue=C;exports.AvailablePlugin=H;exports.Capability=lt;exports.Category=D;exports.ColorRange=P;exports.ColumnDefinition=Z;exports.Connection=L;exports.ConnectionAutoConnect=q;exports.ConnectionAutoConnectRetry=ot;exports.ConnectionAutoConnectTrigger=pt;exports.ConnectionLifecycle=N;exports.ConnectionStatus=ve;exports.ConnectionStatusCode=dt;exports.CreateInput=Je;exports.CreateResult=Ce;exports.CreateSessionOptions=oe;exports.CurrentValue=E;exports.DataPoint=R;exports.DeleteInput=Pe;exports.DeleteResult=Ee;exports.DownloadStats=B;exports.Duration=y;exports.EdgeDirection=ht;exports.EditorSchema=Re;exports.EventSeverity=mt;exports.FilterExpression=V;exports.FilterField=xe;exports.FilterFieldType=gt;exports.FilterLogic=yt;exports.FilterOperator=_t;exports.FilterPredicate=Q;exports.FindInput=ze;exports.FindPortForwardSessionRequest=me;exports.FindResult=Ie;exports.GetInput=ke;exports.GetPluginComponentsInput=_e;exports.GetResourceAreaComponentInput=be;exports.GetResourceComponentsInput=ue;exports.GetResult=Me;exports.Handler=jt;exports.Handler$1=Ct;exports.Handler$2=de;exports.HealthCondition=W;exports.HealthStatus=bt;exports.ListInput=De;exports.ListResult=He;exports.LogSession=pe;exports.LogSessionOptions=p;exports.LogSessionStatus=Ye;exports.LogSource=J;exports.LogStreamCommand=Xe;exports.MetricDescriptor=x;exports.MetricResult=z;exports.MetricShape=et;exports.MetricUnit=tt;exports.OrderField=Y;exports.PaginationParams=_;exports.PluginAuthor=w;exports.PluginComponentArea=we;exports.PluginComponents=f;exports.PluginInfo=Te;exports.PluginMaintainer=v;exports.PluginMeta=h;exports.PluginResourceComponent=T;exports.PluginTheme=m;exports.PluginThemeColors=g;exports.PortForwardConnectionType=it;exports.PortForwardProtocol=nt;exports.PortForwardSession=ge;exports.PortForwardSessionEncryption=d;exports.PortForwardSessionOptions=ye;exports.QueryRequest=fe;exports.QueryResponse=he;exports.RelationshipDescriptor=A;exports.RelationshipExtractor=X;exports.RelationshipType=ut;exports.ResolvedRelationship=Ue;exports.ResourceCapabilities=Be;exports.ResourceComponent=Se;exports.ResourceComponentArea=at;exports.ResourceDefinition=Ke;exports.ResourceEvent=Ge;exports.ResourceGroup=Le;exports.ResourceHealth=qe;exports.ResourceLink=$;exports.ResourceMeta=ee;exports.ResourceRef=te;exports.Review=K;exports.ScaleHint=ie;exports.ScaleLevel=St;exports.Session=re;exports.SessionOptions=ce;exports.SessionState=st;exports.Setting=S;exports.SettingFileSelection=F;exports.SettingOption=O;exports.SettingType=Oe;exports.TimeSeries=I;exports.UpdateInput=Ze;exports.UpdateResult=Ve;exports.VersionInfo=G;exports.WatchConnectionSummary=Qe;exports.WatchScope=ne;exports.WatchState=Ft;exports.WatchStateEvent=We;exports.models=ti;exports.models$1=Bi;exports.models$2=Vi;exports.models$3=hn;exports.models$4=mn;exports.models$5=Lt;exports.models$6=si;exports.models$7=gn;exports.models$8=ai;
|
package/dist/models.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var G=Object.defineProperty;var K=(a,h,d)=>h in a?G(a,h,{enumerable:!0,configurable:!0,writable:!0,value:d}):a[h]=d;var e=(a,h,d)=>K(a,typeof h!="symbol"?h+"":h,d);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.config=void 0;(a=>{class h{constructor(s={}){e(this,"name");e(this,"email");e(this,"url");typeof s=="string"&&(s=JSON.parse(s)),this.name=s.name,this.email=s.email,this.url=s.url}static createFrom(s={}){return new h(s)}}a.PluginAuthor=h;class d{constructor(s={}){e(this,"name");e(this,"plugin");e(this,"area");e(this,"resources");e(this,"extension");typeof s=="string"&&(s=JSON.parse(s)),this.name=s.name,this.plugin=s.plugin,this.area=s.area,this.resources=s.resources,this.extension=s.extension}static createFrom(s={}){return new d(s)}}a.PluginResourceComponent=d;class p{constructor(s={}){e(this,"resource");typeof s=="string"&&(s=JSON.parse(s)),this.resource=this.convertValues(s.resource,d)}static createFrom(s={}){return new p(s)}convertValues(s,g,f=!1){if(!s)return s;if(s.slice&&s.map)return s.map(O=>this.convertValues(O,g));if(typeof s=="object"){if(f){for(const O of Object.keys(s))s[O]=new g(s[O]);return s}return new g(s)}return s}}a.PluginComponents=p;class o{constructor(s={}){e(this,"name");e(this,"email");typeof s=="string"&&(s=JSON.parse(s)),this.name=s.name,this.email=s.email}static createFrom(s={}){return new o(s)}}a.PluginMaintainer=o;class m{constructor(s={}){e(this,"primary");e(this,"secondary");e(this,"tertiary");typeof s=="string"&&(s=JSON.parse(s)),this.primary=s.primary,this.secondary=s.secondary,this.tertiary=s.tertiary}static createFrom(s={}){return new m(s)}}a.PluginThemeColors=m;class n{constructor(s={}){e(this,"colors");typeof s=="string"&&(s=JSON.parse(s)),this.colors=this.convertValues(s.colors,m)}static createFrom(s={}){return new n(s)}convertValues(s,g,f=!1){if(!s)return s;if(s.slice&&s.map)return s.map(O=>this.convertValues(O,g));if(typeof s=="object"){if(f){for(const O of Object.keys(s))s[O]=new g(s[O]);return s}return new g(s)}return s}}a.PluginTheme=n;class l{constructor(s={}){e(this,"id");e(this,"version");e(this,"name");e(this,"icon");e(this,"icon_url");e(this,"description");e(this,"repository");e(this,"website");e(this,"category");e(this,"license");e(this,"author");e(this,"maintainers");e(this,"tags");e(this,"dependencies");e(this,"capabilities");e(this,"theme");e(this,"components");e(this,"schema_version");e(this,"sdk_protocol_version");typeof s=="string"&&(s=JSON.parse(s)),this.id=s.id,this.version=s.version,this.name=s.name,this.icon=s.icon,this.icon_url=s.icon_url,this.description=s.description,this.repository=s.repository,this.website=s.website,this.category=s.category,this.license=s.license,this.author=this.convertValues(s.author,h),this.maintainers=this.convertValues(s.maintainers,o),this.tags=s.tags,this.dependencies=s.dependencies,this.capabilities=s.capabilities,this.theme=this.convertValues(s.theme,n),this.components=this.convertValues(s.components,p),this.schema_version=s.schema_version,this.sdk_protocol_version=s.sdk_protocol_version}static createFrom(s={}){return new l(s)}convertValues(s,g,f=!1){if(!s)return s;if(s.slice&&s.map)return s.map(O=>this.convertValues(O,g));if(typeof s=="object"){if(f){for(const O of Object.keys(s))s[O]=new g(s[O]);return s}return new g(s)}return s}}a.PluginMeta=l})(exports.config||(exports.config={}));exports.devserver=void 0;(a=>{class h{constructor(n={}){e(this,"pid");e(this,"protocol");e(this,"protocolVersion");e(this,"addr");e(this,"vitePort");e(this,"pluginId");e(this,"version");e(this,"startedAt");typeof n=="string"&&(n=JSON.parse(n)),this.pid=n.pid,this.protocol=n.protocol,this.protocolVersion=n.protocolVersion,this.addr=n.addr,this.vitePort=n.vitePort,this.pluginId=n.pluginId,this.version=n.version,this.startedAt=n.startedAt}static createFrom(n={}){return new h(n)}}a.DevInfoFile=h;class d{static createFrom(n={}){return new d(n)}constructor(n={}){typeof n=="string"&&(n=JSON.parse(n))}}a.DevServerManager=d;class p{constructor(n={}){e(this,"pluginID");e(this,"mode");e(this,"devPath");e(this,"vitePort");e(this,"viteURL");e(this,"viteStatus");e(this,"goStatus");e(this,"lastBuildDuration");e(this,"lastBuildTime");e(this,"lastError");e(this,"grpcConnected");typeof n=="string"&&(n=JSON.parse(n)),this.pluginID=n.pluginID,this.mode=n.mode,this.devPath=n.devPath,this.vitePort=n.vitePort,this.viteURL=n.viteURL,this.viteStatus=n.viteStatus,this.goStatus=n.goStatus,this.lastBuildDuration=n.lastBuildDuration,this.lastBuildTime=n.lastBuildTime,this.lastError=n.lastError,this.grpcConnected=n.grpcConnected}static createFrom(n={}){return new p(n)}}a.DevServerState=p;class o{constructor(n={}){e(this,"timestamp");e(this,"source");e(this,"level");e(this,"message");e(this,"pluginID");typeof n=="string"&&(n=JSON.parse(n)),this.timestamp=n.timestamp,this.source=n.source,this.level=n.level,this.message=n.message,this.pluginID=n.pluginID}static createFrom(n={}){return new o(n)}}a.LogEntry=o})(exports.devserver||(exports.devserver={}));exports.exec=void 0;(a=>{class h{constructor(i={}){e(this,"label");e(this,"label_selector");e(this,"paths");e(this,"selectors");typeof i=="string"&&(i=JSON.parse(i)),this.label=i.label,this.label_selector=i.label_selector,this.paths=i.paths,this.selectors=i.selectors}static createFrom(i={}){return new h(i)}}a.ActionTargetBuilder=h;class d{constructor(i={}){e(this,"created_at");e(this,"labels");e(this,"params");e(this,"id");e(this,"command");e(this,"attached");typeof i=="string"&&(i=JSON.parse(i)),this.created_at=this.convertValues(i.created_at,exports.time.Time),this.labels=i.labels,this.params=i.params,this.id=i.id,this.command=i.command,this.attached=i.attached}static createFrom(i={}){return new d(i)}convertValues(i,s,g=!1){if(!i)return i;if(i.slice&&i.map)return i.map(f=>this.convertValues(f,s));if(typeof i=="object"){if(g){for(const f of Object.keys(i))i[f]=new s(i[f]);return i}return new s(i)}return i}}a.Session=d;class p{constructor(i={}){e(this,"session");e(this,"buffer");typeof i=="string"&&(i=JSON.parse(i)),this.session=this.convertValues(i.session,d),this.buffer=i.buffer}static createFrom(i={}){return new p(i)}convertValues(i,s,g=!1){if(!i)return i;if(i.slice&&i.map)return i.map(f=>this.convertValues(f,s));if(typeof i=="object"){if(g){for(const f of Object.keys(i))i[f]=new s(i[f]);return i}return new s(i)}return i}}a.AttachSessionResult=p;class o{constructor(i={}){e(this,"labels");e(this,"command");typeof i=="string"&&(i=JSON.parse(i)),this.labels=i.labels,this.command=i.command}static createFrom(i={}){return new o(i)}}a.CreateTerminalOptions=o;class m{constructor(i={}){e(this,"plugin");e(this,"resource");e(this,"target_builder");e(this,"default_command");typeof i=="string"&&(i=JSON.parse(i)),this.plugin=i.plugin,this.resource=i.resource,this.target_builder=this.convertValues(i.target_builder,h),this.default_command=i.default_command}static createFrom(i={}){return new m(i)}convertValues(i,s,g=!1){if(!i)return i;if(i.slice&&i.map)return i.map(f=>this.convertValues(f,s));if(typeof i=="object"){if(g){for(const f of Object.keys(i))i[f]=new s(i[f]);return i}return new s(i)}return i}}a.Handler=m;class n{constructor(i={}){e(this,"params");e(this,"labels");e(this,"id");e(this,"resource_plugin");e(this,"resource_key");e(this,"resource_data");e(this,"command");e(this,"tty");typeof i=="string"&&(i=JSON.parse(i)),this.params=i.params,this.labels=i.labels,this.id=i.id,this.resource_plugin=i.resource_plugin,this.resource_key=i.resource_key,this.resource_data=i.resource_data,this.command=i.command,this.tty=i.tty}static createFrom(i={}){return new n(i)}}a.SessionOptions=n})(exports.exec||(exports.exec={}));exports.logs=void 0;(a=>{class h{constructor(i={}){e(this,"label");e(this,"label_selector");e(this,"paths");e(this,"selectors");typeof i=="string"&&(i=JSON.parse(i)),this.label=i.label,this.label_selector=i.label_selector,this.paths=i.paths,this.selectors=i.selectors}static createFrom(i={}){return new h(i)}}a.ActionTargetBuilder=h;class d{constructor(i={}){e(this,"target");e(this,"follow");e(this,"include_previous");e(this,"include_timestamps");e(this,"tail_lines");e(this,"since_seconds");e(this,"since_time");e(this,"limit_bytes");e(this,"include_source_events");e(this,"params");typeof i=="string"&&(i=JSON.parse(i)),this.target=i.target,this.follow=i.follow,this.include_previous=i.include_previous,this.include_timestamps=i.include_timestamps,this.tail_lines=i.tail_lines,this.since_seconds=i.since_seconds,this.since_time=this.convertValues(i.since_time,exports.time.Time),this.limit_bytes=i.limit_bytes,this.include_source_events=i.include_source_events,this.params=i.params}static createFrom(i={}){return new d(i)}convertValues(i,s,g=!1){if(!i)return i;if(i.slice&&i.map)return i.map(f=>this.convertValues(f,s));if(typeof i=="object"){if(g){for(const f of Object.keys(i))i[f]=new s(i[f]);return i}return new s(i)}return i}}a.LogSessionOptions=d;class p{constructor(i={}){e(this,"resource_key");e(this,"resource_id");e(this,"resource_data");e(this,"options");typeof i=="string"&&(i=JSON.parse(i)),this.resource_key=i.resource_key,this.resource_id=i.resource_id,this.resource_data=i.resource_data,this.options=this.convertValues(i.options,d)}static createFrom(i={}){return new p(i)}convertValues(i,s,g=!1){if(!i)return i;if(i.slice&&i.map)return i.map(f=>this.convertValues(f,s));if(typeof i=="object"){if(g){for(const f of Object.keys(i))i[f]=new s(i[f]);return i}return new s(i)}return i}}a.CreateSessionOptions=p;class o{constructor(i={}){e(this,"plugin");e(this,"resource");e(this,"target_builder");typeof i=="string"&&(i=JSON.parse(i)),this.plugin=i.plugin,this.resource=i.resource,this.target_builder=this.convertValues(i.target_builder,h)}static createFrom(i={}){return new o(i)}convertValues(i,s,g=!1){if(!i)return i;if(i.slice&&i.map)return i.map(f=>this.convertValues(f,s));if(typeof i=="object"){if(g){for(const f of Object.keys(i))i[f]=new s(i[f]);return i}return new s(i)}return i}}a.Handler=o;class m{constructor(i={}){e(this,"id");e(this,"labels");typeof i=="string"&&(i=JSON.parse(i)),this.id=i.id,this.labels=i.labels}static createFrom(i={}){return new m(i)}}a.LogSource=m;class n{constructor(i={}){e(this,"id");e(this,"plugin_id");e(this,"connection_id");e(this,"resource_key");e(this,"resource_id");e(this,"options");e(this,"status");e(this,"active_sources");e(this,"created_at");typeof i=="string"&&(i=JSON.parse(i)),this.id=i.id,this.plugin_id=i.plugin_id,this.connection_id=i.connection_id,this.resource_key=i.resource_key,this.resource_id=i.resource_id,this.options=this.convertValues(i.options,d),this.status=i.status,this.active_sources=this.convertValues(i.active_sources,m),this.created_at=this.convertValues(i.created_at,exports.time.Time)}static createFrom(i={}){return new n(i)}convertValues(i,s,g=!1){if(!i)return i;if(i.slice&&i.map)return i.map(f=>this.convertValues(f,s));if(typeof i=="object"){if(g){for(const f of Object.keys(i))i[f]=new s(i[f]);return i}return new s(i)}return i}}a.LogSession=n})(exports.logs||(exports.logs={}));exports.main=void 0;(a=>{class h{constructor(o={}){e(this,"displayName");e(this,"pattern");typeof o=="string"&&(o=JSON.parse(o)),this.displayName=o.displayName,this.pattern=o.pattern}static createFrom(o={}){return new h(o)}}a.FileFilter=h;class d{constructor(o={}){e(this,"defaultDirectory");e(this,"defaultFilename");e(this,"title");e(this,"filters");e(this,"showHiddenFiles");e(this,"canCreateDirectories");e(this,"resolvesAliases");e(this,"treatPackagesAsDirectories");typeof o=="string"&&(o=JSON.parse(o)),this.defaultDirectory=o.defaultDirectory,this.defaultFilename=o.defaultFilename,this.title=o.title,this.filters=this.convertValues(o.filters,h),this.showHiddenFiles=o.showHiddenFiles,this.canCreateDirectories=o.canCreateDirectories,this.resolvesAliases=o.resolvesAliases,this.treatPackagesAsDirectories=o.treatPackagesAsDirectories}static createFrom(o={}){return new d(o)}convertValues(o,m,n=!1){if(!o)return o;if(o.slice&&o.map)return o.map(l=>this.convertValues(l,m));if(typeof o=="object"){if(n){for(const l of Object.keys(o))o[l]=new m(o[l]);return o}return new m(o)}return o}}a.FileDialogOptions=d})(exports.main||(exports.main={}));exports.metric=void 0;(a=>{class h{constructor(r={}){e(this,"metric_id");e(this,"min");e(this,"max");e(this,"avg");e(this,"sum");e(this,"p50");e(this,"p90");e(this,"p99");e(this,"count");e(this,"window");e(this,"labels");typeof r=="string"&&(r=JSON.parse(r)),this.metric_id=r.metric_id,this.min=r.min,this.max=r.max,this.avg=r.avg,this.sum=r.sum,this.p50=r.p50,this.p90=r.p90,this.p99=r.p99,this.count=r.count,this.window=r.window,this.labels=r.labels}static createFrom(r={}){return new h(r)}}a.AggregateValue=h;class d{constructor(r={}){e(this,"min");e(this,"max");e(this,"color");typeof r=="string"&&(r=JSON.parse(r)),this.min=r.min,this.max=r.max,this.color=r.color}static createFrom(r={}){return new d(r)}}a.ColorRange=d;class p{constructor(r={}){e(this,"metric_id");e(this,"value");e(this,"timestamp");e(this,"labels");typeof r=="string"&&(r=JSON.parse(r)),this.metric_id=r.metric_id,this.value=r.value,this.timestamp=this.convertValues(r.timestamp,exports.time.Time),this.labels=r.labels}static createFrom(r={}){return new p(r)}convertValues(r,v,V=!1){if(!r)return r;if(r.slice&&r.map)return r.map(u=>this.convertValues(u,v));if(typeof r=="object"){if(V){for(const u of Object.keys(r))r[u]=new v(r[u]);return r}return new v(r)}return r}}a.CurrentValue=p;class o{constructor(r={}){e(this,"timestamp");e(this,"value");e(this,"labels");typeof r=="string"&&(r=JSON.parse(r)),this.timestamp=this.convertValues(r.timestamp,exports.time.Time),this.value=r.value,this.labels=r.labels}static createFrom(r={}){return new o(r)}convertValues(r,v,V=!1){if(!r)return r;if(r.slice&&r.map)return r.map(u=>this.convertValues(u,v));if(typeof r=="object"){if(V){for(const u of Object.keys(r))r[u]=new v(r[u]);return r}return new v(r)}return r}}a.DataPoint=o;class m{constructor(r={}){e(this,"id");e(this,"name");e(this,"unit");e(this,"icon");e(this,"color_ranges");e(this,"format_string");e(this,"supported_shapes");e(this,"chart_group");typeof r=="string"&&(r=JSON.parse(r)),this.id=r.id,this.name=r.name,this.unit=r.unit,this.icon=r.icon,this.color_ranges=this.convertValues(r.color_ranges,d),this.format_string=r.format_string,this.supported_shapes=r.supported_shapes,this.chart_group=r.chart_group}static createFrom(r={}){return new m(r)}convertValues(r,v,V=!1){if(!r)return r;if(r.slice&&r.map)return r.map(u=>this.convertValues(u,v));if(typeof r=="object"){if(V){for(const u of Object.keys(r))r[u]=new v(r[u]);return r}return new v(r)}return r}}a.MetricDescriptor=m;class n{constructor(r={}){e(this,"resource");e(this,"metrics");typeof r=="string"&&(r=JSON.parse(r)),this.resource=r.resource,this.metrics=this.convertValues(r.metrics,m)}static createFrom(r={}){return new n(r)}convertValues(r,v,V=!1){if(!r)return r;if(r.slice&&r.map)return r.map(u=>this.convertValues(u,v));if(typeof r=="object"){if(V){for(const u of Object.keys(r))r[u]=new v(r[u]);return r}return new v(r)}return r}}a.Handler=n;class l{constructor(r={}){e(this,"plugin_id");e(this,"provider_id");e(this,"name");e(this,"icon");e(this,"description");e(this,"handlers");typeof r=="string"&&(r=JSON.parse(r)),this.plugin_id=r.plugin_id,this.provider_id=r.provider_id,this.name=r.name,this.icon=r.icon,this.description=r.description,this.handlers=this.convertValues(r.handlers,n)}static createFrom(r={}){return new l(r)}convertValues(r,v,V=!1){if(!r)return r;if(r.slice&&r.map)return r.map(u=>this.convertValues(u,v));if(typeof r=="object"){if(V){for(const u of Object.keys(r))r[u]=new v(r[u]);return r}return new v(r)}return r}}a.MetricProviderSummary=l;class i{constructor(r={}){e(this,"metric_id");e(this,"data_points");e(this,"labels");typeof r=="string"&&(r=JSON.parse(r)),this.metric_id=r.metric_id,this.data_points=this.convertValues(r.data_points,o),this.labels=r.labels}static createFrom(r={}){return new i(r)}convertValues(r,v,V=!1){if(!r)return r;if(r.slice&&r.map)return r.map(u=>this.convertValues(u,v));if(typeof r=="object"){if(V){for(const u of Object.keys(r))r[u]=new v(r[u]);return r}return new v(r)}return r}}a.TimeSeries=i;class s{constructor(r={}){e(this,"time_series");e(this,"current_value");e(this,"aggregate_value");typeof r=="string"&&(r=JSON.parse(r)),this.time_series=this.convertValues(r.time_series,i),this.current_value=this.convertValues(r.current_value,p),this.aggregate_value=this.convertValues(r.aggregate_value,h)}static createFrom(r={}){return new s(r)}convertValues(r,v,V=!1){if(!r)return r;if(r.slice&&r.map)return r.map(u=>this.convertValues(u,v));if(typeof r=="object"){if(V){for(const u of Object.keys(r))r[u]=new v(r[u]);return r}return new v(r)}return r}}a.MetricResult=s;class g{constructor(r={}){e(this,"resource_key");e(this,"resource_id");e(this,"resource_namespace");e(this,"resource_data");e(this,"metric_ids");e(this,"shape");e(this,"start_time");e(this,"end_time");e(this,"step");e(this,"params");typeof r=="string"&&(r=JSON.parse(r)),this.resource_key=r.resource_key,this.resource_id=r.resource_id,this.resource_namespace=r.resource_namespace,this.resource_data=r.resource_data,this.metric_ids=r.metric_ids,this.shape=r.shape,this.start_time=this.convertValues(r.start_time,exports.time.Time),this.end_time=this.convertValues(r.end_time,exports.time.Time),this.step=r.step,this.params=r.params}static createFrom(r={}){return new g(r)}convertValues(r,v,V=!1){if(!r)return r;if(r.slice&&r.map)return r.map(u=>this.convertValues(u,v));if(typeof r=="object"){if(V){for(const u of Object.keys(r))r[u]=new v(r[u]);return r}return new v(r)}return r}}a.QueryRequest=g;class f{constructor(r={}){e(this,"success");e(this,"results");e(this,"error");typeof r=="string"&&(r=JSON.parse(r)),this.success=r.success,this.results=this.convertValues(r.results,s),this.error=r.error}static createFrom(r={}){return new f(r)}convertValues(r,v,V=!1){if(!r)return r;if(r.slice&&r.map)return r.map(u=>this.convertValues(u,v));if(typeof r=="object"){if(V){for(const u of Object.keys(r))r[u]=new v(r[u]);return r}return new v(r)}return r}}a.QueryResponse=f;class O{constructor(r={}){e(this,"resource_key");e(this,"resource_id");e(this,"resource_namespace");e(this,"resource_data");e(this,"metric_ids");e(this,"interval");typeof r=="string"&&(r=JSON.parse(r)),this.resource_key=r.resource_key,this.resource_id=r.resource_id,this.resource_namespace=r.resource_namespace,this.resource_data=r.resource_data,this.metric_ids=r.metric_ids,this.interval=r.interval}static createFrom(r={}){return new O(r)}}a.SubscribeRequest=O})(exports.metric||(exports.metric={}));exports.networker=void 0;(a=>{class h{constructor(n={}){e(this,"resource_id");e(this,"connection_id");typeof n=="string"&&(n=JSON.parse(n)),this.resource_id=n.resource_id,this.connection_id=n.connection_id}static createFrom(n={}){return new h(n)}}a.FindPortForwardSessionRequest=h;class d{constructor(n={}){e(this,"algorithm");e(this,"key");e(this,"enabled");typeof n=="string"&&(n=JSON.parse(n)),this.algorithm=n.algorithm,this.key=n.key,this.enabled=n.enabled}static createFrom(n={}){return new d(n)}}a.PortForwardSessionEncryption=d;class p{constructor(n={}){e(this,"created_at");e(this,"updated_at");e(this,"connection");e(this,"labels");e(this,"id");e(this,"protocol");e(this,"state");e(this,"connection_type");e(this,"encryption");e(this,"local_port");e(this,"remote_port");typeof n=="string"&&(n=JSON.parse(n)),this.created_at=this.convertValues(n.created_at,exports.time.Time),this.updated_at=this.convertValues(n.updated_at,exports.time.Time),this.connection=n.connection,this.labels=n.labels,this.id=n.id,this.protocol=n.protocol,this.state=n.state,this.connection_type=n.connection_type,this.encryption=this.convertValues(n.encryption,d),this.local_port=n.local_port,this.remote_port=n.remote_port}static createFrom(n={}){return new p(n)}convertValues(n,l,i=!1){if(!n)return n;if(n.slice&&n.map)return n.map(s=>this.convertValues(s,l));if(typeof n=="object"){if(i){for(const s of Object.keys(n))n[s]=new l(n[s]);return n}return new l(n)}return n}}a.PortForwardSession=p;class o{constructor(n={}){e(this,"connection");e(this,"labels");e(this,"params");e(this,"protocol");e(this,"connection_type");e(this,"encryption");e(this,"local_port");e(this,"remote_port");typeof n=="string"&&(n=JSON.parse(n)),this.connection=n.connection,this.labels=n.labels,this.params=n.params,this.protocol=n.protocol,this.connection_type=n.connection_type,this.encryption=this.convertValues(n.encryption,d),this.local_port=n.local_port,this.remote_port=n.remote_port}static createFrom(n={}){return new o(n)}convertValues(n,l,i=!1){if(!n)return n;if(n.slice&&n.map)return n.map(s=>this.convertValues(s,l));if(typeof n=="object"){if(i){for(const s of Object.keys(n))n[s]=new l(n[s]);return n}return new l(n)}return n}}a.PortForwardSessionOptions=o})(exports.networker||(exports.networker={}));exports.plugin=void 0;(a=>{class h{constructor(p={}){e(this,"DevMode");e(this,"DevModePath");e(this,"ExistingState");typeof p=="string"&&(p=JSON.parse(p)),this.DevMode=p.DevMode,this.DevModePath=p.DevModePath,this.ExistingState=this.convertValues(p.ExistingState,exports.types.PluginStateRecord)}static createFrom(p={}){return new h(p)}convertValues(p,o,m=!1){if(!p)return p;if(p.slice&&p.map)return p.map(n=>this.convertValues(n,o));if(typeof p=="object"){if(m){for(const n of Object.keys(p))p[n]=new o(p[n]);return p}return new o(p)}return p}}a.LoadPluginOptions=h})(exports.plugin||(exports.plugin={}));exports.pluginlog=void 0;(a=>{class h{constructor(m={}){e(this,"timestamp");e(this,"pluginID");e(this,"source");e(this,"level");e(this,"message");typeof m=="string"&&(m=JSON.parse(m)),this.timestamp=m.timestamp,this.pluginID=m.pluginID,this.source=m.source,this.level=m.level,this.message=m.message}static createFrom(m={}){return new h(m)}}a.LogEntry=h;class d{static createFrom(m={}){return new d(m)}constructor(m={}){typeof m=="string"&&(m=JSON.parse(m))}}a.Manager=d;class p{static createFrom(m={}){return new p(m)}constructor(m={}){typeof m=="string"&&(m=JSON.parse(m))}}a.PluginLogStream=p})(exports.pluginlog||(exports.pluginlog={}));exports.registry=void 0;(a=>{class h{constructor(l={}){e(this,"id");e(this,"name");e(this,"description");e(this,"icon_url");e(this,"category");e(this,"tags");e(this,"license");e(this,"official");e(this,"featured");e(this,"download_count");e(this,"average_rating");e(this,"review_count");e(this,"repository");e(this,"url");e(this,"publisher_name");e(this,"installed");e(this,"installed_version");e(this,"latest_version");e(this,"update_available");typeof l=="string"&&(l=JSON.parse(l)),this.id=l.id,this.name=l.name,this.description=l.description,this.icon_url=l.icon_url,this.category=l.category,this.tags=l.tags,this.license=l.license,this.official=l.official,this.featured=l.featured,this.download_count=l.download_count,this.average_rating=l.average_rating,this.review_count=l.review_count,this.repository=l.repository,this.url=l.url,this.publisher_name=l.publisher_name,this.installed=l.installed,this.installed_version=l.installed_version,this.latest_version=l.latest_version,this.update_available=l.update_available}static createFrom(l={}){return new h(l)}}a.AvailablePlugin=h;class d{constructor(l={}){e(this,"date");e(this,"count");typeof l=="string"&&(l=JSON.parse(l)),this.date=l.date,this.count=l.count}static createFrom(l={}){return new d(l)}}a.DailyStat=d;class p{constructor(l={}){e(this,"total");e(this,"last_month");e(this,"last_week");e(this,"daily_stats");typeof l=="string"&&(l=JSON.parse(l)),this.total=l.total,this.last_month=l.last_month,this.last_week=l.last_week,this.daily_stats=this.convertValues(l.daily_stats,d)}static createFrom(l={}){return new p(l)}convertValues(l,i,s=!1){if(!l)return l;if(l.slice&&l.map)return l.map(g=>this.convertValues(g,i));if(typeof l=="object"){if(s){for(const g of Object.keys(l))l[g]=new i(l[g]);return l}return new i(l)}return l}}a.DownloadStats=p;class o{constructor(l={}){e(this,"id");e(this,"user_id");e(this,"rating");e(this,"title");e(this,"body");e(this,"created_at");typeof l=="string"&&(l=JSON.parse(l)),this.id=l.id,this.user_id=l.user_id,this.rating=l.rating,this.title=l.title,this.body=l.body,this.created_at=l.created_at}static createFrom(l={}){return new o(l)}}a.Review=o;class m{constructor(l={}){e(this,"version");e(this,"description");e(this,"changelog");e(this,"min_ide_version");e(this,"max_ide_version");e(this,"capabilities");e(this,"created_at");typeof l=="string"&&(l=JSON.parse(l)),this.version=l.version,this.description=l.description,this.changelog=l.changelog,this.min_ide_version=l.min_ide_version,this.max_ide_version=l.max_ide_version,this.capabilities=l.capabilities,this.created_at=l.created_at}static createFrom(l={}){return new m(l)}}a.VersionInfo=m})(exports.registry||(exports.registry={}));exports.resource=void 0;(a=>{(b=>{b[b.IDLE=0]="IDLE",b[b.SYNCING=1]="SYNCING",b[b.SYNCED=2]="SYNCED",b[b.ERROR=3]="ERROR",b[b.STOPPED=4]="STOPPED",b[b.FAILED=5]="FAILED",b[b.FORBIDDEN=6]="FORBIDDEN",b[b.SKIPPED=7]="SKIPPED"})(a.WatchState||(a.WatchState={})),(b=>{b[b.ON_CONNECT=0]="ON_CONNECT",b[b.ON_FIRST_QUERY=1]="ON_FIRST_QUERY",b[b.NEVER=2]="NEVER"})(a.SyncPolicy||(a.SyncPolicy={}));class h{constructor(t={}){e(this,"type");e(this,"description");e(this,"enum");e(this,"default");e(this,"minimum");e(this,"maximum");e(this,"properties");e(this,"required");typeof t=="string"&&(t=JSON.parse(t)),this.type=t.type,this.description=t.description,this.enum=t.enum,this.default=t.default,this.minimum=t.minimum,this.maximum=t.maximum,this.properties=this.convertValues(t.properties,h,!0),this.required=t.required}static createFrom(t={}){return new h(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.SchemaProperty=h;class d{constructor(t={}){e(this,"properties");e(this,"required");typeof t=="string"&&(t=JSON.parse(t)),this.properties=this.convertValues(t.properties,h,!0),this.required=t.required}static createFrom(t={}){return new d(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.Schema=d;class p{constructor(t={}){e(this,"id");e(this,"label");e(this,"description");e(this,"icon");e(this,"scope");e(this,"streaming");e(this,"paramsSchema");e(this,"outputSchema");e(this,"dangerous");typeof t=="string"&&(t=JSON.parse(t)),this.id=t.id,this.label=t.label,this.description=t.description,this.icon=t.icon,this.scope=t.scope,this.streaming=t.streaming,this.paramsSchema=this.convertValues(t.paramsSchema,d),this.outputSchema=this.convertValues(t.outputSchema,d),this.dangerous=t.dangerous}static createFrom(t={}){return new p(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.ActionDescriptor=p;class o{constructor(t={}){e(this,"id");e(this,"namespace");e(this,"params");typeof t=="string"&&(t=JSON.parse(t)),this.id=t.id,this.namespace=t.namespace,this.params=t.params}static createFrom(t={}){return new o(t)}}a.ActionInput=o;class m{constructor(t={}){e(this,"success");e(this,"data");e(this,"message");typeof t=="string"&&(t=JSON.parse(t)),this.success=t.success,this.data=t.data,this.message=t.message}static createFrom(t={}){return new m(t)}}a.ActionResult=m;class n{constructor(t={}){e(this,"input");e(this,"namespace");typeof t=="string"&&(t=JSON.parse(t)),this.input=t.input,this.namespace=t.namespace}static createFrom(t={}){return new n(t)}}a.ClientCreateInput=n;class l{constructor(t={}){e(this,"result");e(this,"success");e(this,"totalCount");e(this,"nextCursor");typeof t=="string"&&(t=JSON.parse(t)),this.result=t.result,this.success=t.success,this.totalCount=t.totalCount,this.nextCursor=t.nextCursor}static createFrom(t={}){return new l(t)}}a.ClientListResult=l;class i{constructor(t={}){e(this,"result");e(this,"success");typeof t=="string"&&(t=JSON.parse(t)),this.result=t.result,this.success=t.success}static createFrom(t={}){return new i(t)}}a.ClientResult=i;class s{constructor(t={}){e(this,"input");e(this,"id");e(this,"namespace");typeof t=="string"&&(t=JSON.parse(t)),this.input=t.input,this.id=t.id,this.namespace=t.namespace}static createFrom(t={}){return new s(t)}}a.ClientUpdateInput=s;class g{constructor(t={}){e(this,"idAccessor");e(this,"namespaceAccessor");e(this,"namespaced");e(this,"resourceKey");e(this,"keyAccessor");e(this,"keyMap");e(this,"detailExtractors");e(this,"displayId");typeof t=="string"&&(t=JSON.parse(t)),this.idAccessor=t.idAccessor,this.namespaceAccessor=t.namespaceAccessor,this.namespaced=t.namespaced,this.resourceKey=t.resourceKey,this.keyAccessor=t.keyAccessor,this.keyMap=t.keyMap,this.detailExtractors=t.detailExtractors,this.displayId=t.displayId}static createFrom(t={}){return new g(t)}}a.ResourceLink=g;class f{constructor(t={}){e(this,"id");e(this,"header");e(this,"accessor");e(this,"accessorPriority");e(this,"colorMap");e(this,"color");e(this,"align");e(this,"hidden");e(this,"width");e(this,"formatter");e(this,"component");e(this,"componentParams");e(this,"resourceLink");e(this,"valueMap");typeof t=="string"&&(t=JSON.parse(t)),this.id=t.id,this.header=t.header,this.accessor=t.accessor,this.accessorPriority=t.accessorPriority,this.colorMap=t.colorMap,this.color=t.color,this.align=t.align,this.hidden=t.hidden,this.width=t.width,this.formatter=t.formatter,this.component=t.component,this.componentParams=t.componentParams,this.resourceLink=this.convertValues(t.resourceLink,g),this.valueMap=t.valueMap}static createFrom(t={}){return new f(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.ColumnDefinition=f;class O{constructor(t={}){e(this,"id");e(this,"namespace");e(this,"gracePeriodSeconds");typeof t=="string"&&(t=JSON.parse(t)),this.id=t.id,this.namespace=t.namespace,this.gracePeriodSeconds=t.gracePeriodSeconds}static createFrom(t={}){return new O(t)}}a.DeleteInput=O;class j{constructor(t={}){e(this,"resourceKey");e(this,"fileMatch");e(this,"uri");e(this,"url");e(this,"content");e(this,"language");typeof t=="string"&&(t=JSON.parse(t)),this.resourceKey=t.resourceKey,this.fileMatch=t.fileMatch,this.uri=t.uri,this.url=t.url,this.content=t.content,this.language=t.language}static createFrom(t={}){return new j(t)}}a.EditorSchema=j;class r{constructor(t={}){e(this,"field");e(this,"operator");e(this,"value");typeof t=="string"&&(t=JSON.parse(t)),this.field=t.field,this.operator=t.operator,this.value=t.value}static createFrom(t={}){return new r(t)}}a.FilterPredicate=r;class v{constructor(t={}){e(this,"logic");e(this,"predicates");e(this,"groups");typeof t=="string"&&(t=JSON.parse(t)),this.logic=t.logic,this.predicates=this.convertValues(t.predicates,r),this.groups=this.convertValues(t.groups,v)}static createFrom(t={}){return new v(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.FilterExpression=v;class V{constructor(t={}){e(this,"path");e(this,"displayName");e(this,"description");e(this,"type");e(this,"operators");e(this,"allowedValues");e(this,"required");typeof t=="string"&&(t=JSON.parse(t)),this.path=t.path,this.displayName=t.displayName,this.description=t.description,this.type=t.type,this.operators=t.operators,this.allowedValues=t.allowedValues,this.required=t.required}static createFrom(t={}){return new V(t)}}a.FilterField=V;class u{constructor(t={}){e(this,"page");e(this,"pageSize");e(this,"cursor");typeof t=="string"&&(t=JSON.parse(t)),this.page=t.page,this.pageSize=t.pageSize,this.cursor=t.cursor}static createFrom(t={}){return new u(t)}}a.PaginationParams=u;class _{constructor(t={}){e(this,"field");e(this,"descending");typeof t=="string"&&(t=JSON.parse(t)),this.field=t.field,this.descending=t.descending}static createFrom(t={}){return new _(t)}}a.OrderField=_;class D{constructor(t={}){e(this,"filters");e(this,"textQuery");e(this,"namespaces");e(this,"order");e(this,"pagination");typeof t=="string"&&(t=JSON.parse(t)),this.filters=this.convertValues(t.filters,v),this.textQuery=t.textQuery,this.namespaces=t.namespaces,this.order=this.convertValues(t.order,_),this.pagination=this.convertValues(t.pagination,u)}static createFrom(t={}){return new D(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.FindInput=D;class R{constructor(t={}){e(this,"id");e(this,"namespace");typeof t=="string"&&(t=JSON.parse(t)),this.id=t.id,this.namespace=t.namespace}static createFrom(t={}){return new R(t)}}a.GetInput=R;class S{constructor(t={}){e(this,"type");e(this,"status");e(this,"reason");e(this,"message");e(this,"lastProbeTime");e(this,"lastTransitionTime");typeof t=="string"&&(t=JSON.parse(t)),this.type=t.type,this.status=t.status,this.reason=t.reason,this.message=t.message,this.lastProbeTime=this.convertValues(t.lastProbeTime,exports.time.Time),this.lastTransitionTime=this.convertValues(t.lastTransitionTime,exports.time.Time)}static createFrom(t={}){return new S(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.HealthCondition=S;class P{constructor(t={}){e(this,"namespaces");e(this,"order");e(this,"pagination");typeof t=="string"&&(t=JSON.parse(t)),this.namespaces=t.namespaces,this.order=this.convertValues(t.order,_),this.pagination=this.convertValues(t.pagination,u)}static createFrom(t={}){return new P(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.ListInput=P;class N{constructor(t={}){e(this,"method");e(this,"fieldPath");e(this,"ownerRefKind");e(this,"labelSelector");typeof t=="string"&&(t=JSON.parse(t)),this.method=t.method,this.fieldPath=t.fieldPath,this.ownerRefKind=t.ownerRefKind,this.labelSelector=t.labelSelector}static createFrom(t={}){return new N(t)}}a.RelationshipExtractor=N;class F{constructor(t={}){e(this,"type");e(this,"targetResourceKey");e(this,"label");e(this,"inverseLabel");e(this,"cardinality");e(this,"extractor");typeof t=="string"&&(t=JSON.parse(t)),this.type=t.type,this.targetResourceKey=t.targetResourceKey,this.label=t.label,this.inverseLabel=t.inverseLabel,this.cardinality=t.cardinality,this.extractor=this.convertValues(t.extractor,N)}static createFrom(t={}){return new F(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.RelationshipDescriptor=F;class k{constructor(t={}){e(this,"pluginId");e(this,"connectionId");e(this,"resourceKey");e(this,"id");e(this,"namespace");e(this,"displayName");typeof t=="string"&&(t=JSON.parse(t)),this.pluginId=t.pluginId,this.connectionId=t.connectionId,this.resourceKey=t.resourceKey,this.id=t.id,this.namespace=t.namespace,this.displayName=t.displayName}static createFrom(t={}){return new k(t)}}a.ResourceRef=k;class I{constructor(t={}){e(this,"descriptor");e(this,"targets");typeof t=="string"&&(t=JSON.parse(t)),this.descriptor=this.convertValues(t.descriptor,F),this.targets=this.convertValues(t.targets,k)}static createFrom(t={}){return new I(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.ResolvedRelationship=I;class J{constructor(t={}){e(this,"level");e(this,"expectedCount");e(this,"defaultPageSize");typeof t=="string"&&(t=JSON.parse(t)),this.level=t.level,this.expectedCount=t.expectedCount,this.defaultPageSize=t.defaultPageSize}static createFrom(t={}){return new J(t)}}a.ScaleHint=J;class T{constructor(t={}){e(this,"canGet");e(this,"canList");e(this,"canFind");e(this,"canCreate");e(this,"canUpdate");e(this,"canDelete");e(this,"watchable");e(this,"filterable");e(this,"searchable");e(this,"hasActions");e(this,"hasSchema");e(this,"namespaceScoped");e(this,"hasRelationships");e(this,"hasHealth");e(this,"hasEvents");e(this,"scaleHint");typeof t=="string"&&(t=JSON.parse(t)),this.canGet=t.canGet,this.canList=t.canList,this.canFind=t.canFind,this.canCreate=t.canCreate,this.canUpdate=t.canUpdate,this.canDelete=t.canDelete,this.watchable=t.watchable,this.filterable=t.filterable,this.searchable=t.searchable,this.hasActions=t.hasActions,this.hasSchema=t.hasSchema,this.namespaceScoped=t.namespaceScoped,this.hasRelationships=t.hasRelationships,this.hasHealth=t.hasHealth,this.hasEvents=t.hasEvents,this.scaleHint=this.convertValues(t.scaleHint,J)}static createFrom(t={}){return new T(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.ResourceCapabilities=T;class A{constructor(t={}){e(this,"id_accessor");e(this,"namespace_accessor");e(this,"memoizer_accessor");e(this,"columnDefs");typeof t=="string"&&(t=JSON.parse(t)),this.id_accessor=t.id_accessor,this.namespace_accessor=t.namespace_accessor,this.memoizer_accessor=t.memoizer_accessor,this.columnDefs=this.convertValues(t.columnDefs,f)}static createFrom(t={}){return new A(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.ResourceDefinition=A;class C{constructor(t={}){e(this,"type");e(this,"reason");e(this,"message");e(this,"source");e(this,"count");e(this,"firstSeen");e(this,"lastSeen");typeof t=="string"&&(t=JSON.parse(t)),this.type=t.type,this.reason=t.reason,this.message=t.message,this.source=t.source,this.count=t.count,this.firstSeen=this.convertValues(t.firstSeen,exports.time.Time),this.lastSeen=this.convertValues(t.lastSeen,exports.time.Time)}static createFrom(t={}){return new C(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.ResourceEvent=C;class L{constructor(t={}){e(this,"id");e(this,"name");e(this,"description");e(this,"icon");e(this,"resources");typeof t=="string"&&(t=JSON.parse(t)),this.id=t.id,this.name=t.name,this.description=t.description,this.icon=t.icon,this.resources=this.convertValues(t.resources,Array,!0)}static createFrom(t={}){return new L(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.ResourceGroup=L;class M{constructor(t={}){e(this,"status");e(this,"reason");e(this,"message");e(this,"since");e(this,"conditions");typeof t=="string"&&(t=JSON.parse(t)),this.status=t.status,this.reason=t.reason,this.message=t.message,this.since=this.convertValues(t.since,exports.time.Time),this.conditions=this.convertValues(t.conditions,S)}static createFrom(t={}){return new M(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.ResourceHealth=M;class x{constructor(t={}){e(this,"group");e(this,"version");e(this,"kind");e(this,"label");e(this,"icon");e(this,"description");e(this,"category");typeof t=="string"&&(t=JSON.parse(t)),this.group=t.group,this.version=t.version,this.kind=t.kind,this.label=t.label,this.icon=t.icon,this.description=t.description,this.category=t.category}static createFrom(t={}){return new x(t)}}a.ResourceMeta=x;class E{constructor(t={}){e(this,"partitions");typeof t=="string"&&(t=JSON.parse(t)),this.partitions=t.partitions}static createFrom(t={}){return new E(t)}}a.WatchScope=E;class U{constructor(t={}){e(this,"connectionId");e(this,"resources");e(this,"resourceCounts");e(this,"scope");typeof t=="string"&&(t=JSON.parse(t)),this.connectionId=t.connectionId,this.resources=t.resources,this.resourceCounts=t.resourceCounts,this.scope=this.convertValues(t.scope,E)}static createFrom(t={}){return new U(t)}convertValues(t,y,w=!1){if(!t)return t;if(t.slice&&t.map)return t.map(c=>this.convertValues(c,y));if(typeof t=="object"){if(w){for(const c of Object.keys(t))t[c]=new y(t[c]);return t}return new y(t)}return t}}a.WatchConnectionSummary=U})(exports.resource||(exports.resource={}));exports.settings=void 0;(a=>{(m=>{m.TEXT="text",m.SELECT="select",m.MULTISELECT="multiselect",m.INTEGER="integer",m.FLOAT="float",m.TOGGLE="toggle",m.COLOR="color",m.DATETIME="datetime",m.PASSWORD="password"})(a.SettingType||(a.SettingType={}));class h{constructor(n={}){e(this,"enabled");e(this,"allowFolders");e(this,"extensions");e(this,"multiple");e(this,"relative");e(this,"defaultPath");typeof n=="string"&&(n=JSON.parse(n)),this.enabled=n.enabled,this.allowFolders=n.allowFolders,this.extensions=n.extensions,this.multiple=n.multiple,this.relative=n.relative,this.defaultPath=n.defaultPath}static createFrom(n={}){return new h(n)}}a.SettingFileSelection=h;class d{constructor(n={}){e(this,"label");e(this,"description");e(this,"value");typeof n=="string"&&(n=JSON.parse(n)),this.label=n.label,this.description=n.description,this.value=n.value}static createFrom(n={}){return new d(n)}}a.SettingOption=d;class p{constructor(n={}){e(this,"id");e(this,"label");e(this,"description");e(this,"type");e(this,"value");e(this,"default");e(this,"options");e(this,"fileSelection");e(this,"sensitive");typeof n=="string"&&(n=JSON.parse(n)),this.id=n.id,this.label=n.label,this.description=n.description,this.type=n.type,this.value=n.value,this.default=n.default,this.options=this.convertValues(n.options,d),this.fileSelection=this.convertValues(n.fileSelection,h),this.sensitive=n.sensitive}static createFrom(n={}){return new p(n)}convertValues(n,l,i=!1){if(!n)return n;if(n.slice&&n.map)return n.map(s=>this.convertValues(s,l));if(typeof n=="object"){if(i){for(const s of Object.keys(n))n[s]=new l(n[s]);return n}return new l(n)}return n}}a.Setting=p;class o{constructor(n={}){e(this,"settings");e(this,"id");e(this,"label");e(this,"description");e(this,"icon");typeof n=="string"&&(n=JSON.parse(n)),this.settings=this.convertValues(n.settings,p,!0),this.id=n.id,this.label=n.label,this.description=n.description,this.icon=n.icon}static createFrom(n={}){return new o(n)}convertValues(n,l,i=!1){if(!n)return n;if(n.slice&&n.map)return n.map(s=>this.convertValues(s,l));if(typeof n=="object"){if(i){for(const s of Object.keys(n))n[s]=new l(n[s]);return n}return new l(n)}return n}}a.Category=o})(exports.settings||(exports.settings={}));exports.time=void 0;(a=>{class h{static createFrom(p={}){return new h(p)}constructor(p={}){typeof p=="string"&&(p=JSON.parse(p))}}a.Time=h})(exports.time||(exports.time={}));exports.trivy=void 0;(a=>{(p=>{p.CONFIG="config",p.FILESYSTEM="fs",p.IMAGE="image",p.KUBERNETES="kubernetes",p.REPOSITORY="repository",p.ROOTFS="rootfs",p.SBOM="sbom"})(a.Command||(a.Command={})),(p=>{p.VULN="vuln",p.MISCONFIG="misconfig",p.SECRET="secret",p.LICENSE="license"})(a.Scanner||(a.Scanner={}));class h{constructor(o={}){e(this,"filePatterns");e(this,"skipDirs");e(this,"skipFiles");e(this,"scanners");typeof o=="string"&&(o=JSON.parse(o)),this.filePatterns=o.filePatterns,this.skipDirs=o.skipDirs,this.skipFiles=o.skipFiles,this.scanners=o.scanners}static createFrom(o={}){return new h(o)}}a.ScanOptions=h;class d{constructor(o={}){e(this,"timestamp");e(this,"result");e(this,"id");e(this,"command");typeof o=="string"&&(o=JSON.parse(o)),this.timestamp=this.convertValues(o.timestamp,exports.time.Time),this.result=o.result,this.id=o.id,this.command=o.command}static createFrom(o={}){return new d(o)}convertValues(o,m,n=!1){if(!o)return o;if(o.slice&&o.map)return o.map(l=>this.convertValues(l,m));if(typeof o=="object"){if(n){for(const l of Object.keys(o))o[l]=new m(o[l]);return o}return new m(o)}return o}}a.ScanResult=d})(exports.trivy||(exports.trivy={}));exports.types=void 0;(a=>{(l=>{l.UNKNOWN="UNKNOWN",l.CONNECTED="CONNECTED",l.DISCONNECTED="DISCONNECTED",l.PENDING="PENDING",l.FAILED="FAILED",l.ERROR="ERROR",l.UNAUTHORIZED="UNAUTHORIZED",l.FORBIDDEN="FORBIDDEN",l.BAD_REQUEST="BAD_REQUEST",l.NOT_FOUND="NOT_FOUND",l.TIMEOUT="TIMEOUT",l.UNAVAILABLE="UNAVAILABLE",l.REQUEST_ENTITY_TOO_LARGE="REQUEST_ENTITY_TOO_LARGE"})(a.ConnectionStatusCode||(a.ConnectionStatusCode={}));class h{constructor(i={}){e(this,"enabled");e(this,"triggers");e(this,"retry");typeof i=="string"&&(i=JSON.parse(i)),this.enabled=i.enabled,this.triggers=i.triggers,this.retry=i.retry}static createFrom(i={}){return new h(i)}}a.ConnectionAutoConnect=h;class d{constructor(i={}){e(this,"auto_connect");typeof i=="string"&&(i=JSON.parse(i)),this.auto_connect=this.convertValues(i.auto_connect,h)}static createFrom(i={}){return new d(i)}convertValues(i,s,g=!1){if(!i)return i;if(i.slice&&i.map)return i.map(f=>this.convertValues(f,s));if(typeof i=="object"){if(g){for(const f of Object.keys(i))i[f]=new s(i[f]);return i}return new s(i)}return i}}a.ConnectionLifecycle=d;class p{constructor(i={}){e(this,"last_refresh");e(this,"data");e(this,"labels");e(this,"lifecycle");e(this,"id");e(this,"uid");e(this,"name");e(this,"description");e(this,"avatar");e(this,"expiry_time");e(this,"Client");typeof i=="string"&&(i=JSON.parse(i)),this.last_refresh=this.convertValues(i.last_refresh,exports.time.Time),this.data=i.data,this.labels=i.labels,this.lifecycle=this.convertValues(i.lifecycle,d),this.id=i.id,this.uid=i.uid,this.name=i.name,this.description=i.description,this.avatar=i.avatar,this.expiry_time=i.expiry_time,this.Client=i.Client}static createFrom(i={}){return new p(i)}convertValues(i,s,g=!1){if(!i)return i;if(i.slice&&i.map)return i.map(f=>this.convertValues(f,s));if(typeof i=="object"){if(g){for(const f of Object.keys(i))i[f]=new s(i[f]);return i}return new s(i)}return i}}a.Connection=p;class o{constructor(i={}){e(this,"connection");e(this,"status");e(this,"error");e(this,"details");typeof i=="string"&&(i=JSON.parse(i)),this.connection=this.convertValues(i.connection,p),this.status=i.status,this.error=i.error,this.details=i.details}static createFrom(i={}){return new o(i)}convertValues(i,s,g=!1){if(!i)return i;if(i.slice&&i.map)return i.map(f=>this.convertValues(f,s));if(typeof i=="object"){if(g){for(const f of Object.keys(i))i[f]=new s(i[f]);return i}return new s(i)}return i}}a.ConnectionStatus=o;class m{constructor(i={}){e(this,"id");e(this,"metadata");e(this,"phase");e(this,"enabled");e(this,"devMode");e(this,"devPath");e(this,"capabilities");e(this,"lastError");typeof i=="string"&&(i=JSON.parse(i)),this.id=i.id,this.metadata=this.convertValues(i.metadata,exports.config.PluginMeta),this.phase=i.phase,this.enabled=i.enabled,this.devMode=i.devMode,this.devPath=i.devPath,this.capabilities=i.capabilities,this.lastError=i.lastError}static createFrom(i={}){return new m(i)}convertValues(i,s,g=!1){if(!i)return i;if(i.slice&&i.map)return i.map(f=>this.convertValues(f,s));if(typeof i=="object"){if(g){for(const f of Object.keys(i))i[f]=new s(i[f]);return i}return new s(i)}return i}}a.PluginInfo=m;class n{constructor(i={}){e(this,"id");e(this,"phase");e(this,"metadata");e(this,"enabled");e(this,"devMode");e(this,"devPath");e(this,"lastError");e(this,"errorCount");e(this,"installedAt");typeof i=="string"&&(i=JSON.parse(i)),this.id=i.id,this.phase=i.phase,this.metadata=this.convertValues(i.metadata,exports.config.PluginMeta),this.enabled=i.enabled,this.devMode=i.devMode,this.devPath=i.devPath,this.lastError=i.lastError,this.errorCount=i.errorCount,this.installedAt=this.convertValues(i.installedAt,exports.time.Time)}static createFrom(i={}){return new n(i)}convertValues(i,s,g=!1){if(!i)return i;if(i.slice&&i.map)return i.map(f=>this.convertValues(f,s));if(typeof i=="object"){if(g){for(const f of Object.keys(i))i[f]=new s(i[f]);return i}return new s(i)}return i}}a.PluginStateRecord=n})(exports.types||(exports.types={}));exports.ui=void 0;(a=>{class h{constructor(n={}){e(this,"plugin");typeof n=="string"&&(n=JSON.parse(n)),this.plugin=n.plugin}static createFrom(n={}){return new h(n)}}a.GetPluginComponentsInput=h;class d{constructor(n={}){e(this,"plugin");e(this,"resource");e(this,"area");typeof n=="string"&&(n=JSON.parse(n)),this.plugin=n.plugin,this.resource=n.resource,this.area=n.area}static createFrom(n={}){return new d(n)}}a.GetResourceAreaComponentInput=d;class p{constructor(n={}){e(this,"plugin");e(this,"resource");typeof n=="string"&&(n=JSON.parse(n)),this.plugin=n.plugin,this.resource=n.resource}static createFrom(n={}){return new p(n)}}a.GetResourceComponentsInput=p;class o{constructor(n={}){e(this,"owner");e(this,"name");e(this,"plugin");e(this,"resource");e(this,"area");e(this,"extension");typeof n=="string"&&(n=JSON.parse(n)),this.owner=n.owner,this.name=n.name,this.plugin=n.plugin,this.resource=n.resource,this.area=n.area,this.extension=n.extension}static createFrom(n={}){return new o(n)}}a.ResourceComponent=o})(exports.ui||(exports.ui={}));exports.utils=void 0;(a=>{class h{constructor(p={}){e(this,"filename");e(this,"contents");typeof p=="string"&&(p=JSON.parse(p)),this.filename=p.filename,this.contents=p.contents}static createFrom(p={}){return new h(p)}}a.GetLanguageInput=h})(exports.utils||(exports.utils={}));
|
|
1
|
+
"use strict";var d=Object.defineProperty;var S=(r,t,i)=>t in r?d(r,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[t]=i;var n=(r,t,i)=>S(r,typeof t!="symbol"?t+"":t,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index-D_aIcqH0.cjs"),e=require("./models-DdAWPDgz.cjs"),u=require("./legacyEnum-DkV5yRdA.cjs"),o=require("./models-CExSuVU2.cjs");class l{constructor(t={}){n(this,"defaultDirectory");n(this,"defaultFilename");n(this,"title");n(this,"filters");n(this,"showHiddenFiles");n(this,"canCreateDirectories");n(this,"resolvesAliases");n(this,"treatPackagesAsDirectories");"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 i=g;let s=typeof t=="string"?JSON.parse(t):t;return"filters"in s&&(s.filters=i(s.filters)),new l(s)}}class a{constructor(t={}){n(this,"displayName");n(this,"pattern");"displayName"in t||(this.displayName=""),"pattern"in t||(this.pattern=""),Object.assign(this,t)}static createFrom(t={}){let i=typeof t=="string"?JSON.parse(t):t;return new a(i)}}const C=a.createFrom,g=R.Array(C),p=u.withLegacyNames(e.WatchState,"WatchState"),m=Object.freeze(Object.defineProperty({__proto__:null,ActionDescriptor:e.ActionDescriptor,ActionInput:e.ActionInput,ActionResult:e.ActionResult,ActionScope:e.ActionScope,ColumnDefinition:e.ColumnDefinition,CreateInput:e.CreateInput,CreateResult:e.CreateResult,DeleteInput:e.DeleteInput,DeleteResult:e.DeleteResult,EdgeDirection:e.EdgeDirection,EditorSchema:e.EditorSchema,EventSeverity:e.EventSeverity,FilterExpression:e.FilterExpression,FilterField:e.FilterField,FilterFieldType:e.FilterFieldType,FilterLogic:e.FilterLogic,FilterOperator:e.FilterOperator,FilterPredicate:e.FilterPredicate,FindInput:e.FindInput,FindResult:e.FindResult,GetInput:e.GetInput,GetResult:e.GetResult,HealthCondition:e.HealthCondition,HealthStatus:e.HealthStatus,ListInput:e.ListInput,ListResult:e.ListResult,OrderField:e.OrderField,PaginationParams:e.PaginationParams,RelationshipDescriptor:e.RelationshipDescriptor,RelationshipExtractor:e.RelationshipExtractor,RelationshipType:e.RelationshipType,ResolvedRelationship:e.ResolvedRelationship,ResourceCapabilities:e.ResourceCapabilities,ResourceDefinition:e.ResourceDefinition,ResourceEvent:e.ResourceEvent,ResourceGroup:e.ResourceGroup,ResourceHealth:e.ResourceHealth,ResourceLink:e.ResourceLink,ResourceMeta:e.ResourceMeta,ResourceRef:e.ResourceRef,ScaleHint:e.ScaleHint,ScaleLevel:e.ScaleLevel,UpdateInput:e.UpdateInput,UpdateResult:e.UpdateResult,WatchConnectionSummary:e.WatchConnectionSummary,WatchScope:e.WatchScope,WatchState:p,WatchStateEvent:e.WatchStateEvent},Symbol.toStringTag,{value:"Module"})),h=u.withLegacyNames(e.ConnectionStatusCode,"ConnectionStatus"),F=Object.freeze(Object.defineProperty({__proto__:null,Capability:e.Capability,Connection:e.Connection,ConnectionAutoConnect:e.ConnectionAutoConnect,ConnectionAutoConnectRetry:e.ConnectionAutoConnectRetry,ConnectionAutoConnectTrigger:e.ConnectionAutoConnectTrigger,ConnectionLifecycle:e.ConnectionLifecycle,ConnectionStatus:e.ConnectionStatus,ConnectionStatusCode:h,PluginInfo:e.PluginInfo},Symbol.toStringTag,{value:"Module"}));class c{constructor(t={}){n(this,"filename");n(this,"contents");"filename"in t||(this.filename=""),"contents"in t||(this.contents=""),Object.assign(this,t)}static createFrom(t={}){let i=typeof t=="string"?JSON.parse(t):t;return new c(i)}}const y=Object.freeze(Object.defineProperty({__proto__:null,GetLanguageInput:c},Symbol.toStringTag,{value:"Module"}));exports.ActionDescriptor=e.ActionDescriptor;exports.ActionInput=e.ActionInput;exports.ActionResult=e.ActionResult;exports.ActionScope=e.ActionScope;exports.ActionTargetBuilder=e.ActionTargetBuilder;exports.AggregateValue=e.AggregateValue;exports.Capability=e.Capability;exports.Category=e.Category;exports.ColorRange=e.ColorRange;exports.ColumnDefinition=e.ColumnDefinition;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.CreateInput=e.CreateInput;exports.CreateResult=e.CreateResult;exports.CreateSessionOptions=e.CreateSessionOptions;exports.CurrentValue=e.CurrentValue;exports.DataPoint=e.DataPoint;exports.DeleteInput=e.DeleteInput;exports.DeleteResult=e.DeleteResult;exports.EdgeDirection=e.EdgeDirection;exports.EditorSchema=e.EditorSchema;exports.EventSeverity=e.EventSeverity;exports.FilterExpression=e.FilterExpression;exports.FilterField=e.FilterField;exports.FilterFieldType=e.FilterFieldType;exports.FilterLogic=e.FilterLogic;exports.FilterOperator=e.FilterOperator;exports.FilterPredicate=e.FilterPredicate;exports.FindInput=e.FindInput;exports.FindPortForwardSessionRequest=e.FindPortForwardSessionRequest;exports.FindResult=e.FindResult;exports.GetInput=e.GetInput;exports.GetPluginComponentsInput=e.GetPluginComponentsInput;exports.GetResourceAreaComponentInput=e.GetResourceAreaComponentInput;exports.GetResourceComponentsInput=e.GetResourceComponentsInput;exports.GetResult=e.GetResult;exports.Handler=e.Handler;exports.HealthCondition=e.HealthCondition;exports.HealthStatus=e.HealthStatus;exports.ListInput=e.ListInput;exports.ListResult=e.ListResult;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.OrderField=e.OrderField;exports.PaginationParams=e.PaginationParams;exports.PluginAuthor=e.PluginAuthor;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.PortForwardSessionOptions=e.PortForwardSessionOptions;exports.QueryRequest=e.QueryRequest;exports.QueryResponse=e.QueryResponse;exports.RelationshipDescriptor=e.RelationshipDescriptor;exports.RelationshipExtractor=e.RelationshipExtractor;exports.RelationshipType=e.RelationshipType;exports.ResolvedRelationship=e.ResolvedRelationship;exports.ResourceCapabilities=e.ResourceCapabilities;exports.ResourceComponent=e.ResourceComponent;exports.ResourceComponentArea=e.ResourceComponentArea;exports.ResourceDefinition=e.ResourceDefinition;exports.ResourceEvent=e.ResourceEvent;exports.ResourceGroup=e.ResourceGroup;exports.ResourceHealth=e.ResourceHealth;exports.ResourceLink=e.ResourceLink;exports.ResourceMeta=e.ResourceMeta;exports.ResourceRef=e.ResourceRef;exports.ScaleHint=e.ScaleHint;exports.ScaleLevel=e.ScaleLevel;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.TimeSeries=e.TimeSeries;exports.UpdateInput=e.UpdateInput;exports.UpdateResult=e.UpdateResult;exports.WatchConnectionSummary=e.WatchConnectionSummary;exports.WatchScope=e.WatchScope;exports.WatchStateEvent=e.WatchStateEvent;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$6;exports.settings=e.models$5;exports.time=e.models$8;exports.ui=e.models$7;exports.BuildError=o.BuildError;exports.DevInfoFile=o.DevInfoFile;exports.DevProcessStatus=o.DevProcessStatus;exports.DevServerErrorPayload=o.DevServerErrorPayload;exports.DevServerLogEntry=o.LogEntry;exports.DevServerMode=o.DevServerMode;exports.DevServerState=o.DevServerState;exports.PluginLogEntry=o.LogEntry$1;exports.devserver=o.models;exports.pluginlog=o.models$1;exports.FileDialogOptions=l;exports.FileFilter=a;exports.WatchState=p;exports.resource=m;exports.types=F;exports.utils=y;
|
package/dist/models.d.ts
CHANGED
|
@@ -1 +1,27 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './bindings/github.com/omniviewdev/omniview/models';
|
|
2
|
+
export * from './bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models';
|
|
3
|
+
export * from './bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models';
|
|
4
|
+
export * from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models';
|
|
5
|
+
export { WatchState } from './compat/resource';
|
|
6
|
+
export { ActionTargetBuilder, Handler, Session, SessionOptions, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models';
|
|
7
|
+
export { CreateSessionOptions, LogSession, LogSessionOptions, LogSessionStatus, LogSource, LogStreamCommand, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models';
|
|
8
|
+
export { AggregateValue, ColorRange, CurrentValue, DataPoint, MetricDescriptor, MetricResult, MetricShape, MetricUnit, QueryRequest, QueryResponse, TimeSeries, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models';
|
|
9
|
+
export { FindPortForwardSessionRequest, PortForwardConnectionType, PortForwardProtocol, PortForwardSession, PortForwardSessionEncryption, PortForwardSessionOptions, SessionState, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models';
|
|
10
|
+
export * from './bindings/github.com/omniviewdev/plugin-sdk/settings/models';
|
|
11
|
+
export { BuildError, DevInfoFile, DevProcessStatus, DevServerErrorPayload, DevServerMode, DevServerState, LogEntry as DevServerLogEntry, } from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models';
|
|
12
|
+
export { LogEntry as PluginLogEntry, } from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/models';
|
|
13
|
+
export * from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/models';
|
|
14
|
+
export * as types from './compat/types';
|
|
15
|
+
export * as config from './bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models';
|
|
16
|
+
export * as exec from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models';
|
|
17
|
+
export * as logs from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models';
|
|
18
|
+
export * as metric from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models';
|
|
19
|
+
export * as networker from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models';
|
|
20
|
+
export * as resource from './compat/resource';
|
|
21
|
+
export * as settings from './bindings/github.com/omniviewdev/plugin-sdk/settings/models';
|
|
22
|
+
export * as devserver from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models';
|
|
23
|
+
export * as pluginlog from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/models';
|
|
24
|
+
export * as registry from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/models';
|
|
25
|
+
export * as ui from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/models';
|
|
26
|
+
export * as utils from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/models';
|
|
27
|
+
export * as time from './bindings/time/models';
|