@omniviewdev/runtime 0.3.0 → 0.4.1
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 +16 -14
- package/dist/api.js +111 -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 +99 -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/graphservice-CRRwkBcy.cjs +1 -0
- package/dist/graphservice-CXr8ZCEY.js +726 -0
- 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/index.d.ts +2 -0
- package/dist/hooks/resource/useDependencyTree.d.ts +41 -0
- package/dist/hooks/resource/useEditorSchemas.d.ts +2 -2
- package/dist/hooks/resource/useEventBatcher.d.ts +3 -0
- package/dist/hooks/resource/useRelatedResources.d.ts +82 -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 +1281 -1599
- package/dist/legacyEnum-DORXlU_y.js +13 -0
- package/dist/legacyEnum-DkV5yRdA.cjs +1 -0
- package/dist/models-BoBl5Kgj.js +159 -0
- package/dist/models-BvR5jdms.js +2358 -0
- package/dist/models-CHycLCM0.cjs +1 -0
- package/dist/models-DOdc96z9.cjs +1 -0
- package/dist/models.cjs +1 -1
- package/dist/models.d.ts +28 -1
- package/dist/models.js +263 -2244
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +198 -205
- package/dist/types/watch.d.ts +4 -5
- package/package.json +17 -13
- package/LICENSE +0 -661
- package/dist/Client-07zrOerN.js +0 -636
- package/dist/Client-CLvQWnuz.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 -48
- 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 Bt=Object.defineProperty;var Kt=(i,e,s)=>e in i?Bt(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 r=require("./index-D_aIcqH0.cjs");class U{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=Lt;let n=typeof e=="string"?JSON.parse(e):e;return"settings"in n&&(n.settings=s(n.settings)),new U(n)}}class F{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=Zt,n=Qt;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 F(a)}}class O{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=Wt;let n=typeof e=="string"?JSON.parse(e):e;return"extensions"in n&&(n.extensions=s(n.extensions)),new O(n)}}class w{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 w(s)}}var ve=(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))(ve||{});const Gt=F.createFrom,Lt=r.Map(r.Any,Gt),qt=w.createFrom,Zt=r.Array(qt),Vt=O.createFrom,Qt=r.Nullable(Vt),Wt=r.Array(r.Any),Yt=Object.freeze(Object.defineProperty({__proto__:null,Category:U,Setting:F,SettingFileSelection:O,SettingOption:w,SettingType:ve},Symbol.toStringTag,{value:"Module"}));class N{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 N(s)}}var Ae=(i=>(i.$zero="",i.PluginComponentAreaEditor="EDITOR",i.PluginComponentAreaSidebar="SIDEBAR",i))(Ae||{});class h{constructor(e={}){t(this,"resource");"resource"in e||(this.resource=[]),Object.assign(this,e)}static createFrom(e={}){const s=$t;let n=typeof e=="string"?JSON.parse(e):e;return"resource"in n&&(n.resource=s(n.resource)),new h(n)}}class T{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 T(s)}}class m{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 g),"components"in e||(this.components=new h),"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=ti,n=ni,a=H,c=H,o=H,Ht=si,Ut=ai;let l=typeof e=="string"?JSON.parse(e):e;return"author"in l&&(l.author=s(l.author)),"maintainers"in l&&(l.maintainers=n(l.maintainers)),"tags"in l&&(l.tags=a(l.tags)),"dependencies"in l&&(l.dependencies=c(l.dependencies)),"capabilities"in l&&(l.capabilities=o(l.capabilities)),"theme"in l&&(l.theme=Ht(l.theme)),"components"in l&&(l.components=Ut(l.components)),new m(l)}}class v{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=H;let n=typeof e=="string"?JSON.parse(e):e;return"resources"in n&&(n.resources=s(n.resources)),new v(n)}}class g{constructor(e={}){t(this,"colors");"colors"in e||(this.colors=new y),Object.assign(this,e)}static createFrom(e={}){const s=ri;let n=typeof e=="string"?JSON.parse(e):e;return"colors"in n&&(n.colors=s(n.colors)),new g(n)}}class y{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 y(s)}}const Xt=v.createFrom,$t=r.Array(Xt),ei=N.createFrom,ti=r.Nullable(ei),ii=T.createFrom,ni=r.Array(ii),H=r.Array(r.Any),si=g.createFrom,ai=h.createFrom,ri=y.createFrom,ci=Object.freeze(Object.defineProperty({__proto__:null,PluginAuthor:N,PluginComponentArea:Ae,PluginComponents:h,PluginMaintainer:T,PluginMeta:m,PluginResourceComponent:v,PluginTheme:g,PluginThemeColors:y},Symbol.toStringTag,{value:"Module"}));class B{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=ht;let n=typeof e=="string"?JSON.parse(e):e;return"tags"in n&&(n.tags=s(n.tags)),new B(n)}}class K{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 K(s)}}class G{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=li;let n=typeof e=="string"?JSON.parse(e):e;return"daily_stats"in n&&(n.daily_stats=s(n.daily_stats)),new G(n)}}class L{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 L(s)}}class q{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=ht;let n=typeof e=="string"?JSON.parse(e):e;return"capabilities"in n&&(n.capabilities=s(n.capabilities)),new q(n)}}const ht=r.Array(r.Any),oi=K.createFrom,li=r.Array(oi),pi=Object.freeze(Object.defineProperty({__proto__:null,AvailablePlugin:B,DailyStat:K,DownloadStats:G,Review:L,VersionInfo:q},Symbol.toStringTag,{value:"Module"}));var _=(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))(_||{});const di=Object.freeze(Object.defineProperty({__proto__:null,Duration:_},Symbol.toStringTag,{value:"Module"}));var mt=(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))(mt||{});class Z{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 A),"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=_.$zero),"Client"in e||(this.Client=null),Object.assign(this,e)}static createFrom(e={}){const s=ft,n=ft,a=fi;let c=typeof e=="string"?JSON.parse(e):e;return"data"in c&&(c.data=s(c.data)),"labels"in c&&(c.labels=n(c.labels)),"lifecycle"in c&&(c.lifecycle=a(c.lifecycle)),new Z(c)}}class V{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=hi;let n=typeof e=="string"?JSON.parse(e):e;return"triggers"in n&&(n.triggers=s(n.triggers)),new V(n)}}var gt=(i=>(i.$zero="",i.ConnectionAutoConnectRetryNone="NONE",i.ConnectionAutoConnectRetryOnChange="ON_CHANGE",i))(gt||{}),yt=(i=>(i.$zero="",i.ConnectionAutoConnectTriggerPluginStart="PLUGIN_START",i.ConnectionAutoConnectTriggerConnectionDiscovered="CONNECTION_DISCOVERED",i))(yt||{});class A{constructor(e={}){t(this,"auto_connect");Object.assign(this,e)}static createFrom(e={}){const s=gi;let n=typeof e=="string"?JSON.parse(e):e;return"auto_connect"in n&&(n.auto_connect=s(n.auto_connect)),new A(n)}}class je{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=_i;let n=typeof e=="string"?JSON.parse(e):e;return"connection"in n&&(n.connection=s(n.connection)),new je(n)}}var _t=(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))(_t||{});class Je{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 m),"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=bi,n=ui;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 Je(a)}}const ft=r.Map(r.Any,r.Any),fi=A.createFrom,hi=r.Array(r.Any),mi=V.createFrom,gi=r.Nullable(mi),yi=Z.createFrom,_i=r.Nullable(yi),bi=m.createFrom,ui=r.Array(r.Any);class Ce{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 Ce(s)}}class Pe{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=At;let n=typeof e=="string"?JSON.parse(e):e;return"params"in n&&(n.params=s(n.params)),new Pe(n)}}class Ee{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=At;let n=typeof e=="string"?JSON.parse(e):e;return"data"in n&&(n.data=s(n.data)),new Ee(n)}}var bt=(i=>(i.$zero="",i.ActionScopeInstance="instance",i.ActionScopeType="type",i))(bt||{});class Q{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=u,n=Fi,a=u;let c=typeof e=="string"?JSON.parse(e):e;return"colorMap"in c&&(c.colorMap=s(c.colorMap)),"resourceLink"in c&&(c.resourceLink=n(c.resourceLink)),"valueMap"in c&&(c.valueMap=a(c.valueMap)),new Q(c)}}class Re{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 Re(s)}}class xe{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 xe(s)}}class Ie{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 Ie(s)}}class ze{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 ze(s)}}var ut=(i=>(i.$zero="",i.EdgeOutgoing="",i.EdgeIncoming="incoming",i))(ut||{});class ke{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=r.ByteSlice;let n=typeof e=="string"?JSON.parse(e):e;return"content"in n&&(n.content=s(n.content)),new ke(n)}}var St=(i=>(i.$zero="",i.SeverityNormal="normal",i.SeverityWarning="warning",i.SeverityError="error",i))(St||{});class W{constructor(e={}){t(this,"logic");t(this,"predicates");t(this,"groups");Object.assign(this,e)}static createFrom(e={}){const s=wi,n=Ni;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 W(a)}}class Me{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=Ti,n=re;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 Me(a)}}var Ft=(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))(Ft||{}),Ot=(i=>(i.$zero="",i.FilterAnd="and",i.FilterOr="or",i))(Ot||{}),wt=(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))(wt||{});class Y{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 Y(s)}}class De{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 b),Object.assign(this,e)}static createFrom(e={}){const s=vi,n=re,a=Jt,c=Ct;let o=typeof e=="string"?JSON.parse(e):e;return"filters"in o&&(o.filters=s(o.filters)),"namespaces"in o&&(o.namespaces=n(o.namespaces)),"order"in o&&(o.order=a(o.order)),"pagination"in o&&(o.pagination=c(o.pagination)),new De(o)}}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=Pt;let n=typeof e=="string"?JSON.parse(e):e;return"result"in n&&(n.result=s(n.result)),new He(n)}}class Ue{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 Ue(s)}}class Be{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 Be(s)}}class X{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 X(s)}}var Nt=(i=>(i.$zero="",i.HealthHealthy="healthy",i.HealthDegraded="degraded",i.HealthUnhealthy="unhealthy",i.HealthPending="pending",i.HealthUnknown="unknown",i))(Nt||{});class Ke{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 b),Object.assign(this,e)}static createFrom(e={}){const s=re,n=Jt,a=Ct;let c=typeof e=="string"?JSON.parse(e):e;return"namespaces"in c&&(c.namespaces=s(c.namespaces)),"order"in c&&(c.order=n(c.order)),"pagination"in c&&(c.pagination=a(c.pagination)),new Ke(c)}}class Ge{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=Pt;let n=typeof e=="string"?JSON.parse(e):e;return"result"in n&&(n.result=s(n.result)),new Ge(n)}}class ${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 $(s)}}class b{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 b(s)}}class j{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=Ji;let n=typeof e=="string"?JSON.parse(e):e;return"extractor"in n&&(n.extractor=s(n.extractor)),new j(n)}}class ee{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=u;let n=typeof e=="string"?JSON.parse(e):e;return"labelSelector"in n&&(n.labelSelector=s(n.labelSelector)),new ee(n)}}var Le=(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))(Le||{});class qe{constructor(e={}){t(this,"descriptor");t(this,"targets");"descriptor"in e||(this.descriptor=new j),"targets"in e||(this.targets=[]),Object.assign(this,e)}static createFrom(e={}){const s=Ci,n=Ei;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 qe(a)}}class Ze{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=xi;let n=typeof e=="string"?JSON.parse(e):e;return"scaleHint"in n&&(n.scaleHint=s(n.scaleHint)),new Ze(n)}}class Ve{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=zi;let n=typeof e=="string"?JSON.parse(e):e;return"columnDefs"in n&&(n.columnDefs=s(n.columnDefs)),new Ve(n)}}class Qe{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 Qe(s)}}class We{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=Di;let n=typeof e=="string"?JSON.parse(e):e;return"resources"in n&&(n.resources=s(n.resources)),new We(n)}}class Ye{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=Ui;let n=typeof e=="string"?JSON.parse(e):e;return"conditions"in n&&(n.conditions=s(n.conditions)),new Ye(n)}}class te{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=u,n=u;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 te(a)}}class ie{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 ie(s)}}class ne{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 ne(s)}}class se{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 se(s)}}var Tt=(i=>(i.$zero="",i.ScaleFew="few",i.ScaleModerate="moderate",i.ScaleMany="many",i))(Tt||{});class Xe{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 Xe(s)}}class $e{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 $e(s)}}class et{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=Bi,n=Ki,a=Li;let c=typeof e=="string"?JSON.parse(e):e;return"resources"in c&&(c.resources=s(c.resources)),"resourceCounts"in c&&(c.resourceCounts=n(c.resourceCounts)),"scope"in c&&(c.scope=a(c.scope)),new et(c)}}class ae{constructor(e={}){t(this,"partitions");Object.assign(this,e)}static createFrom(e={}){const s=re;let n=typeof e=="string"?JSON.parse(e):e;return"partitions"in n&&(n.partitions=s(n.partitions)),new ae(n)}}var vt=(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))(vt||{});class tt{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 tt(s)}}const At=r.Map(r.Any,r.Any),u=r.Map(r.Any,r.Any),Si=te.createFrom,Fi=r.Nullable(Si),Oi=Y.createFrom,wi=r.Array(Oi),jt=W.createFrom,Ni=r.Array(jt),Ti=r.Array(r.Any),re=r.Array(r.Any),vi=r.Nullable(jt),Ai=$.createFrom,Jt=r.Array(Ai),Ct=b.createFrom,Pt=r.Array(r.Any),ji=ee.createFrom,Ji=r.Nullable(ji),Ci=j.createFrom,Pi=ne.createFrom,Ei=r.Array(Pi),Ri=se.createFrom,xi=r.Nullable(Ri),Ii=Q.createFrom,zi=r.Array(Ii),ki=ie.createFrom,Mi=r.Array(ki),Di=r.Map(r.Any,Mi),Hi=X.createFrom,Ui=r.Array(Hi),Bi=r.Map(r.Any,r.Any),Ki=r.Map(r.Any,r.Any),Gi=ae.createFrom,Li=r.Nullable(Gi);let ce=class Et{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=pe,n=S;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 Et(a)}},Rt=class xt{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 ce),"default_command"in e||(this.default_command=[]),Object.assign(this,e)}static createFrom(e={}){const s=qi,n=pe;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 xt(a)}};class oe{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=S,n=S,a=pe;let c=typeof e=="string"?JSON.parse(e):e;return"labels"in c&&(c.labels=s(c.labels)),"params"in c&&(c.params=n(c.params)),"command"in c&&(c.command=a(c.command)),new oe(c)}}class le{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=S,n=S,a=Zi,c=pe;let o=typeof e=="string"?JSON.parse(e):e;return"params"in o&&(o.params=s(o.params)),"labels"in o&&(o.labels=n(o.labels)),"resource_data"in o&&(o.resource_data=a(o.resource_data)),"command"in o&&(o.command=c(o.command)),new le(o)}}const pe=r.Array(r.Any),S=r.Map(r.Any,r.Any),qi=ce.createFrom,Zi=r.Map(r.Any,r.Any),Vi=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:ce,Handler:Rt,Session:oe,SessionOptions:le},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=Qi,n=st;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 de{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 d),Object.assign(this,e)}static createFrom(e={}){const s=Wi,n=kt;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 de(a)}}let It=class zt{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=Yi;let n=typeof e=="string"?JSON.parse(e):e;return"target_builder"in n&&(n.target_builder=s(n.target_builder)),new zt(n)}};class fe{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 d),"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=kt,n=$i;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 fe(a)}}class d{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=st;let n=typeof e=="string"?JSON.parse(e):e;return"params"in n&&(n.params=s(n.params)),new d(n)}}var it=(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))(it||{});class C{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=st;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new C(n)}}var nt=(i=>(i[i.$zero=0]="$zero",i[i.StreamCommandPause=0]="StreamCommandPause",i[i.StreamCommandResume=1]="StreamCommandResume",i[i.StreamCommandClose=2]="StreamCommandClose",i))(nt||{});const Qi=r.Array(r.Any),st=r.Map(r.Any,r.Any),Wi=r.Map(r.Any,r.Any),kt=d.createFrom,Yi=J.createFrom,Xi=C.createFrom,$i=r.Array(Xi),en=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:J,CreateSessionOptions:de,Handler:It,LogSession:fe,LogSessionOptions:d,LogSessionStatus:it,LogSource:C,LogStreamCommand:nt},Symbol.toStringTag,{value:"Module"}));class P{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=_.$zero),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const s=M;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new P(n)}}class E{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 E(s)}}class R{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=M;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new R(n)}}class x{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=M;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new x(n)}}class he{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=nn;let n=typeof e=="string"?JSON.parse(e):e;return"metrics"in n&&(n.metrics=s(n.metrics)),new he(n)}}class I{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=an,n=rn;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 I(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=on,n=pn,a=fn;let c=typeof e=="string"?JSON.parse(e):e;return"time_series"in c&&(c.time_series=s(c.time_series)),"current_value"in c&&(c.current_value=n(c.current_value)),"aggregate_value"in c&&(c.aggregate_value=a(c.aggregate_value)),new z(c)}}var at=(i=>(i[i.$zero=0]="$zero",i[i.ShapeCurrent=0]="ShapeCurrent",i[i.ShapeTimeseries=1]="ShapeTimeseries",i[i.ShapeAggregate=2]="ShapeAggregate",i))(at||{}),rt=(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))(rt||{});class me{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=_.$zero),"params"in e||(this.params={}),Object.assign(this,e)}static createFrom(e={}){const s=hn,n=mn,a=M;let c=typeof e=="string"?JSON.parse(e):e;return"resource_data"in c&&(c.resource_data=s(c.resource_data)),"metric_ids"in c&&(c.metric_ids=n(c.metric_ids)),"params"in c&&(c.params=a(c.params)),new me(c)}}class ge{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=yn;let n=typeof e=="string"?JSON.parse(e):e;return"results"in n&&(n.results=s(n.results)),new ge(n)}}class k{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=bn,n=M;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 k(a)}}const M=r.Map(r.Any,r.Any),tn=I.createFrom,nn=r.Array(tn),sn=E.createFrom,an=r.Array(sn),rn=r.Array(r.Any),cn=k.createFrom,on=r.Nullable(cn),ln=R.createFrom,pn=r.Nullable(ln),dn=P.createFrom,fn=r.Nullable(dn),hn=r.Map(r.Any,r.Any),mn=r.Array(r.Any),gn=z.createFrom,yn=r.Array(gn),_n=x.createFrom,bn=r.Array(_n),un=Object.freeze(Object.defineProperty({__proto__:null,AggregateValue:P,ColorRange:E,CurrentValue:R,DataPoint:x,Handler:he,MetricDescriptor:I,MetricResult:z,MetricShape:at,MetricUnit:rt,QueryRequest:me,QueryResponse:ge,TimeSeries:k},Symbol.toStringTag,{value:"Module"}));class ye{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 ye(s)}}var ct=(i=>(i.$zero="",i.PortForwardConnectionTypeResource="RESOURCE",i.PortForwardConnectionTypeStatic="STATIC",i))(ct||{}),ot=(i=>(i.$zero="",i.PortForwardProtocolTCP="TCP",i.PortForwardProtocolUDP="UDP",i))(ot||{});class _e{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 f),"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=Ne,n=Mt;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 _e(a)}}class f{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 f(s)}}class be{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 f),"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=Ne,n=Ne,a=Mt;let c=typeof e=="string"?JSON.parse(e):e;return"labels"in c&&(c.labels=s(c.labels)),"params"in c&&(c.params=n(c.params)),"encryption"in c&&(c.encryption=a(c.encryption)),new be(c)}}var lt=(i=>(i.$zero="",i.SessionStateActive="ACTIVE",i.SessionStatePaused="PAUSED",i.SessionStateStopped="STOPPED",i.SessionStateFailed="FAILED",i))(lt||{});const Ne=r.Map(r.Any,r.Any),Mt=f.createFrom,Sn=Object.freeze(Object.defineProperty({__proto__:null,FindPortForwardSessionRequest:ye,PortForwardConnectionType:ct,PortForwardProtocol:ot,PortForwardSession:_e,PortForwardSessionEncryption:f,PortForwardSessionOptions:be,SessionState:lt},Symbol.toStringTag,{value:"Module"}));class ue{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 ue(s)}}class Se{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 Se(s)}}class Fe{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 Fe(s)}}class Oe{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 Oe(s)}}var pt=(i=>(i.$zero="",i.ResourceComponentAreaSidebar="SIDEBAR",i.ResourceComponentAreaTable="TABLE",i))(pt||{});const Fn=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponentsInput:ue,GetResourceAreaComponentInput:Se,GetResourceComponentsInput:Fe,ResourceComponent:Oe,ResourceComponentArea:pt},Symbol.toStringTag,{value:"Module"}));class we{constructor(e={}){t(this,"edge");t(this,"children");"edge"in e||(this.edge=new D),"children"in e||(this.children=[]),Object.assign(this,e)}static createFrom(e={}){const s=On,n=Dt;let a=typeof e=="string"?JSON.parse(e):e;return"edge"in a&&(a.edge=s(a.edge)),"children"in a&&(a.children=n(a.children)),new we(a)}}class dt{constructor(e={}){t(this,"root");t(this,"children");"root"in e||(this.root=new p),"children"in e||(this.children=[]),Object.assign(this,e)}static createFrom(e={}){const s=Te,n=Dt;let a=typeof e=="string"?JSON.parse(e):e;return"root"in a&&(a.root=s(a.root)),"children"in a&&(a.children=n(a.children)),new dt(a)}}class D{constructor(e={}){t(this,"source");t(this,"target");t(this,"type");t(this,"label");"source"in e||(this.source=new p),"target"in e||(this.target=new p),"type"in e||(this.type=Le.$zero),"label"in e||(this.label=""),Object.assign(this,e)}static createFrom(e={}){const s=Te,n=Te;let a=typeof e=="string"?JSON.parse(e):e;return"source"in a&&(a.source=s(a.source)),"target"in a&&(a.target=n(a.target)),new D(a)}}class p{constructor(e={}){t(this,"pluginId");t(this,"connectionId");t(this,"resourceKey");t(this,"id");t(this,"namespace");"pluginId"in e||(this.pluginId=""),"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 p(s)}}const On=D.createFrom,wn=we.createFrom,Dt=r.Array(wn),Te=p.createFrom;exports.ActionDescriptor=Ce;exports.ActionInput=Pe;exports.ActionResult=Ee;exports.ActionScope=bt;exports.ActionTargetBuilder=ce;exports.AggregateValue=P;exports.AvailablePlugin=B;exports.Capability=mt;exports.Category=U;exports.ColorRange=E;exports.ColumnDefinition=Q;exports.Connection=Z;exports.ConnectionAutoConnect=V;exports.ConnectionAutoConnectRetry=gt;exports.ConnectionAutoConnectTrigger=yt;exports.ConnectionLifecycle=A;exports.ConnectionStatus=je;exports.ConnectionStatusCode=_t;exports.CreateInput=Re;exports.CreateResult=xe;exports.CreateSessionOptions=de;exports.CurrentValue=R;exports.DataPoint=x;exports.DeleteInput=Ie;exports.DeleteResult=ze;exports.DependencyNode=we;exports.DependencyTree=dt;exports.DownloadStats=G;exports.Duration=_;exports.EdgeDirection=ut;exports.EditorSchema=ke;exports.EventSeverity=St;exports.FilterExpression=W;exports.FilterField=Me;exports.FilterFieldType=Ft;exports.FilterLogic=Ot;exports.FilterOperator=wt;exports.FilterPredicate=Y;exports.FindInput=De;exports.FindPortForwardSessionRequest=ye;exports.FindResult=He;exports.GetInput=Ue;exports.GetPluginComponentsInput=ue;exports.GetResourceAreaComponentInput=Se;exports.GetResourceComponentsInput=Fe;exports.GetResult=Be;exports.GraphEdge=D;exports.GraphNode=p;exports.Handler=Rt;exports.Handler$1=It;exports.Handler$2=he;exports.HealthCondition=X;exports.HealthStatus=Nt;exports.ListInput=Ke;exports.ListResult=Ge;exports.LogSession=fe;exports.LogSessionOptions=d;exports.LogSessionStatus=it;exports.LogSource=C;exports.LogStreamCommand=nt;exports.MetricDescriptor=I;exports.MetricResult=z;exports.MetricShape=at;exports.MetricUnit=rt;exports.OrderField=$;exports.PaginationParams=b;exports.PluginAuthor=N;exports.PluginComponentArea=Ae;exports.PluginComponents=h;exports.PluginInfo=Je;exports.PluginMaintainer=T;exports.PluginMeta=m;exports.PluginResourceComponent=v;exports.PluginTheme=g;exports.PluginThemeColors=y;exports.PortForwardConnectionType=ct;exports.PortForwardProtocol=ot;exports.PortForwardSession=_e;exports.PortForwardSessionEncryption=f;exports.PortForwardSessionOptions=be;exports.QueryRequest=me;exports.QueryResponse=ge;exports.RelationshipDescriptor=j;exports.RelationshipExtractor=ee;exports.RelationshipType=Le;exports.ResolvedRelationship=qe;exports.ResourceCapabilities=Ze;exports.ResourceComponent=Oe;exports.ResourceComponentArea=pt;exports.ResourceDefinition=Ve;exports.ResourceEvent=Qe;exports.ResourceGroup=We;exports.ResourceHealth=Ye;exports.ResourceLink=te;exports.ResourceMeta=ie;exports.ResourceRef=ne;exports.Review=L;exports.ScaleHint=se;exports.ScaleLevel=Tt;exports.Session=oe;exports.SessionOptions=le;exports.SessionState=lt;exports.Setting=F;exports.SettingFileSelection=O;exports.SettingOption=w;exports.SettingType=ve;exports.TimeSeries=k;exports.UpdateInput=Xe;exports.UpdateResult=$e;exports.VersionInfo=q;exports.WatchConnectionSummary=et;exports.WatchScope=ae;exports.WatchState=vt;exports.WatchStateEvent=tt;exports.models=ci;exports.models$1=Vi;exports.models$2=en;exports.models$3=un;exports.models$4=Sn;exports.models$5=Yt;exports.models$6=pi;exports.models$7=Fn;exports.models$8=di;
|
|
@@ -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-CHycLCM0.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;
|
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,o)=>t in r?d(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o;var n=(r,t,o)=>S(r,typeof t!="symbol"?t+"":t,o);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index-D_aIcqH0.cjs"),e=require("./models-CHycLCM0.cjs"),u=require("./legacyEnum-DkV5yRdA.cjs"),i=require("./models-DOdc96z9.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 o=C;let s=typeof t=="string"?JSON.parse(t):t;return"filters"in s&&(s.filters=o(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 o=typeof t=="string"?JSON.parse(t):t;return new a(o)}}const g=a.createFrom,C=R.Array(g),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"),y=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 o=typeof t=="string"?JSON.parse(t):t;return new c(o)}}const F=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.DependencyNode=e.DependencyNode;exports.DependencyTree=e.DependencyTree;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.GraphEdge=e.GraphEdge;exports.GraphNode=e.GraphNode;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=i.BuildError;exports.DevInfoFile=i.DevInfoFile;exports.DevProcessStatus=i.DevProcessStatus;exports.DevServerErrorPayload=i.DevServerErrorPayload;exports.DevServerLogEntry=i.LogEntry;exports.DevServerMode=i.DevServerMode;exports.DevServerState=i.DevServerState;exports.PluginLogEntry=i.LogEntry$1;exports.devserver=i.models;exports.pluginlog=i.models$1;exports.FileDialogOptions=l;exports.FileFilter=a;exports.WatchState=p;exports.resource=m;exports.types=y;exports.utils=F;
|
package/dist/models.d.ts
CHANGED
|
@@ -1 +1,28 @@
|
|
|
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 { DependencyNode, DependencyTree, GraphEdge, GraphNode, } from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models';
|
|
6
|
+
export { WatchState } from './compat/resource';
|
|
7
|
+
export { ActionTargetBuilder, Handler, Session, SessionOptions, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models';
|
|
8
|
+
export { CreateSessionOptions, LogSession, LogSessionOptions, LogSessionStatus, LogSource, LogStreamCommand, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models';
|
|
9
|
+
export { AggregateValue, ColorRange, CurrentValue, DataPoint, MetricDescriptor, MetricResult, MetricShape, MetricUnit, QueryRequest, QueryResponse, TimeSeries, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models';
|
|
10
|
+
export { FindPortForwardSessionRequest, PortForwardConnectionType, PortForwardProtocol, PortForwardSession, PortForwardSessionEncryption, PortForwardSessionOptions, SessionState, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models';
|
|
11
|
+
export * from './bindings/github.com/omniviewdev/plugin-sdk/settings/models';
|
|
12
|
+
export { BuildError, DevInfoFile, DevProcessStatus, DevServerErrorPayload, DevServerMode, DevServerState, LogEntry as DevServerLogEntry, } from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models';
|
|
13
|
+
export { LogEntry as PluginLogEntry, } from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/models';
|
|
14
|
+
export * from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/models';
|
|
15
|
+
export * as types from './compat/types';
|
|
16
|
+
export * as config from './bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models';
|
|
17
|
+
export * as exec from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models';
|
|
18
|
+
export * as logs from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models';
|
|
19
|
+
export * as metric from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models';
|
|
20
|
+
export * as networker from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models';
|
|
21
|
+
export * as resource from './compat/resource';
|
|
22
|
+
export * as settings from './bindings/github.com/omniviewdev/plugin-sdk/settings/models';
|
|
23
|
+
export * as devserver from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models';
|
|
24
|
+
export * as pluginlog from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/models';
|
|
25
|
+
export * as registry from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/models';
|
|
26
|
+
export * as ui from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/models';
|
|
27
|
+
export * as utils from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/models';
|
|
28
|
+
export * as time from './bindings/time/models';
|