@omniviewdev/runtime 0.4.1 → 0.4.2
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.js +6 -6
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +36 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +6 -0
- package/dist/graphservice-2kgAuCnt.cjs +1 -0
- package/dist/graphservice-5kuEPkCT.js +731 -0
- package/dist/hooks/resource/index.d.ts +2 -0
- package/dist/hooks/resource/useDependencyTree.d.ts +2 -2
- package/dist/hooks/resource/useRefetchOnGraphChange.d.ts +11 -0
- package/dist/hooks/resource/useRelatedResources.d.ts +2 -3
- package/dist/hooks/resource/useResourceGraph.d.ts +46 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +666 -616
- package/dist/{models-BoBl5Kgj.js → models-3V1aa9YT.js} +1 -1
- package/dist/{models-BvR5jdms.js → models-B97zjrHu.js} +391 -351
- package/dist/{models-DOdc96z9.cjs → models-BPmIMpct.cjs} +1 -1
- package/dist/models-sJV1iQbd.cjs +1 -0
- package/dist/models.cjs +1 -1
- package/dist/models.d.ts +1 -1
- package/dist/models.js +51 -49
- package/package.json +1 -1
- package/dist/graphservice-CRRwkBcy.cjs +0 -1
- package/dist/graphservice-CXr8ZCEY.js +0 -726
- package/dist/models-CHycLCM0.cjs +0 -1
|
@@ -1 +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-
|
|
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-sJV1iQbd.cjs");class n{constructor(t={}){i(this,"file");i(this,"line");i(this,"column");i(this,"message");"file"in t||(this.file=""),"line"in t||(this.line=0),"column"in t||(this.column=0),"message"in t||(this.message=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new n(r)}}class a{constructor(t={}){i(this,"pid");i(this,"protocol");i(this,"protocolVersion");i(this,"addr");i(this,"vitePort");i(this,"pluginId");i(this,"version");i(this,"startedAt");"pid"in t||(this.pid=0),"protocol"in t||(this.protocol=""),"protocolVersion"in t||(this.protocolVersion=0),"addr"in t||(this.addr=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new a(r)}}var d=(e=>(e.$zero="",e.DevProcessStatusIdle="idle",e.DevProcessStatusStarting="starting",e.DevProcessStatusBuilding="building",e.DevProcessStatusRunning="running",e.DevProcessStatusReady="ready",e.DevProcessStatusError="error",e.DevProcessStatusStopped="stopped",e))(d||{});class l{constructor(t={}){i(this,"pluginID");i(this,"errors");"pluginID"in t||(this.pluginID=""),"errors"in t||(this.errors=[]),Object.assign(this,t)}static createFrom(t={}){const r=y;let s=typeof t=="string"?JSON.parse(t):t;return"errors"in s&&(s.errors=r(s.errors)),new l(s)}}var g=(e=>(e.$zero="",e.DevServerModeIdle="idle",e.DevServerModeManaged="managed",e.DevServerModeExternal="external",e))(g||{});class o{constructor(t={}){i(this,"pluginID");i(this,"mode");i(this,"devPath");i(this,"vitePort");i(this,"viteURL");i(this,"viteStatus");i(this,"goStatus");i(this,"lastBuildDuration");i(this,"lastBuildTime");i(this,"lastError");i(this,"grpcConnected");"pluginID"in t||(this.pluginID=""),"mode"in t||(this.mode=""),"devPath"in t||(this.devPath=""),"vitePort"in t||(this.vitePort=0),"viteURL"in t||(this.viteURL=""),"viteStatus"in t||(this.viteStatus=""),"goStatus"in t||(this.goStatus=""),"lastBuildDuration"in t||(this.lastBuildDuration=u.Duration.$zero),"lastBuildTime"in t||(this.lastBuildTime=""),"lastError"in t||(this.lastError=""),"grpcConnected"in t||(this.grpcConnected=!1),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new o(r)}}let f=class m{constructor(t={}){i(this,"timestamp");i(this,"source");i(this,"level");i(this,"message");i(this,"pluginID");"timestamp"in t||(this.timestamp=""),"source"in t||(this.source=""),"level"in t||(this.level=""),"message"in t||(this.message=""),"pluginID"in t||(this.pluginID=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new m(r)}};const S=n.createFrom,y=v.Array(S),D=Object.freeze(Object.defineProperty({__proto__:null,BuildError:n,DevInfoFile:a,DevProcessStatus:d,DevServerErrorPayload:l,DevServerMode:g,DevServerState:o,LogEntry:f},Symbol.toStringTag,{value:"Module"}));class p{constructor(t={}){i(this,"timestamp");i(this,"pluginID");i(this,"source");i(this,"level");i(this,"message");"timestamp"in t||(this.timestamp=""),"pluginID"in t||(this.pluginID=""),"source"in t||(this.source=""),"level"in t||(this.level=""),"message"in t||(this.message=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new p(r)}}const I=Object.freeze(Object.defineProperty({__proto__:null,LogEntry:p},Symbol.toStringTag,{value:"Module"}));exports.BuildError=n;exports.DevInfoFile=a;exports.DevProcessStatus=d;exports.DevServerErrorPayload=l;exports.DevServerMode=g;exports.DevServerState=o;exports.LogEntry=f;exports.LogEntry$1=p;exports.models=D;exports.models$1=I;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Lt=Object.defineProperty;var qt=(i,e,s)=>e in i?Lt(i,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[e]=s;var t=(i,e,s)=>qt(i,typeof e!="symbol"?e+"":e,s);const c=require("./index-D_aIcqH0.cjs");class B{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=Vt;let n=typeof e=="string"?JSON.parse(e):e;return"settings"in n&&(n.settings=s(n.settings)),new B(n)}}class O{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=Wt,n=Xt;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 O(a)}}class w{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=$t;let n=typeof e=="string"?JSON.parse(e):e;return"extensions"in n&&(n.extensions=s(n.extensions)),new w(n)}}class N{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 N(s)}}var Ae=(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))(Ae||{});const Zt=O.createFrom,Vt=c.Map(c.Any,Zt),Qt=N.createFrom,Wt=c.Array(Qt),Yt=w.createFrom,Xt=c.Nullable(Yt),$t=c.Array(c.Any),ei=Object.freeze(Object.defineProperty({__proto__:null,Category:B,Setting:O,SettingFileSelection:w,SettingOption:N,SettingType:Ae},Symbol.toStringTag,{value:"Module"}));class T{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 T(s)}}var je=(i=>(i.$zero="",i.PluginComponentAreaEditor="EDITOR",i.PluginComponentAreaSidebar="SIDEBAR",i))(je||{});class h{constructor(e={}){t(this,"resource");"resource"in e||(this.resource=[]),Object.assign(this,e)}static createFrom(e={}){const s=ii;let n=typeof e=="string"?JSON.parse(e):e;return"resource"in n&&(n.resource=s(n.resource)),new h(n)}}class v{constructor(e={}){t(this,"name");t(this,"email");"name"in e||(this.name=""),"email"in e||(this.email=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new v(s)}}class 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=si,n=ri,a=U,r=U,o=U,Kt=ci,Gt=oi;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=r(l.dependencies)),"capabilities"in l&&(l.capabilities=o(l.capabilities)),"theme"in l&&(l.theme=Kt(l.theme)),"components"in l&&(l.components=Gt(l.components)),new m(l)}}class A{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=U;let n=typeof e=="string"?JSON.parse(e):e;return"resources"in n&&(n.resources=s(n.resources)),new A(n)}}class g{constructor(e={}){t(this,"colors");"colors"in e||(this.colors=new y),Object.assign(this,e)}static createFrom(e={}){const s=li;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 ti=A.createFrom,ii=c.Array(ti),ni=T.createFrom,si=c.Nullable(ni),ai=v.createFrom,ri=c.Array(ai),U=c.Array(c.Any),ci=g.createFrom,oi=h.createFrom,li=y.createFrom,pi=Object.freeze(Object.defineProperty({__proto__:null,PluginAuthor:T,PluginComponentArea:je,PluginComponents:h,PluginMaintainer:v,PluginMeta:m,PluginResourceComponent:A,PluginTheme:g,PluginThemeColors:y},Symbol.toStringTag,{value:"Module"}));class K{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=gt;let n=typeof e=="string"?JSON.parse(e):e;return"tags"in n&&(n.tags=s(n.tags)),new K(n)}}class G{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 G(s)}}class L{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=fi;let n=typeof e=="string"?JSON.parse(e):e;return"daily_stats"in n&&(n.daily_stats=s(n.daily_stats)),new L(n)}}class q{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 q(s)}}class Z{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=gt;let n=typeof e=="string"?JSON.parse(e):e;return"capabilities"in n&&(n.capabilities=s(n.capabilities)),new Z(n)}}const gt=c.Array(c.Any),di=G.createFrom,fi=c.Array(di),hi=Object.freeze(Object.defineProperty({__proto__:null,AvailablePlugin:K,DailyStat:G,DownloadStats:L,Review:q,VersionInfo:Z},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 mi=Object.freeze(Object.defineProperty({__proto__:null,Duration:_},Symbol.toStringTag,{value:"Module"}));var yt=(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))(yt||{});class V{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 j),"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=mt,n=mt,a=gi;let r=typeof e=="string"?JSON.parse(e):e;return"data"in r&&(r.data=s(r.data)),"labels"in r&&(r.labels=n(r.labels)),"lifecycle"in r&&(r.lifecycle=a(r.lifecycle)),new V(r)}}class Q{constructor(e={}){t(this,"enabled");t(this,"triggers");t(this,"retry");"enabled"in e||(this.enabled=!1),"triggers"in e||(this.triggers=[]),"retry"in e||(this.retry=""),Object.assign(this,e)}static createFrom(e={}){const s=yi;let n=typeof e=="string"?JSON.parse(e):e;return"triggers"in n&&(n.triggers=s(n.triggers)),new Q(n)}}var _t=(i=>(i.$zero="",i.ConnectionAutoConnectRetryNone="NONE",i.ConnectionAutoConnectRetryOnChange="ON_CHANGE",i))(_t||{}),bt=(i=>(i.$zero="",i.ConnectionAutoConnectTriggerPluginStart="PLUGIN_START",i.ConnectionAutoConnectTriggerConnectionDiscovered="CONNECTION_DISCOVERED",i))(bt||{});class j{constructor(e={}){t(this,"auto_connect");Object.assign(this,e)}static createFrom(e={}){const s=bi;let n=typeof e=="string"?JSON.parse(e):e;return"auto_connect"in n&&(n.auto_connect=s(n.auto_connect)),new j(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=Si;let n=typeof e=="string"?JSON.parse(e):e;return"connection"in n&&(n.connection=s(n.connection)),new Je(n)}}var ut=(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))(ut||{});class Ce{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=Fi,n=Oi;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 Ce(a)}}const mt=c.Map(c.Any,c.Any),gi=j.createFrom,yi=c.Array(c.Any),_i=Q.createFrom,bi=c.Nullable(_i),ui=V.createFrom,Si=c.Nullable(ui),Fi=m.createFrom,Oi=c.Array(c.Any);class Pe{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 Pe(s)}}class Ee{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=Jt;let n=typeof e=="string"?JSON.parse(e):e;return"params"in n&&(n.params=s(n.params)),new Ee(n)}}class Re{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=Jt;let n=typeof e=="string"?JSON.parse(e):e;return"data"in n&&(n.data=s(n.data)),new Re(n)}}var St=(i=>(i.$zero="",i.ActionScopeInstance="instance",i.ActionScopeType="type",i))(St||{});class W{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=Ni,a=u;let r=typeof e=="string"?JSON.parse(e):e;return"colorMap"in r&&(r.colorMap=s(r.colorMap)),"resourceLink"in r&&(r.resourceLink=n(r.resourceLink)),"valueMap"in r&&(r.valueMap=a(r.valueMap)),new W(r)}}class xe{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 xe(s)}}class Ie{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 Ie(s)}}class ze{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 ze(s)}}class ke{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 ke(s)}}var Ft=(i=>(i.$zero="",i.EdgeOutgoing="",i.EdgeIncoming="incoming",i))(Ft||{});class Me{constructor(e={}){t(this,"resourceKey");t(this,"fileMatch");t(this,"uri");t(this,"url");t(this,"content");t(this,"language");"resourceKey"in e||(this.resourceKey=""),"fileMatch"in e||(this.fileMatch=""),"uri"in e||(this.uri=""),"language"in e||(this.language=""),Object.assign(this,e)}static createFrom(e={}){const s=c.ByteSlice;let n=typeof e=="string"?JSON.parse(e):e;return"content"in n&&(n.content=s(n.content)),new Me(n)}}var Ot=(i=>(i.$zero="",i.SeverityNormal="normal",i.SeverityWarning="warning",i.SeverityError="error",i))(Ot||{});class Y{constructor(e={}){t(this,"logic");t(this,"predicates");t(this,"groups");Object.assign(this,e)}static createFrom(e={}){const s=vi,n=Ai;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 Y(a)}}class De{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=ji,n=ce;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 De(a)}}var wt=(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))(wt||{}),Nt=(i=>(i.$zero="",i.FilterAnd="and",i.FilterOr="or",i))(Nt||{}),Tt=(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))(Tt||{});class X{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 X(s)}}class He{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=Ji,n=ce,a=Pt,r=Et;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=r(o.pagination)),new He(o)}}class Ue{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=Rt;let n=typeof e=="string"?JSON.parse(e):e;return"result"in n&&(n.result=s(n.result)),new Ue(n)}}class Be{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 Be(s)}}class Ke{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 Ke(s)}}class ${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 $(s)}}var vt=(i=>(i.$zero="",i.HealthHealthy="healthy",i.HealthDegraded="degraded",i.HealthUnhealthy="unhealthy",i.HealthPending="pending",i.HealthUnknown="unknown",i))(vt||{});class Ge{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=ce,n=Pt,a=Et;let r=typeof e=="string"?JSON.parse(e):e;return"namespaces"in r&&(r.namespaces=s(r.namespaces)),"order"in r&&(r.order=n(r.order)),"pagination"in r&&(r.pagination=a(r.pagination)),new Ge(r)}}class Le{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=Rt;let n=typeof e=="string"?JSON.parse(e):e;return"result"in n&&(n.result=s(n.result)),new Le(n)}}class ee{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 ee(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=Ei;let n=typeof e=="string"?JSON.parse(e):e;return"extractor"in n&&(n.extractor=s(n.extractor)),new J(n)}}class te{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 te(n)}}var qe=(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))(qe||{});class Ze{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=Ri,n=Ii;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 Ze(a)}}class Ve{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=ki;let n=typeof e=="string"?JSON.parse(e):e;return"scaleHint"in n&&(n.scaleHint=s(n.scaleHint)),new Ve(n)}}class Qe{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=Di;let n=typeof e=="string"?JSON.parse(e):e;return"columnDefs"in n&&(n.columnDefs=s(n.columnDefs)),new Qe(n)}}class We{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 We(s)}}class Ye{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=Bi;let n=typeof e=="string"?JSON.parse(e):e;return"resources"in n&&(n.resources=s(n.resources)),new Ye(n)}}class Xe{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=Gi;let n=typeof e=="string"?JSON.parse(e):e;return"conditions"in n&&(n.conditions=s(n.conditions)),new Xe(n)}}class ie{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 ie(a)}}class ne{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 ne(s)}}class se{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 se(s)}}class ae{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 ae(s)}}var At=(i=>(i.$zero="",i.ScaleFew="few",i.ScaleModerate="moderate",i.ScaleMany="many",i))(At||{});class $e{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 $e(s)}}class et{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 et(s)}}class tt{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=Li,n=qi,a=Vi;let r=typeof e=="string"?JSON.parse(e):e;return"resources"in r&&(r.resources=s(r.resources)),"resourceCounts"in r&&(r.resourceCounts=n(r.resourceCounts)),"scope"in r&&(r.scope=a(r.scope)),new tt(r)}}class re{constructor(e={}){t(this,"partitions");Object.assign(this,e)}static createFrom(e={}){const s=ce;let n=typeof e=="string"?JSON.parse(e):e;return"partitions"in n&&(n.partitions=s(n.partitions)),new re(n)}}var jt=(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))(jt||{});class it{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 it(s)}}const Jt=c.Map(c.Any,c.Any),u=c.Map(c.Any,c.Any),wi=ie.createFrom,Ni=c.Nullable(wi),Ti=X.createFrom,vi=c.Array(Ti),Ct=Y.createFrom,Ai=c.Array(Ct),ji=c.Array(c.Any),ce=c.Array(c.Any),Ji=c.Nullable(Ct),Ci=ee.createFrom,Pt=c.Array(Ci),Et=b.createFrom,Rt=c.Array(c.Any),Pi=te.createFrom,Ei=c.Nullable(Pi),Ri=J.createFrom,xi=se.createFrom,Ii=c.Array(xi),zi=ae.createFrom,ki=c.Nullable(zi),Mi=W.createFrom,Di=c.Array(Mi),Hi=ne.createFrom,Ui=c.Array(Hi),Bi=c.Map(c.Any,Ui),Ki=$.createFrom,Gi=c.Array(Ki),Li=c.Map(c.Any,c.Any),qi=c.Map(c.Any,c.Any),Zi=re.createFrom,Vi=c.Nullable(Zi);let oe=class xt{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=de,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 xt(a)}},It=class zt{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 oe),"default_command"in e||(this.default_command=[]),Object.assign(this,e)}static createFrom(e={}){const s=Qi,n=de;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 zt(a)}};class le{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=de;let r=typeof e=="string"?JSON.parse(e):e;return"labels"in r&&(r.labels=s(r.labels)),"params"in r&&(r.params=n(r.params)),"command"in r&&(r.command=a(r.command)),new le(r)}}class pe{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=Wi,r=de;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=r(o.command)),new pe(o)}}const de=c.Array(c.Any),S=c.Map(c.Any,c.Any),Qi=oe.createFrom,Wi=c.Map(c.Any,c.Any),Yi=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:oe,Handler:It,Session:le,SessionOptions:pe},Symbol.toStringTag,{value:"Module"}));class C{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=Xi,n=at;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 C(a)}}class fe{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=$i,n=Dt;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 fe(a)}}let kt=class Mt{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 C),Object.assign(this,e)}static createFrom(e={}){const s=en;let n=typeof e=="string"?JSON.parse(e):e;return"target_builder"in n&&(n.target_builder=s(n.target_builder)),new Mt(n)}};class he{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=Dt,n=nn;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 he(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=at;let n=typeof e=="string"?JSON.parse(e):e;return"params"in n&&(n.params=s(n.params)),new d(n)}}var nt=(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))(nt||{});class P{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=at;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new P(n)}}var st=(i=>(i[i.$zero=0]="$zero",i[i.StreamCommandPause=0]="StreamCommandPause",i[i.StreamCommandResume=1]="StreamCommandResume",i[i.StreamCommandClose=2]="StreamCommandClose",i))(st||{});const Xi=c.Array(c.Any),at=c.Map(c.Any,c.Any),$i=c.Map(c.Any,c.Any),Dt=d.createFrom,en=C.createFrom,tn=P.createFrom,nn=c.Array(tn),sn=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:C,CreateSessionOptions:fe,Handler:kt,LogSession:he,LogSessionOptions:d,LogSessionStatus:nt,LogSource:P,LogStreamCommand:st},Symbol.toStringTag,{value:"Module"}));class E{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=D;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new E(n)}}class R{constructor(e={}){t(this,"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 R(s)}}class x{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=D;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new x(n)}}class I{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=D;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new I(n)}}class me{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=rn;let n=typeof e=="string"?JSON.parse(e):e;return"metrics"in n&&(n.metrics=s(n.metrics)),new me(n)}}class z{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=on,n=ln;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 z(a)}}class k{constructor(e={}){t(this,"time_series");t(this,"current_value");t(this,"aggregate_value");Object.assign(this,e)}static createFrom(e={}){const s=dn,n=hn,a=gn;let r=typeof e=="string"?JSON.parse(e):e;return"time_series"in r&&(r.time_series=s(r.time_series)),"current_value"in r&&(r.current_value=n(r.current_value)),"aggregate_value"in r&&(r.aggregate_value=a(r.aggregate_value)),new k(r)}}var rt=(i=>(i[i.$zero=0]="$zero",i[i.ShapeCurrent=0]="ShapeCurrent",i[i.ShapeTimeseries=1]="ShapeTimeseries",i[i.ShapeAggregate=2]="ShapeAggregate",i))(rt||{}),ct=(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))(ct||{});class ge{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=yn,n=_n,a=D;let r=typeof e=="string"?JSON.parse(e):e;return"resource_data"in r&&(r.resource_data=s(r.resource_data)),"metric_ids"in r&&(r.metric_ids=n(r.metric_ids)),"params"in r&&(r.params=a(r.params)),new ge(r)}}class ye{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=un;let n=typeof e=="string"?JSON.parse(e):e;return"results"in n&&(n.results=s(n.results)),new ye(n)}}class M{constructor(e={}){t(this,"metric_id");t(this,"data_points");t(this,"labels");"metric_id"in e||(this.metric_id=""),"data_points"in e||(this.data_points=[]),"labels"in e||(this.labels={}),Object.assign(this,e)}static createFrom(e={}){const s=Fn,n=D;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 M(a)}}const D=c.Map(c.Any,c.Any),an=z.createFrom,rn=c.Array(an),cn=R.createFrom,on=c.Array(cn),ln=c.Array(c.Any),pn=M.createFrom,dn=c.Nullable(pn),fn=x.createFrom,hn=c.Nullable(fn),mn=E.createFrom,gn=c.Nullable(mn),yn=c.Map(c.Any,c.Any),_n=c.Array(c.Any),bn=k.createFrom,un=c.Array(bn),Sn=I.createFrom,Fn=c.Array(Sn),On=Object.freeze(Object.defineProperty({__proto__:null,AggregateValue:E,ColorRange:R,CurrentValue:x,DataPoint:I,Handler:me,MetricDescriptor:z,MetricResult:k,MetricShape:rt,MetricUnit:ct,QueryRequest:ge,QueryResponse:ye,TimeSeries:M},Symbol.toStringTag,{value:"Module"}));class _e{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 _e(s)}}var ot=(i=>(i.$zero="",i.PortForwardConnectionTypeResource="RESOURCE",i.PortForwardConnectionTypeStatic="STATIC",i))(ot||{}),lt=(i=>(i.$zero="",i.PortForwardProtocolTCP="TCP",i.PortForwardProtocolUDP="UDP",i))(lt||{});class be{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=ve,n=Ht;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 be(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 ue{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=ve,n=ve,a=Ht;let r=typeof e=="string"?JSON.parse(e):e;return"labels"in r&&(r.labels=s(r.labels)),"params"in r&&(r.params=n(r.params)),"encryption"in r&&(r.encryption=a(r.encryption)),new ue(r)}}var pt=(i=>(i.$zero="",i.SessionStateActive="ACTIVE",i.SessionStatePaused="PAUSED",i.SessionStateStopped="STOPPED",i.SessionStateFailed="FAILED",i))(pt||{});const ve=c.Map(c.Any,c.Any),Ht=f.createFrom,wn=Object.freeze(Object.defineProperty({__proto__:null,FindPortForwardSessionRequest:_e,PortForwardConnectionType:ot,PortForwardProtocol:lt,PortForwardSession:be,PortForwardSessionEncryption:f,PortForwardSessionOptions:ue,SessionState:pt},Symbol.toStringTag,{value:"Module"}));class Se{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 Se(s)}}class Fe{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 Fe(s)}}class Oe{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 Oe(s)}}class we{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 we(s)}}var dt=(i=>(i.$zero="",i.ResourceComponentAreaSidebar="SIDEBAR",i.ResourceComponentAreaTable="TABLE",i))(dt||{});const Nn=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponentsInput:Se,GetResourceAreaComponentInput:Fe,GetResourceComponentsInput:Oe,ResourceComponent:we,ResourceComponentArea:dt},Symbol.toStringTag,{value:"Module"}));class Ne{constructor(e={}){t(this,"edge");t(this,"children");"edge"in e||(this.edge=new H),"children"in e||(this.children=[]),Object.assign(this,e)}static createFrom(e={}){const s=Ut,n=Bt;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 Ne(a)}}class ft{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=F,n=Bt;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 ft(a)}}class H{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=qe.$zero),"label"in e||(this.label=""),Object.assign(this,e)}static createFrom(e={}){const s=F,n=F;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 H(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)}}class ht{constructor(e={}){t(this,"root");t(this,"nodes");t(this,"edges");t(this,"truncated");"root"in e||(this.root=new p),"nodes"in e||(this.nodes=[]),"edges"in e||(this.edges=[]),"truncated"in e||(this.truncated=!1),Object.assign(this,e)}static createFrom(e={}){const s=F,n=An,a=jn;let r=typeof e=="string"?JSON.parse(e):e;return"root"in r&&(r.root=s(r.root)),"nodes"in r&&(r.nodes=n(r.nodes)),"edges"in r&&(r.edges=a(r.edges)),new ht(r)}}class Te{constructor(e={}){t(this,"node");t(this,"depth");"node"in e||(this.node=new p),"depth"in e||(this.depth=0),Object.assign(this,e)}static createFrom(e={}){const s=F;let n=typeof e=="string"?JSON.parse(e):e;return"node"in n&&(n.node=s(n.node)),new Te(n)}}const Ut=H.createFrom,Tn=Ne.createFrom,Bt=c.Array(Tn),F=p.createFrom,vn=Te.createFrom,An=c.Array(vn),jn=c.Array(Ut);exports.ActionDescriptor=Pe;exports.ActionInput=Ee;exports.ActionResult=Re;exports.ActionScope=St;exports.ActionTargetBuilder=oe;exports.AggregateValue=E;exports.AvailablePlugin=K;exports.Capability=yt;exports.Category=B;exports.ColorRange=R;exports.ColumnDefinition=W;exports.Connection=V;exports.ConnectionAutoConnect=Q;exports.ConnectionAutoConnectRetry=_t;exports.ConnectionAutoConnectTrigger=bt;exports.ConnectionLifecycle=j;exports.ConnectionStatus=Je;exports.ConnectionStatusCode=ut;exports.CreateInput=xe;exports.CreateResult=Ie;exports.CreateSessionOptions=fe;exports.CurrentValue=x;exports.DataPoint=I;exports.DeleteInput=ze;exports.DeleteResult=ke;exports.DependencyNode=Ne;exports.DependencyTree=ft;exports.DownloadStats=L;exports.Duration=_;exports.EdgeDirection=Ft;exports.EditorSchema=Me;exports.EventSeverity=Ot;exports.FilterExpression=Y;exports.FilterField=De;exports.FilterFieldType=wt;exports.FilterLogic=Nt;exports.FilterOperator=Tt;exports.FilterPredicate=X;exports.FindInput=He;exports.FindPortForwardSessionRequest=_e;exports.FindResult=Ue;exports.GetInput=Be;exports.GetPluginComponentsInput=Se;exports.GetResourceAreaComponentInput=Fe;exports.GetResourceComponentsInput=Oe;exports.GetResult=Ke;exports.GraphEdge=H;exports.GraphNode=p;exports.Handler=It;exports.Handler$1=kt;exports.Handler$2=me;exports.HealthCondition=$;exports.HealthStatus=vt;exports.ListInput=Ge;exports.ListResult=Le;exports.LogSession=he;exports.LogSessionOptions=d;exports.LogSessionStatus=nt;exports.LogSource=P;exports.LogStreamCommand=st;exports.MetricDescriptor=z;exports.MetricResult=k;exports.MetricShape=rt;exports.MetricUnit=ct;exports.OrderField=ee;exports.PaginationParams=b;exports.PluginAuthor=T;exports.PluginComponentArea=je;exports.PluginComponents=h;exports.PluginInfo=Ce;exports.PluginMaintainer=v;exports.PluginMeta=m;exports.PluginResourceComponent=A;exports.PluginTheme=g;exports.PluginThemeColors=y;exports.PortForwardConnectionType=ot;exports.PortForwardProtocol=lt;exports.PortForwardSession=be;exports.PortForwardSessionEncryption=f;exports.PortForwardSessionOptions=ue;exports.QueryRequest=ge;exports.QueryResponse=ye;exports.RelationshipDescriptor=J;exports.RelationshipExtractor=te;exports.RelationshipType=qe;exports.ResolvedRelationship=Ze;exports.ResourceCapabilities=Ve;exports.ResourceComponent=we;exports.ResourceComponentArea=dt;exports.ResourceDefinition=Qe;exports.ResourceEvent=We;exports.ResourceGroup=Ye;exports.ResourceHealth=Xe;exports.ResourceLink=ie;exports.ResourceMeta=ne;exports.ResourceRef=se;exports.Review=q;exports.ScaleHint=ae;exports.ScaleLevel=At;exports.Session=le;exports.SessionOptions=pe;exports.SessionState=pt;exports.Setting=O;exports.SettingFileSelection=w;exports.SettingOption=N;exports.SettingType=Ae;exports.Subgraph=ht;exports.SubgraphNode=Te;exports.TimeSeries=M;exports.UpdateInput=$e;exports.UpdateResult=et;exports.VersionInfo=Z;exports.WatchConnectionSummary=tt;exports.WatchScope=re;exports.WatchState=jt;exports.WatchStateEvent=it;exports.models=pi;exports.models$1=Yi;exports.models$2=sn;exports.models$3=On;exports.models$4=wn;exports.models$5=ei;exports.models$6=hi;exports.models$7=Nn;exports.models$8=mi;
|
package/dist/models.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
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
|
|
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 g=require("./index-D_aIcqH0.cjs"),e=require("./models-sJV1iQbd.cjs"),u=require("./legacyEnum-DkV5yRdA.cjs"),i=require("./models-BPmIMpct.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 R=a.createFrom,C=g.Array(R),p=u.withLegacyNames(e.WatchState,"WatchState"),h=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"})),m=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:m,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.Subgraph=e.Subgraph;exports.SubgraphNode=e.SubgraphNode;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=h;exports.types=y;exports.utils=F;
|
package/dist/models.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export * from './bindings/github.com/omniviewdev/omniview/models';
|
|
|
2
2
|
export * from './bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models';
|
|
3
3
|
export * from './bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models';
|
|
4
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';
|
|
5
|
+
export { DependencyNode, DependencyTree, GraphEdge, GraphNode, Subgraph, SubgraphNode, } from './bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models';
|
|
6
6
|
export { WatchState } from './compat/resource';
|
|
7
7
|
export { ActionTargetBuilder, Handler, Session, SessionOptions, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models';
|
|
8
8
|
export { CreateSessionOptions, LogSession, LogSessionOptions, LogSessionStatus, LogSource, LogStreamCommand, } from './bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models';
|
package/dist/models.js
CHANGED
|
@@ -2,10 +2,10 @@ var c = Object.defineProperty;
|
|
|
2
2
|
var p = (s, e, t) => e in s ? c(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
3
|
var a = (s, e, t) => p(s, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { A as u } from "./index-D2mKAO8s.js";
|
|
5
|
-
import { W as d, r as S, A as g, o as f,
|
|
6
|
-
import {
|
|
5
|
+
import { W as d, r as S, A as g, o as f, _ as m, $ as h, c as C, m as y, D as F, n as R, a0 as P, E as D, a1 as v, a2 as b, s as A, a3 as O, a4 as w, a5 as L, a6 as T, a7 as E, p as I, G as M, q as _, a8 as j, a9 as N, b as G, z as H, aa as x, ab as W, u as k, ac as z, ad as B, B as J, v as U, k as q, w as Q, l as V, t as K, ae as X, x as Y, af as Z, ag as $, ah as ee, U as ae, H as te, y as se, ai as ie, aj as ne, ak as oe, al as re, i as le, am as ce, an as pe, ao as ue, ap as de, j as Se, e as ge } from "./models-B97zjrHu.js";
|
|
6
|
+
import { at as we, ax as Le, h as Te, ay as Ee, C as Ie, az as Me, aA as _e, aq as je, X as Ne, F as Ge, b2 as He, b3 as xe, b4 as We, Y as ke, ar as ze, I as Be, K as Je, L as Ue, au as qe, av as Qe, aw as Ve, aB as Ke, aC as Xe, aD as Ye, aE as Ze, aU as $e, aV as ea, aW as aa, aX as ta, P as sa, aY as ia, aZ as na, a_ as oa, aH as ra, aI as la, O as ca, aJ as pa, a as ua, aF as da, Q as Sa, T as ga, b5 as fa, J as ma, S as ha, aK as Ca, d as ya, a$ as Fa, b0 as Ra, b1 as Pa, Z as Da, as as va, aG as ba, aL as Aa, aM as Oa, aN as wa, aO as La, aP as Ta, aR as Ea, aQ as Ia, aT as Ma, aS as _a } from "./models-B97zjrHu.js";
|
|
7
7
|
import { w as r } from "./legacyEnum-DORXlU_y.js";
|
|
8
|
-
import { B as
|
|
8
|
+
import { B as Na, a as Ga, c as Ha, d as xa, L as Wa, e as ka, D as za, b as Ba, m as Ja, f as Ua } from "./models-3V1aa9YT.js";
|
|
9
9
|
class l {
|
|
10
10
|
/** Creates a new FileDialogOptions instance. */
|
|
11
11
|
constructor(e = {}) {
|
|
@@ -49,22 +49,22 @@ class n {
|
|
|
49
49
|
return new n(t);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
const fe = n.createFrom, me = u(fe),
|
|
52
|
+
const fe = n.createFrom, me = u(fe), he = r(d, "WatchState"), De = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
53
53
|
__proto__: null,
|
|
54
54
|
ActionDescriptor: S,
|
|
55
55
|
ActionInput: g,
|
|
56
56
|
ActionResult: f,
|
|
57
57
|
ActionScope: m,
|
|
58
|
-
ColumnDefinition:
|
|
59
|
-
CreateInput:
|
|
58
|
+
ColumnDefinition: h,
|
|
59
|
+
CreateInput: C,
|
|
60
60
|
CreateResult: y,
|
|
61
61
|
DeleteInput: F,
|
|
62
62
|
DeleteResult: R,
|
|
63
63
|
EdgeDirection: P,
|
|
64
64
|
EditorSchema: D,
|
|
65
65
|
EventSeverity: v,
|
|
66
|
-
FilterExpression:
|
|
67
|
-
FilterField:
|
|
66
|
+
FilterExpression: b,
|
|
67
|
+
FilterField: A,
|
|
68
68
|
FilterFieldType: O,
|
|
69
69
|
FilterLogic: w,
|
|
70
70
|
FilterOperator: L,
|
|
@@ -74,9 +74,9 @@ const fe = n.createFrom, me = u(fe), Ce = r(d, "WatchState"), De = /* @__PURE__
|
|
|
74
74
|
GetInput: M,
|
|
75
75
|
GetResult: _,
|
|
76
76
|
HealthCondition: j,
|
|
77
|
-
HealthStatus:
|
|
78
|
-
ListInput:
|
|
79
|
-
ListResult:
|
|
77
|
+
HealthStatus: N,
|
|
78
|
+
ListInput: G,
|
|
79
|
+
ListResult: H,
|
|
80
80
|
OrderField: x,
|
|
81
81
|
PaginationParams: W,
|
|
82
82
|
RelationshipDescriptor: k,
|
|
@@ -97,9 +97,9 @@ const fe = n.createFrom, me = u(fe), Ce = r(d, "WatchState"), De = /* @__PURE__
|
|
|
97
97
|
UpdateResult: te,
|
|
98
98
|
WatchConnectionSummary: se,
|
|
99
99
|
WatchScope: ie,
|
|
100
|
-
WatchState:
|
|
100
|
+
WatchState: he,
|
|
101
101
|
WatchStateEvent: ne
|
|
102
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
102
|
+
}, Symbol.toStringTag, { value: "Module" })), Ce = r(oe, "ConnectionStatus"), ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
103
103
|
__proto__: null,
|
|
104
104
|
Capability: re,
|
|
105
105
|
Connection: le,
|
|
@@ -108,7 +108,7 @@ const fe = n.createFrom, me = u(fe), Ce = r(d, "WatchState"), De = /* @__PURE__
|
|
|
108
108
|
ConnectionAutoConnectTrigger: ue,
|
|
109
109
|
ConnectionLifecycle: de,
|
|
110
110
|
ConnectionStatus: Se,
|
|
111
|
-
ConnectionStatusCode:
|
|
111
|
+
ConnectionStatusCode: Ce,
|
|
112
112
|
PluginInfo: ge
|
|
113
113
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
114
114
|
class o {
|
|
@@ -126,7 +126,7 @@ class o {
|
|
|
126
126
|
return new o(t);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
const
|
|
129
|
+
const be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
130
130
|
__proto__: null,
|
|
131
131
|
GetLanguageInput: o
|
|
132
132
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -137,11 +137,11 @@ export {
|
|
|
137
137
|
m as ActionScope,
|
|
138
138
|
we as ActionTargetBuilder,
|
|
139
139
|
Le as AggregateValue,
|
|
140
|
-
|
|
140
|
+
Na as BuildError,
|
|
141
141
|
re as Capability,
|
|
142
142
|
Te as Category,
|
|
143
143
|
Ee as ColorRange,
|
|
144
|
-
|
|
144
|
+
h as ColumnDefinition,
|
|
145
145
|
le as Connection,
|
|
146
146
|
ce as ConnectionAutoConnect,
|
|
147
147
|
pe as ConnectionAutoConnectRetry,
|
|
@@ -149,7 +149,7 @@ export {
|
|
|
149
149
|
de as ConnectionLifecycle,
|
|
150
150
|
Se as ConnectionStatus,
|
|
151
151
|
oe as ConnectionStatusCode,
|
|
152
|
-
|
|
152
|
+
C as CreateInput,
|
|
153
153
|
y as CreateResult,
|
|
154
154
|
Ie as CreateSessionOptions,
|
|
155
155
|
Me as CurrentValue,
|
|
@@ -157,29 +157,29 @@ export {
|
|
|
157
157
|
F as DeleteInput,
|
|
158
158
|
R as DeleteResult,
|
|
159
159
|
je as DependencyNode,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
160
|
+
Ne as DependencyTree,
|
|
161
|
+
Ga as DevInfoFile,
|
|
162
|
+
Ha as DevProcessStatus,
|
|
163
|
+
xa as DevServerErrorPayload,
|
|
164
|
+
Wa as DevServerLogEntry,
|
|
165
|
+
ka as DevServerMode,
|
|
166
|
+
za as DevServerState,
|
|
167
167
|
P as EdgeDirection,
|
|
168
168
|
D as EditorSchema,
|
|
169
169
|
v as EventSeverity,
|
|
170
170
|
l as FileDialogOptions,
|
|
171
171
|
n as FileFilter,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
b as FilterExpression,
|
|
173
|
+
A as FilterField,
|
|
174
174
|
O as FilterFieldType,
|
|
175
175
|
w as FilterLogic,
|
|
176
176
|
L as FilterOperator,
|
|
177
177
|
T as FilterPredicate,
|
|
178
178
|
E as FindInput,
|
|
179
|
-
|
|
179
|
+
Ge as FindPortForwardSessionRequest,
|
|
180
180
|
I as FindResult,
|
|
181
181
|
M as GetInput,
|
|
182
|
-
|
|
182
|
+
He as GetPluginComponentsInput,
|
|
183
183
|
xe as GetResourceAreaComponentInput,
|
|
184
184
|
We as GetResourceComponentsInput,
|
|
185
185
|
_ as GetResult,
|
|
@@ -187,9 +187,9 @@ export {
|
|
|
187
187
|
ze as GraphNode,
|
|
188
188
|
Be as Handler,
|
|
189
189
|
j as HealthCondition,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
N as HealthStatus,
|
|
191
|
+
G as ListInput,
|
|
192
|
+
H as ListResult,
|
|
193
193
|
Je as LogSession,
|
|
194
194
|
Ue as LogSessionOptions,
|
|
195
195
|
qe as LogSessionStatus,
|
|
@@ -205,7 +205,7 @@ export {
|
|
|
205
205
|
ea as PluginComponentArea,
|
|
206
206
|
aa as PluginComponents,
|
|
207
207
|
ge as PluginInfo,
|
|
208
|
-
|
|
208
|
+
Ba as PluginLogEntry,
|
|
209
209
|
ta as PluginMaintainer,
|
|
210
210
|
sa as PluginMeta,
|
|
211
211
|
ia as PluginResourceComponent,
|
|
@@ -235,31 +235,33 @@ export {
|
|
|
235
235
|
$ as ScaleHint,
|
|
236
236
|
ee as ScaleLevel,
|
|
237
237
|
ma as Session,
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
ha as SessionOptions,
|
|
239
|
+
Ca as SessionState,
|
|
240
240
|
ya as Setting,
|
|
241
241
|
Fa as SettingFileSelection,
|
|
242
242
|
Ra as SettingOption,
|
|
243
243
|
Pa as SettingType,
|
|
244
|
-
Da as
|
|
244
|
+
Da as Subgraph,
|
|
245
|
+
va as SubgraphNode,
|
|
246
|
+
ba as TimeSeries,
|
|
245
247
|
ae as UpdateInput,
|
|
246
248
|
te as UpdateResult,
|
|
247
249
|
se as WatchConnectionSummary,
|
|
248
250
|
ie as WatchScope,
|
|
249
|
-
|
|
251
|
+
he as WatchState,
|
|
250
252
|
ne as WatchStateEvent,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
253
|
+
Aa as config,
|
|
254
|
+
Ja as devserver,
|
|
255
|
+
Oa as exec,
|
|
256
|
+
wa as logs,
|
|
257
|
+
La as metric,
|
|
258
|
+
Ta as networker,
|
|
259
|
+
Ua as pluginlog,
|
|
260
|
+
Ea as registry,
|
|
259
261
|
De as resource,
|
|
260
|
-
|
|
261
|
-
|
|
262
|
+
Ia as settings,
|
|
263
|
+
Ma as time,
|
|
262
264
|
ve as types,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
+
_a as ui,
|
|
266
|
+
be as utils
|
|
265
267
|
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var Ne=Object.defineProperty;var He=(e,t,r)=>t in e?Ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var a=(e,t,r)=>He(e,typeof t!="symbol"?t+"":t,r);const o=require("./index-D_aIcqH0.cjs"),u=require("./models-CHycLCM0.cjs"),n=require("./calls-DZctVyoQ.cjs");function ze(e,t){return n.ByID(3867104420,e,t).then(r=>P(r))}function We(e){return n.ByID(3795411887,e)}function Ue(){return n.ByID(1053995964).then(e=>xe(e))}function Ve(e){return n.ByID(3231741321,e).then(t=>Je(t))}function G(e){return n.ByID(2597562645,e).then(t=>b(t))}function Ee(e,t,r){return n.ByID(1481837168,e,t,r)}function Qe(e,t){return n.ByID(230212281,e,t)}function qe(){return n.ByID(2408440370).then(e=>b(e))}const P=u.Setting.createFrom,xe=o.Array(o.Any),Je=o.Map(o.Any,P),b=o.Map(o.Any,o.Any),ke=Object.freeze(Object.defineProperty({__proto__:null,GetSetting:ze,HasPlugin:We,ListPlugins:Ue,ListSettings:Ve,PluginValues:G,SetSetting:Ee,SetSettings:Qe,Values:qe},Symbol.toStringTag,{value:"Module"}));function Ke(e){return n.ByID(3150413499,e).then(t=>$(t))}function Xe(e){return n.ByID(1152913314,e).then(t=>ft(t))}function F(e){return n.ByID(111194374,e).then(t=>T(t))}function Ye(e){return n.ByID(3945933305,e)}function Ze(e){return n.ByID(2859775056,e).then(t=>R(t))}function et(e,t){return n.ByID(2209599792,e,t).then(r=>It(r))}function tt(e){return n.ByID(3963363730,e).then(t=>R(t))}function nt(){return n.ByID(2477486666).then(e=>D(e))}function rt(){return n.ByID(976517756).then(e=>D(e))}function ot(e){return n.ByID(1020548995,e).then(t=>D(t))}function ct(e,t){return n.ByID(2004740384,e,t).then(r=>D(r))}function ut(){return n.ByID(873697101).then(e=>v(e))}function it(){return n.ByID(637134283).then(e=>Tt(e))}function st(){return n.ByID(550607756).then(e=>St(e))}function at(e,t){return n.ByID(288660195,e,t).then(r=>$(r))}function yt(e){return n.ByID(1771013494,e).then(t=>$(t))}function C(e){return n.ByID(2433379724,e).then(t=>$(t))}function $t(e,t,r){return n.ByID(2783597264,e,t,r).then(c=>v(c))}function lt(e){return n.ByID(1369550929,e).then(t=>$(t))}const $=u.PluginInfo.createFrom,pt=u.DownloadStats.createFrom,ft=o.Nullable(pt),T=u.PluginMeta.createFrom,Dt=u.VersionInfo.createFrom,R=o.Array(Dt),ht=u.Review.createFrom,It=o.Array(ht),D=o.Nullable(T),Bt=u.AvailablePlugin.createFrom,v=o.Array(Bt),Tt=o.Array(T),St=o.Array($),dt=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:Ke,GetPluginDownloadStats:Xe,GetPluginMeta:F,GetPluginReadme:Ye,GetPluginReleaseHistory:Ze,GetPluginReviews:et,GetPluginVersions:tt,InstallFromPathPrompt:nt,InstallInDevMode:rt,InstallPluginFromPath:ot,InstallPluginVersion:ct,ListAvailablePlugins:ut,ListPluginMetas:it,ListPlugins:st,LoadPlugin:at,ReloadPlugin:yt,RetryFailedPlugin:C,SearchPlugins:$t,UninstallPlugin:lt},Symbol.toStringTag,{value:"Module"}));function gt(e){return n.ByID(122243240,e)}function mt(){return n.ByID(269082212).then(e=>Nt(e))}function At(e){return n.ByID(1421156656,e).then(t=>S(t))}function Gt(e){return n.ByID(3143996982,e).then(t=>w(t))}function Pt(e){return n.ByID(1695819138,e)}function bt(e){return n.ByID(1827194808,e).then(t=>Ht(t))}function Ft(e){return n.ByID(72059321,e)}function Ct(e){return n.ByID(62418781,e).then(t=>zt(t))}function Rt(e){return n.ByID(2222012564,e).then(t=>Wt(t))}function vt(e){return n.ByID(2753368941,e)}function _t(e){return n.ByID(3825211425,e)}function wt(e){return n.ByID(2121298005,e).then(t=>Ut(t))}function Lt(){return n.ByID(3038957305).then(e=>f(e))}function Mt(){return n.ByID(3369612893)}function Ot(e,t){return n.ByID(252556992,e,t)}function jt(e){return n.ByID(1704369097,e)}function _(){return n.ByID(2936263106).then(e=>w(e))}const S=u.Category.createFrom,Nt=o.Array(S),w=o.Map(o.Any,o.Any),Ht=o.Array(o.Any),zt=o.Array(o.Any),Wt=u.Setting.createFrom,Ut=o.Array(o.Any);var f=function e(...t){return f===e&&(f=Vt),f(...t)};const Vt=o.Map(o.Any,S),Et=Object.freeze(Object.defineProperty({__proto__:null,GetBool:gt,GetCategories:mt,GetCategory:At,GetCategoryValues:Gt,GetFloat:Pt,GetFloatSlice:bt,GetInt:Ft,GetIntSlice:Ct,GetSetting:Rt,GetSettingValue:vt,GetString:_t,GetStringSlice:wt,ListSettings:Lt,LoadSettings:Mt,SetSetting:Ot,SetSettings:jt,Values:_},Symbol.toStringTag,{value:"Module"}));class d{constructor(t={}){a(this,"connection");a(this,"started");a(this,"resources");a(this,"resourceCounts");a(this,"totalResources");a(this,"syncedCount");a(this,"errorCount");a(this,"lastSyncTime");"connection"in t||(this.connection=new u.Connection),"started"in t||(this.started=!1),"resources"in t||(this.resources={}),"resourceCounts"in t||(this.resourceCounts={}),"totalResources"in t||(this.totalResources=0),"syncedCount"in t||(this.syncedCount=0),"errorCount"in t||(this.errorCount=0),Object.assign(this,t)}static createFrom(t={}){const r=Qt,c=qt,i=xt;let s=typeof t=="string"?JSON.parse(t):t;return"connection"in s&&(s.connection=r(s.connection)),"resources"in s&&(s.resources=c(s.resources)),"resourceCounts"in s&&(s.resourceCounts=i(s.resourceCounts)),new d(s)}}const Qt=u.Connection.createFrom,qt=o.Map(o.Any,o.Any),xt=o.Map(o.Any,o.Any);function Jt(e,t){return n.ByID(4065522324,e,t)}function kt(e,t){return n.ByID(1688967279,e,t).then(r=>ue(r))}function L(e,t,r,c){return n.ByID(1613386605,e,t,r,c).then(i=>hn(i))}function M(e,t,r,c){return n.ByID(1477526970,e,t,r,c).then(i=>Bn(i))}function Kt(e,t,r){return n.ByID(1338477906,e,t,r)}function O(e,t,r,c,i){return n.ByID(1844283666,e,t,r,c,i).then(s=>Sn(s))}function Xt(e,t,r,c){return n.ByID(4148812394,e,t,r,c).then(i=>gn(i))}function j(e,t,r,c){return n.ByID(194970279,e,t,r,c).then(i=>An(i))}function N(e,t,r){return n.ByID(419011114,e,t,r).then(c=>Pn(c))}function H(){return n.ByID(4153677080).then(e=>Cn(e))}function z(e,t){return n.ByID(950535743,e,t).then(r=>h(r))}function W(e,t){return n.ByID(537508515,e,t).then(r=>ie(r))}function U(e,t){return n.ByID(1394342402,e,t).then(r=>vn(r))}function Yt(e,t,r){return n.ByID(1947262600,e,t,r).then(c=>wn(c))}function Zt(e,t,r,c){return n.ByID(1644192689,e,t,r,c).then(i=>Mn(i))}function en(e,t){return n.ByID(2699561690,e,t).then(r=>jn(r))}function tn(e,t){return n.ByID(1474609809,e,t).then(r=>Hn(r))}function nn(e,t){return n.ByID(4077050094,e,t).then(r=>zn(r))}function rn(e,t,r,c,i,s){return n.ByID(3171791798,e,t,r,c,i,s).then(y=>Un(y))}function on(e,t){return n.ByID(114848330,e,t).then(r=>se(r))}function V(e,t){return n.ByID(4290498491,e,t).then(r=>Vn(r))}function cn(e,t,r){return n.ByID(137675652,e,t,r)}function E(e,t){return n.ByID(2078766795,e,t).then(r=>En(r))}function Q(e,t){return n.ByID(3311395752,e,t).then(r=>Qn(r))}function q(e,t){return n.ByID(42345827,e,t).then(r=>xn(r))}function un(e){return n.ByID(854008408,e)}function sn(e,t){return n.ByID(3547410887,e,t)}function an(e,t,r){return n.ByID(3516169863,e,t,r)}function x(e,t,r,c){return n.ByID(3093409425,e,t,r,c).then(i=>kn(i))}function J(){return n.ByID(1598984489).then(e=>Kn(e))}function k(e){return n.ByID(1775572154,e).then(t=>g(t))}function yn(){return n.ByID(3217612415).then(e=>ie(e))}function $n(e){return n.ByID(2037329938,e).then(t=>g(t))}function K(e,t){return n.ByID(421198049,e,t)}function ln(e,t,r,c,i){return n.ByID(3987850310,e,t,r,c,i).then(s=>Yn(s))}function pn(e,t,r){return n.ByID(555702059,e,t,r)}function X(e,t){return n.ByID(3276991559,e,t).then(r=>ue(r))}function Y(e,t){return n.ByID(3389223006,e,t)}function Z(e,t){return n.ByID(794258089,e,t).then(r=>h(r))}function ee(e,t){return n.ByID(1661153284,e,t)}function fn(e,t,r){return n.ByID(3981374696,e,t,r)}function te(e,t,r,c,i){return n.ByID(2990116431,e,t,r,c,i)}function ne(e,t,r){return n.ByID(2856546527,e,t,r)}function re(e,t,r){return n.ByID(3710015102,e,t,r)}function oe(e,t,r,c){return n.ByID(2408192164,e,t,r,c).then(i=>er(i))}function ce(e,t){return n.ByID(2131988692,e,t).then(r=>h(r))}const ue=u.ConnectionStatus.createFrom,Dn=u.CreateResult.createFrom,hn=o.Nullable(Dn),In=u.DeleteResult.createFrom,Bn=o.Nullable(In),Tn=u.ActionResult.createFrom,Sn=o.Nullable(Tn),dn=u.FindResult.createFrom,gn=o.Nullable(dn),mn=u.GetResult.createFrom,An=o.Nullable(mn),Gn=u.ActionDescriptor.createFrom,Pn=o.Array(Gn),bn=d.createFrom,Fn=o.Array(bn),Cn=o.Map(o.Any,Fn),h=u.Connection.createFrom,ie=o.Array(o.Any),Rn=u.EditorSchema.createFrom,vn=o.Array(Rn),_n=u.FilterField.createFrom,wn=o.Array(_n),Ln=u.ResourceHealth.createFrom,Mn=o.Nullable(Ln),On=u.RelationshipDescriptor.createFrom,jn=o.Array(On),Nn=u.ResourceCapabilities.createFrom,Hn=o.Nullable(Nn),zn=u.ResourceDefinition.createFrom,Wn=u.ResourceEvent.createFrom,Un=o.Array(Wn),se=u.ResourceGroup.createFrom,Vn=o.Map(o.Any,se),ae=u.ResourceMeta.createFrom,En=o.Nullable(ae),Qn=o.Map(o.Any,ae),qn=u.WatchConnectionSummary.createFrom,xn=o.Nullable(qn),Jn=u.ListResult.createFrom,kn=o.Nullable(Jn),g=o.Array(h),Kn=o.Map(o.Any,g),Xn=u.ResolvedRelationship.createFrom,Yn=o.Array(Xn),Zn=u.UpdateResult.createFrom,er=o.Nullable(Zn),tr=Object.freeze(Object.defineProperty({__proto__:null,AddConnection:Jt,CheckConnection:kt,Create:L,Delete:M,EnsureResourceWatch:Kt,ExecuteAction:O,Find:Xt,Get:j,GetActions:N,GetAllConnectionStates:H,GetConnection:z,GetConnectionNamespaces:W,GetEditorSchemas:U,GetFilterFields:Yt,GetHealth:Zt,GetRelationships:en,GetResourceCapabilities:tn,GetResourceDefinition:nn,GetResourceEvents:rn,GetResourceGroup:on,GetResourceGroups:V,GetResourceSchema:cn,GetResourceType:E,GetResourceTypes:Q,GetWatchState:q,HasPlugin:un,HasResourceType:sn,IsResourceWatchRunning:an,List:x,ListAllConnections:J,ListConnections:k,ListPlugins:yn,LoadConnections:$n,RemoveConnection:K,ResolveRelationships:ln,RestartResourceWatch:pn,StartConnection:X,StartConnectionWatch:Y,StopConnection:Z,StopConnectionWatch:ee,StopResourceWatch:fn,StreamAction:te,SubscribeResource:ne,UnsubscribeResource:re,Update:oe,UpdateConnection:ce},Symbol.toStringTag,{value:"Module"}));function nr(e,t){return n.ByID(3653639550,e,t)}function ye(e,t){return n.ByID(851823419,e,t)}function rr(e){return n.ByID(2991415449,e).then(t=>or(t))}function $e(e,t,r){return n.ByID(2695679023,e,t,r)}const or=o.Array(o.Any),cr=Object.freeze(Object.defineProperty({__proto__:null,Delete:nr,Get:ye,Keys:rr,Set:$e},Symbol.toStringTag,{value:"Module"}));function ur(e){return n.ByID(93318075,e).then(t=>(t[0]=l(t[0]),t[1]=o.ByteSlice(t[1]),t))}function ir(e){return n.ByID(1353297556,e)}function le(e,t,r){return n.ByID(608251756,e,t,r).then(c=>l(c))}function sr(e){return n.ByID(4182196712,e).then(t=>l(t))}function ar(e){return n.ByID(3993344525,e).then(t=>l(t))}function yr(e,t){return n.ByID(1779192716,e,t).then(r=>Sr(r))}function $r(){return n.ByID(4033362541).then(e=>dr(e))}function lr(e){return n.ByID(2619212338,e).then(t=>fe(t))}function pr(e){return n.ByID(1371268636,e).then(t=>l(t))}function fr(e){return n.ByID(3881019319,e)}function Dr(){return n.ByID(3006426324).then(e=>gr(e))}function hr(){return n.ByID(265791345).then(e=>mr(e))}function Ir(e,t,r){return n.ByID(1492965384,e,t,r)}function Br(e,t){return n.ByID(486465741,e,t)}const Tr=u.Session.createFrom,l=o.Nullable(Tr),pe=u.Handler.createFrom,Sr=o.Nullable(pe),fe=o.Map(o.Any,pe),dr=o.Map(o.Any,fe),gr=o.Array(o.Any),mr=o.Array(l),Ar=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:ur,CloseSession:ir,CreateSession:le,CreateTerminal:sr,DetachSession:ar,GetHandler:yr,GetHandlers:$r,GetPluginHandlers:lr,GetSession:pr,HasPlugin:fr,ListPlugins:Dr,ListSessions:hr,ResizeSession:Ir,WriteSession:Br},Symbol.toStringTag,{value:"Module"}));function De(e){return n.ByID(2776241946,e)}function he(e,t,r){return n.ByID(1762441314,e,t,r).then(c=>I(c))}function Gr(e){return n.ByID(1474987050,e).then(t=>I(t))}function Pr(e){return n.ByID(3156347865,e).then(t=>Lr(t))}function br(e){return n.ByID(1444002509,e)}function Fr(){return n.ByID(3104582886).then(e=>Mr(e))}function Cr(){return n.ByID(2249742267).then(e=>Or(e))}function Rr(e,t){return n.ByID(1212190993,e,t)}function vr(e,t){return n.ByID(2177127885,e,t).then(r=>I(r))}const _r=u.LogSession.createFrom,I=o.Nullable(_r),wr=u.Handler$1.createFrom,Lr=o.Array(wr),Mr=o.Array(o.Any),Or=o.Array(I),jr=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:De,CreateSession:he,GetSession:Gr,GetSupportedResources:Pr,HasPlugin:br,ListPlugins:Fr,ListSessions:Cr,SendCommand:Rr,UpdateSessionOptions:vr},Symbol.toStringTag,{value:"Module"}));class m{constructor(t={}){a(this,"plugin_id");a(this,"provider_id");a(this,"name");a(this,"icon");a(this,"description");a(this,"handlers");"plugin_id"in t||(this.plugin_id=""),"provider_id"in t||(this.provider_id=""),"name"in t||(this.name=""),"icon"in t||(this.icon=""),"description"in t||(this.description=""),"handlers"in t||(this.handlers=[]),Object.assign(this,t)}static createFrom(t={}){const r=Hr;let c=typeof t=="string"?JSON.parse(t):t;return"handlers"in c&&(c.handlers=r(c.handlers)),new m(c)}}const Nr=u.Handler$2.createFrom,Hr=o.Array(Nr);function Ie(){return n.ByID(3919346639).then(e=>ge(e))}function Be(e){return n.ByID(3953821778,e).then(t=>ge(t))}function zr(e){return n.ByID(1815388456,e)}function Wr(){return n.ByID(2730149903).then(e=>Er(e))}function Ur(e,t,r){return n.ByID(3947209283,e,t,r).then(c=>me(c))}function Te(e,t,r,c,i,s,y,p,Me,Oe){return n.ByID(2480040278,e,t,r,c,i,s,y,p,Me,Oe).then(je=>qr(je))}function Se(e,t,r){return n.ByID(3738888803,e,t,r)}function de(e){return n.ByID(3994236150,e)}const Vr=m.createFrom,ge=o.Array(Vr),Er=o.Array(o.Any),Qr=u.QueryResponse.createFrom,me=o.Nullable(Qr),qr=o.Map(o.Any,me),xr=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:Ie,GetProvidersForResource:Be,HasPlugin:zr,ListPlugins:Wr,Query:Ur,QueryAll:Te,Subscribe:Se,Unsubscribe:de},Symbol.toStringTag,{value:"Module"}));function Ae(e){return n.ByID(182596922,e).then(t=>B(t))}function Ge(e,t,r){return n.ByID(981100722,e,t,r).then(c=>A(c))}function Jr(e){return n.ByID(2157304970,e).then(t=>B(t))}function kr(e){return n.ByID(650882,e).then(t=>Fe(t))}function Kr(e){return n.ByID(3624690437,e)}function Pe(){return n.ByID(2195697754).then(e=>A(e))}function Xr(){return n.ByID(167463150).then(e=>Fe(e))}function Yr(e,t){return n.ByID(2090415403,e,t).then(r=>A(r))}function be(e,t,r){return n.ByID(780445954,e,t,r).then(c=>B(c))}const Zr=u.PortForwardSession.createFrom,B=o.Nullable(Zr),A=o.Array(B),Fe=o.Array(o.Any),eo=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:Ae,FindPortForwardSessions:Ge,GetPortForwardSession:Jr,GetSupportedPortForwardTargets:kr,HasPlugin:Kr,ListAllPortForwardSessions:Pe,ListPlugins:Xr,ListPortForwardSessions:Yr,StartResourcePortForwardingSession:be},Symbol.toStringTag,{value:"Module"}));function to(e){return n.ByID(2106300110,e).then(t=>ro(t))}function Ce(e){return n.ByID(765209827,e).then(t=>oo(t))}function no(e){return n.ByID(2355436169,e).then(t=>ve(t))}const Re=u.ResourceComponent.createFrom,ve=o.Array(Re),ro=o.Map(o.Any,ve),oo=o.Nullable(Re),co=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:to,GetResourceAreaComponent:Ce,GetResourceComponents:no},Symbol.toStringTag,{value:"Module"}));function _e(e,t,r,c,i,s){return n.ByID(3749557463,e,t,r,c,i,s).then(y=>so(y))}function we(e,t,r,c,i,s,y){return n.ByID(3912521777,e,t,r,c,i,s,y).then(p=>Le(p))}function uo(e,t,r,c,i,s,y){return n.ByID(1916045973,e,t,r,c,i,s,y).then(p=>yo(p))}const io=u.DependencyTree.createFrom,so=o.Nullable(io),ao=u.GraphEdge.createFrom,Le=o.Array(ao),yo=o.Array(Le),$o=Object.freeze(Object.defineProperty({__proto__:null,GetDependencyTree:_e,GetRelated:we,GetRelationshipChain:uo},Symbol.toStringTag,{value:"Module"}));exports.ClosePortForwardSession=Ae;exports.CloseSession=De;exports.Create=L;exports.CreateSession=le;exports.CreateSession$1=he;exports.Delete=M;exports.ExecuteAction=O;exports.FindPortForwardSessions=Ge;exports.Get=ye;exports.Get$1=j;exports.GetActions=N;exports.GetAllConnectionStates=H;exports.GetConnection=z;exports.GetConnectionNamespaces=W;exports.GetDependencyTree=_e;exports.GetEditorSchemas=U;exports.GetPluginMeta=F;exports.GetProviders=Ie;exports.GetProvidersForResource=Be;exports.GetRelated=we;exports.GetResourceAreaComponent=Ce;exports.GetResourceGroups=V;exports.GetResourceType=E;exports.GetResourceTypes=Q;exports.GetWatchState=q;exports.List=x;exports.ListAllConnections=J;exports.ListAllPortForwardSessions=Pe;exports.ListConnections=k;exports.PluginValues=G;exports.QueryAll=Te;exports.RemoveConnection=K;exports.RetryFailedPlugin=C;exports.Set=$e;exports.StartConnection=X;exports.StartConnectionWatch=Y;exports.StartResourcePortForwardingSession=be;exports.StopConnection=Z;exports.StopConnectionWatch=ee;exports.StreamAction=te;exports.Subscribe=Se;exports.SubscribeResource=ne;exports.Unsubscribe=de;exports.UnsubscribeResource=re;exports.Update=oe;exports.UpdateConnection=ce;exports.Values=_;exports.graphservice=$o;exports.servicewrapper=Ar;exports.servicewrapper$1=eo;exports.servicewrapper$2=dt;exports.servicewrapper$3=tr;exports.servicewrapper$4=ke;exports.servicewrapper$5=Et;exports.servicewrapper$6=co;exports.servicewrapper$7=jr;exports.servicewrapper$8=xr;exports.servicewrapper$9=cr;
|