@omniviewdev/runtime 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.cjs +1 -1
- package/dist/api.js +16 -16
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/apperror/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/apperror/models.d.ts +58 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +25 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/servicewrapper.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/servicewrapper.d.ts +4 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +14 -0
- package/dist/{calls-BmUnjINC.js → calls-C1yoW06C.js} +60 -60
- package/dist/{calls-DZctVyoQ.cjs → calls-DUhq86Ki.cjs} +1 -1
- package/dist/context/operations/OperationsContext.d.ts +1 -1
- package/dist/errors/parseAppError.d.ts +1 -14
- package/dist/errors/types.d.ts +13 -2
- package/dist/{events-DDTGFACO.js → events-Bcx6NsMp.js} +1 -2
- package/dist/{events-BTiuwc-0.cjs → events-CtgYnKmS.cjs} +1 -1
- package/dist/graphservice-1J8q3eeL.cjs +1 -0
- package/dist/graphservice-CUg1PUsC.js +852 -0
- package/dist/hooks/resource/useEventBatcher.d.ts +4 -3
- package/dist/hooks/resource/useStreamAction.d.ts +3 -6
- package/dist/hooks/snackbar/useSnackbar.d.ts +2 -0
- package/dist/index.cjs +4 -2
- package/dist/index.js +1075 -1002
- package/dist/{models-D-vu7j83.js → models-4EtitZnM.js} +379 -361
- package/dist/models-BQsuB2Lj.cjs +1 -0
- package/dist/{models-8-4Ny_ft.cjs → models-BpVWHqlF.cjs} +1 -1
- package/dist/{models-BlTzZkmp.js → models-C5sf8GNY.js} +1 -1
- package/dist/models.cjs +1 -1
- package/dist/models.js +48 -47
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.js +3 -3
- package/package.json +3 -3
- package/dist/graphservice-Cb7rr7SB.cjs +0 -1
- package/dist/graphservice-DloOtC_7.js +0 -739
- package/dist/models-CGYstu7u.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Vt=Object.defineProperty;var Qt=(i,e,s)=>e in i?Vt(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 K{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=Yt;let n=typeof e=="string"?JSON.parse(e):e;return"settings"in n&&(n.settings=s(n.settings)),new K(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=$t,n=ti;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=ii;let n=typeof e=="string"?JSON.parse(e):e;return"extensions"in n&&(n.extensions=s(n.extensions)),new w(n)}}class v{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 v(s)}}var Je=(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))(Je||{});class G{constructor(e={}){t(this,"valid");t(this,"code");t(this,"message");"valid"in e||(this.valid=!1),"code"in e||(this.code=""),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new G(s)}}const Wt=O.createFrom,Yt=c.Map(c.Any,Wt),Xt=v.createFrom,$t=c.Array(Xt),ei=w.createFrom,ti=c.Nullable(ei),ii=c.Array(c.Any),ni=Object.freeze(Object.defineProperty({__proto__:null,Category:K,Setting:O,SettingFileSelection:w,SettingOption:v,SettingType:Je,ValidationResult:G},Symbol.toStringTag,{value:"Module"}));class N{constructor(e={}){t(this,"name");t(this,"email");t(this,"url");"name"in e||(this.name=""),"email"in e||(this.email=""),"url"in e||(this.url=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new N(s)}}var Ce=(i=>(i.$zero="",i.PluginComponentAreaEditor="EDITOR",i.PluginComponentAreaSidebar="SIDEBAR",i))(Ce||{});class h{constructor(e={}){t(this,"resource");"resource"in e||(this.resource=[]),Object.assign(this,e)}static createFrom(e={}){const s=ai;let n=typeof e=="string"?JSON.parse(e):e;return"resource"in n&&(n.resource=s(n.resource)),new h(n)}}class T{constructor(e={}){t(this,"name");t(this,"email");"name"in e||(this.name=""),"email"in e||(this.email=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new T(s)}}class m{constructor(e={}){t(this,"id");t(this,"version");t(this,"name");t(this,"icon");t(this,"icon_url");t(this,"description");t(this,"repository");t(this,"website");t(this,"category");t(this,"license");t(this,"author");t(this,"maintainers");t(this,"tags");t(this,"dependencies");t(this,"capabilities");t(this,"theme");t(this,"components");t(this,"schema_version");t(this,"sdk_protocol_version");t(this,"state_isolation");"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=ci,n=li,a=B,r=B,o=B,Lt=pi,qt=di,Zt=hi;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=Lt(l.theme)),"components"in l&&(l.components=qt(l.components)),"state_isolation"in l&&(l.state_isolation=Zt(l.state_isolation)),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=B;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=mi;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)}}class j{constructor(e={}){t(this,"schema_version");t(this,"capability");t(this,"sdk_module");t(this,"sdk_revision");t(this,"sdk_source_sha256");t(this,"binary_sha256");"schema_version"in e||(this.schema_version=0),"capability"in e||(this.capability=""),"sdk_module"in e||(this.sdk_module=""),"sdk_revision"in e||(this.sdk_revision=""),"binary_sha256"in e||(this.binary_sha256=""),Object.assign(this,e)}static createFrom(e={}){let s=typeof e=="string"?JSON.parse(e):e;return new j(s)}}const si=A.createFrom,ai=c.Array(si),ri=N.createFrom,ci=c.Nullable(ri),oi=T.createFrom,li=c.Array(oi),B=c.Array(c.Any),pi=g.createFrom,di=h.createFrom,fi=j.createFrom,hi=c.Nullable(fi),mi=y.createFrom,gi=Object.freeze(Object.defineProperty({__proto__:null,PluginAuthor:N,PluginComponentArea:Ce,PluginComponents:h,PluginMaintainer:T,PluginMeta:m,PluginResourceComponent:A,PluginTheme:g,PluginThemeColors:y,StateIsolationProvenance:j},Symbol.toStringTag,{value:"Module"}));class L{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=_t;let n=typeof e=="string"?JSON.parse(e):e;return"tags"in n&&(n.tags=s(n.tags)),new L(n)}}class q{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 q(s)}}class Z{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=_i;let n=typeof e=="string"?JSON.parse(e):e;return"daily_stats"in n&&(n.daily_stats=s(n.daily_stats)),new Z(n)}}class V{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 V(s)}}class Q{constructor(e={}){t(this,"version");t(this,"description");t(this,"changelog");t(this,"min_ide_version");t(this,"max_ide_version");t(this,"capabilities");t(this,"created_at");"version"in e||(this.version=""),"description"in e||(this.description=""),"changelog"in e||(this.changelog=""),"min_ide_version"in e||(this.min_ide_version=""),"max_ide_version"in e||(this.max_ide_version=""),"capabilities"in e||(this.capabilities=[]),"created_at"in e||(this.created_at=""),Object.assign(this,e)}static createFrom(e={}){const s=_t;let n=typeof e=="string"?JSON.parse(e):e;return"capabilities"in n&&(n.capabilities=s(n.capabilities)),new Q(n)}}const _t=c.Array(c.Any),yi=q.createFrom,_i=c.Array(yi),bi=Object.freeze(Object.defineProperty({__proto__:null,AvailablePlugin:L,DailyStat:q,DownloadStats:Z,Review:V,VersionInfo:Q},Symbol.toStringTag,{value:"Module"}));var _=(i=>(i[i.$zero=0]="$zero",i[i.minDuration=-9223372036854776e3]="minDuration",i[i.maxDuration=9223372036854776e3]="maxDuration",i[i.Nanosecond=1]="Nanosecond",i[i.Microsecond=1e3]="Microsecond",i[i.Millisecond=1e6]="Millisecond",i[i.Second=1e9]="Second",i[i.Minute=6e10]="Minute",i[i.Hour=36e11]="Hour",i))(_||{});const Si=Object.freeze(Object.defineProperty({__proto__:null,Duration:_},Symbol.toStringTag,{value:"Module"}));var bt=(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))(bt||{});class W{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=yt,n=yt,a=ui;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 W(r)}}class Y{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=Fi;let n=typeof e=="string"?JSON.parse(e):e;return"triggers"in n&&(n.triggers=s(n.triggers)),new Y(n)}}var St=(i=>(i.$zero="",i.ConnectionAutoConnectRetryNone="NONE",i.ConnectionAutoConnectRetryOnChange="ON_CHANGE",i))(St||{}),ut=(i=>(i.$zero="",i.ConnectionAutoConnectTriggerPluginStart="PLUGIN_START",i.ConnectionAutoConnectTriggerConnectionDiscovered="CONNECTION_DISCOVERED",i))(ut||{});class J{constructor(e={}){t(this,"auto_connect");Object.assign(this,e)}static createFrom(e={}){const s=wi;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 Pe{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=Ni;let n=typeof e=="string"?JSON.parse(e):e;return"connection"in n&&(n.connection=s(n.connection)),new Pe(n)}}var Ft=(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))(Ft||{});class Ee{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=Ti,n=Ai;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 Ee(a)}}const yt=c.Map(c.Any,c.Any),ui=J.createFrom,Fi=c.Array(c.Any),Oi=Y.createFrom,wi=c.Nullable(Oi),vi=W.createFrom,Ni=c.Nullable(vi),Ti=m.createFrom,Ai=c.Array(c.Any);class Re{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 Re(s)}}class Ie{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=Pt;let n=typeof e=="string"?JSON.parse(e):e;return"params"in n&&(n.params=s(n.params)),new Ie(n)}}class xe{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=Pt;let n=typeof e=="string"?JSON.parse(e):e;return"data"in n&&(n.data=s(n.data)),new xe(n)}}var Ot=(i=>(i.$zero="",i.ActionScopeInstance="instance",i.ActionScopeType="type",i))(Ot||{});class X{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=S,n=Ji,a=S;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 X(r)}}class ze{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 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)}}class Me{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 Me(s)}}class De{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 De(s)}}var wt=(i=>(i.$zero="",i.EdgeOutgoing="",i.EdgeIncoming="incoming",i))(wt||{});class He{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 He(n)}}var vt=(i=>(i.$zero="",i.SeverityNormal="normal",i.SeverityWarning="warning",i.SeverityError="error",i))(vt||{});class ${constructor(e={}){t(this,"logic");t(this,"predicates");t(this,"groups");Object.assign(this,e)}static createFrom(e={}){const s=Pi,n=Ei;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 $(a)}}class Ue{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=Ri,n=le;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 Ue(a)}}var Nt=(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))(Nt||{}),Tt=(i=>(i.$zero="",i.FilterAnd="and",i.FilterOr="or",i))(Tt||{}),At=(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))(At||{});class ee{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 ee(s)}}class Be{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=Ii,n=le,a=Rt,r=It;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 Be(o)}}class Ke{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=xt;let n=typeof e=="string"?JSON.parse(e):e;return"result"in n&&(n.result=s(n.result)),new Ke(n)}}class Ge{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 Ge(s)}}class Le{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 Le(s)}}class te{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 te(s)}}var jt=(i=>(i.$zero="",i.HealthHealthy="healthy",i.HealthDegraded="degraded",i.HealthUnhealthy="unhealthy",i.HealthPending="pending",i.HealthUnknown="unknown",i))(jt||{});class qe{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=le,n=Rt,a=It;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 qe(r)}}class Ze{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=xt;let n=typeof e=="string"?JSON.parse(e):e;return"result"in n&&(n.result=s(n.result)),new Ze(n)}}class ie{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 ie(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 C{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=ki;let n=typeof e=="string"?JSON.parse(e):e;return"extractor"in n&&(n.extractor=s(n.extractor)),new C(n)}}class ne{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=S;let n=typeof e=="string"?JSON.parse(e):e;return"labelSelector"in n&&(n.labelSelector=s(n.labelSelector)),new ne(n)}}var Ve=(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))(Ve||{});class Qe{constructor(e={}){t(this,"descriptor");t(this,"targets");"descriptor"in e||(this.descriptor=new C),"targets"in e||(this.targets=[]),Object.assign(this,e)}static createFrom(e={}){const s=Mi,n=Hi;let a=typeof e=="string"?JSON.parse(e):e;return"descriptor"in a&&(a.descriptor=s(a.descriptor)),"targets"in a&&(a.targets=n(a.targets)),new Qe(a)}}class We{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=Bi;let n=typeof e=="string"?JSON.parse(e):e;return"scaleHint"in n&&(n.scaleHint=s(n.scaleHint)),new We(n)}}class Ye{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=Gi;let n=typeof e=="string"?JSON.parse(e):e;return"columnDefs"in n&&(n.columnDefs=s(n.columnDefs)),new Ye(n)}}class Xe{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 Xe(s)}}class $e{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=Zi;let n=typeof e=="string"?JSON.parse(e):e;return"resources"in n&&(n.resources=s(n.resources)),new $e(n)}}class et{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=Qi;let n=typeof e=="string"?JSON.parse(e):e;return"conditions"in n&&(n.conditions=s(n.conditions)),new et(n)}}class se{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=S,n=S;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 se(a)}}class ae{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 ae(s)}}class re{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 re(s)}}class ce{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 ce(s)}}var Jt=(i=>(i.$zero="",i.ScaleFew="few",i.ScaleModerate="moderate",i.ScaleMany="many",i))(Jt||{});class tt{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 tt(s)}}class it{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 it(s)}}class nt{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=Wi,n=Yi,a=$i;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 nt(r)}}class oe{constructor(e={}){t(this,"partitions");Object.assign(this,e)}static createFrom(e={}){const s=le;let n=typeof e=="string"?JSON.parse(e):e;return"partitions"in n&&(n.partitions=s(n.partitions)),new oe(n)}}var Ct=(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))(Ct||{});class st{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 st(s)}}const Pt=c.Map(c.Any,c.Any),S=c.Map(c.Any,c.Any),ji=se.createFrom,Ji=c.Nullable(ji),Ci=ee.createFrom,Pi=c.Array(Ci),Et=$.createFrom,Ei=c.Array(Et),Ri=c.Array(c.Any),le=c.Array(c.Any),Ii=c.Nullable(Et),xi=ie.createFrom,Rt=c.Array(xi),It=b.createFrom,xt=c.Array(c.Any),zi=ne.createFrom,ki=c.Nullable(zi),Mi=C.createFrom,Di=re.createFrom,Hi=c.Array(Di),Ui=ce.createFrom,Bi=c.Nullable(Ui),Ki=X.createFrom,Gi=c.Array(Ki),Li=ae.createFrom,qi=c.Array(Li),Zi=c.Map(c.Any,qi),Vi=te.createFrom,Qi=c.Array(Vi),Wi=c.Map(c.Any,c.Any),Yi=c.Map(c.Any,c.Any),Xi=oe.createFrom,$i=c.Nullable(Xi);let pe=class zt{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=he,n=u;let a=typeof e=="string"?JSON.parse(e):e;return"paths"in a&&(a.paths=s(a.paths)),"selectors"in a&&(a.selectors=n(a.selectors)),new zt(a)}},kt=class Mt{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 pe),"default_command"in e||(this.default_command=[]),Object.assign(this,e)}static createFrom(e={}){const s=en,n=he;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 Mt(a)}};class de{constructor(e={}){t(this,"created_at");t(this,"labels");t(this,"params");t(this,"id");t(this,"command");t(this,"attached");"created_at"in e||(this.created_at="0001-01-01T00:00:00.000Z"),"labels"in e||(this.labels={}),"params"in e||(this.params={}),"id"in e||(this.id=""),"command"in e||(this.command=[]),"attached"in e||(this.attached=!1),Object.assign(this,e)}static createFrom(e={}){const s=u,n=u,a=he;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 de(r)}}class fe{constructor(e={}){t(this,"params");t(this,"labels");t(this,"id");t(this,"resource_plugin");t(this,"resource_key");t(this,"resource_data");t(this,"command");t(this,"tty");"params"in e||(this.params={}),"labels"in e||(this.labels={}),"id"in e||(this.id=""),"resource_plugin"in e||(this.resource_plugin=""),"resource_key"in e||(this.resource_key=""),"resource_data"in e||(this.resource_data={}),"command"in e||(this.command=[]),"tty"in e||(this.tty=!1),Object.assign(this,e)}static createFrom(e={}){const s=u,n=u,a=tn,r=he;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 fe(o)}}const he=c.Array(c.Any),u=c.Map(c.Any,c.Any),en=pe.createFrom,tn=c.Map(c.Any,c.Any),nn=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:pe,Handler:kt,Session:de,SessionOptions:fe},Symbol.toStringTag,{value:"Module"}));class P{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=sn,n=ct;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 P(a)}}class me{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=an,n=Ut;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 me(a)}}let Dt=class Ht{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 P),Object.assign(this,e)}static createFrom(e={}){const s=rn;let n=typeof e=="string"?JSON.parse(e):e;return"target_builder"in n&&(n.target_builder=s(n.target_builder)),new Ht(n)}};class ge{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=Ut,n=on;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 ge(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=ct;let n=typeof e=="string"?JSON.parse(e):e;return"params"in n&&(n.params=s(n.params)),new d(n)}}var at=(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))(at||{});class E{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=ct;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new E(n)}}var rt=(i=>(i[i.$zero=0]="$zero",i[i.StreamCommandPause=0]="StreamCommandPause",i[i.StreamCommandResume=1]="StreamCommandResume",i[i.StreamCommandClose=2]="StreamCommandClose",i))(rt||{});const sn=c.Array(c.Any),ct=c.Map(c.Any,c.Any),an=c.Map(c.Any,c.Any),Ut=d.createFrom,rn=P.createFrom,cn=E.createFrom,on=c.Array(cn),ln=Object.freeze(Object.defineProperty({__proto__:null,ActionTargetBuilder:P,CreateSessionOptions:me,Handler:Dt,LogSession:ge,LogSessionOptions:d,LogSessionStatus:at,LogSource:E,LogStreamCommand:rt},Symbol.toStringTag,{value:"Module"}));class R{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=H;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new R(n)}}class I{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 I(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=H;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new x(n)}}class z{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=H;let n=typeof e=="string"?JSON.parse(e):e;return"labels"in n&&(n.labels=s(n.labels)),new z(n)}}class ye{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=dn;let n=typeof e=="string"?JSON.parse(e):e;return"metrics"in n&&(n.metrics=s(n.metrics)),new ye(n)}}class k{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=hn,n=mn;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 k(a)}}class M{constructor(e={}){t(this,"time_series");t(this,"current_value");t(this,"aggregate_value");Object.assign(this,e)}static createFrom(e={}){const s=yn,n=bn,a=un;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 M(r)}}var ot=(i=>(i[i.$zero=0]="$zero",i[i.ShapeCurrent=0]="ShapeCurrent",i[i.ShapeTimeseries=1]="ShapeTimeseries",i[i.ShapeAggregate=2]="ShapeAggregate",i))(ot||{}),lt=(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))(lt||{});class _e{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=Fn,n=On,a=H;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 _e(r)}}class be{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=vn;let n=typeof e=="string"?JSON.parse(e):e;return"results"in n&&(n.results=s(n.results)),new be(n)}}class D{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=Tn,n=H;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 D(a)}}const H=c.Map(c.Any,c.Any),pn=k.createFrom,dn=c.Array(pn),fn=I.createFrom,hn=c.Array(fn),mn=c.Array(c.Any),gn=D.createFrom,yn=c.Nullable(gn),_n=x.createFrom,bn=c.Nullable(_n),Sn=R.createFrom,un=c.Nullable(Sn),Fn=c.Map(c.Any,c.Any),On=c.Array(c.Any),wn=M.createFrom,vn=c.Array(wn),Nn=z.createFrom,Tn=c.Array(Nn),An=Object.freeze(Object.defineProperty({__proto__:null,AggregateValue:R,ColorRange:I,CurrentValue:x,DataPoint:z,Handler:ye,MetricDescriptor:k,MetricResult:M,MetricShape:ot,MetricUnit:lt,QueryRequest:_e,QueryResponse:be,TimeSeries:D},Symbol.toStringTag,{value:"Module"}));class Se{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 Se(s)}}var pt=(i=>(i.$zero="",i.PortForwardConnectionTypeResource="RESOURCE",i.PortForwardConnectionTypeStatic="STATIC",i))(pt||{}),dt=(i=>(i.$zero="",i.PortForwardProtocolTCP="TCP",i.PortForwardProtocolUDP="UDP",i))(dt||{});class ue{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=je,n=Bt;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 ue(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 Fe{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=je,n=je,a=Bt;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 Fe(r)}}var ft=(i=>(i.$zero="",i.SessionStateActive="ACTIVE",i.SessionStatePaused="PAUSED",i.SessionStateStopped="STOPPED",i.SessionStateFailed="FAILED",i))(ft||{});const je=c.Map(c.Any,c.Any),Bt=f.createFrom,jn=Object.freeze(Object.defineProperty({__proto__:null,FindPortForwardSessionRequest:Se,PortForwardConnectionType:pt,PortForwardProtocol:dt,PortForwardSession:ue,PortForwardSessionEncryption:f,PortForwardSessionOptions:Fe,SessionState:ft},Symbol.toStringTag,{value:"Module"}));class Oe{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 Oe(s)}}class we{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 we(s)}}class ve{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 ve(s)}}class Ne{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 Ne(s)}}var ht=(i=>(i.$zero="",i.ResourceComponentAreaSidebar="SIDEBAR",i.ResourceComponentAreaTable="TABLE",i))(ht||{});const Jn=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponentsInput:Oe,GetResourceAreaComponentInput:we,GetResourceComponentsInput:ve,ResourceComponent:Ne,ResourceComponentArea:ht},Symbol.toStringTag,{value:"Module"}));class Te{constructor(e={}){t(this,"edge");t(this,"children");"edge"in e||(this.edge=new U),"children"in e||(this.children=[]),Object.assign(this,e)}static createFrom(e={}){const s=Kt,n=Gt;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 Te(a)}}class mt{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=Gt;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 mt(a)}}class U{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=Ve.$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 U(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 gt{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=En,a=Rn;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 gt(r)}}class Ae{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 Ae(n)}}const Kt=U.createFrom,Cn=Te.createFrom,Gt=c.Array(Cn),F=p.createFrom,Pn=Ae.createFrom,En=c.Array(Pn),Rn=c.Array(Kt);exports.ActionDescriptor=Re;exports.ActionInput=Ie;exports.ActionResult=xe;exports.ActionScope=Ot;exports.ActionTargetBuilder=pe;exports.AggregateValue=R;exports.AvailablePlugin=L;exports.Capability=bt;exports.Category=K;exports.ColorRange=I;exports.ColumnDefinition=X;exports.Connection=W;exports.ConnectionAutoConnect=Y;exports.ConnectionAutoConnectRetry=St;exports.ConnectionAutoConnectTrigger=ut;exports.ConnectionLifecycle=J;exports.ConnectionStatus=Pe;exports.ConnectionStatusCode=Ft;exports.CreateInput=ze;exports.CreateResult=ke;exports.CreateSessionOptions=me;exports.CurrentValue=x;exports.DataPoint=z;exports.DeleteInput=Me;exports.DeleteResult=De;exports.DependencyNode=Te;exports.DependencyTree=mt;exports.DownloadStats=Z;exports.Duration=_;exports.EdgeDirection=wt;exports.EditorSchema=He;exports.EventSeverity=vt;exports.FilterExpression=$;exports.FilterField=Ue;exports.FilterFieldType=Nt;exports.FilterLogic=Tt;exports.FilterOperator=At;exports.FilterPredicate=ee;exports.FindInput=Be;exports.FindPortForwardSessionRequest=Se;exports.FindResult=Ke;exports.GetInput=Ge;exports.GetPluginComponentsInput=Oe;exports.GetResourceAreaComponentInput=we;exports.GetResourceComponentsInput=ve;exports.GetResult=Le;exports.GraphEdge=U;exports.GraphNode=p;exports.Handler=kt;exports.Handler$1=Dt;exports.Handler$2=ye;exports.HealthCondition=te;exports.HealthStatus=jt;exports.ListInput=qe;exports.ListResult=Ze;exports.LogSession=ge;exports.LogSessionOptions=d;exports.LogSessionStatus=at;exports.LogSource=E;exports.LogStreamCommand=rt;exports.MetricDescriptor=k;exports.MetricResult=M;exports.MetricShape=ot;exports.MetricUnit=lt;exports.OrderField=ie;exports.PaginationParams=b;exports.PluginAuthor=N;exports.PluginComponentArea=Ce;exports.PluginComponents=h;exports.PluginInfo=Ee;exports.PluginMaintainer=T;exports.PluginMeta=m;exports.PluginResourceComponent=A;exports.PluginTheme=g;exports.PluginThemeColors=y;exports.PortForwardConnectionType=pt;exports.PortForwardProtocol=dt;exports.PortForwardSession=ue;exports.PortForwardSessionEncryption=f;exports.PortForwardSessionOptions=Fe;exports.QueryRequest=_e;exports.QueryResponse=be;exports.RelationshipDescriptor=C;exports.RelationshipExtractor=ne;exports.RelationshipType=Ve;exports.ResolvedRelationship=Qe;exports.ResourceCapabilities=We;exports.ResourceComponent=Ne;exports.ResourceComponentArea=ht;exports.ResourceDefinition=Ye;exports.ResourceEvent=Xe;exports.ResourceGroup=$e;exports.ResourceHealth=et;exports.ResourceLink=se;exports.ResourceMeta=ae;exports.ResourceRef=re;exports.Review=V;exports.ScaleHint=ce;exports.ScaleLevel=Jt;exports.Session=de;exports.SessionOptions=fe;exports.SessionState=ft;exports.Setting=O;exports.SettingFileSelection=w;exports.SettingOption=v;exports.SettingType=Je;exports.StateIsolationProvenance=j;exports.Subgraph=gt;exports.SubgraphNode=Ae;exports.TimeSeries=D;exports.UpdateInput=tt;exports.UpdateResult=it;exports.ValidationResult=G;exports.VersionInfo=Q;exports.WatchConnectionSummary=nt;exports.WatchScope=oe;exports.WatchState=Ct;exports.WatchStateEvent=st;exports.models=gi;exports.models$1=nn;exports.models$2=ln;exports.models$3=An;exports.models$4=jn;exports.models$5=ni;exports.models$6=bi;exports.models$7=Jn;exports.models$8=Si;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var f=Object.defineProperty;var u=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var i=(e,t,n)=>u(e,typeof t!="symbol"?t+"":t,n);const S=require("./index-D_aIcqH0.cjs"),v=require("./models-
|
|
1
|
+
"use strict";var f=Object.defineProperty;var u=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var i=(e,t,n)=>u(e,typeof t!="symbol"?t+"":t,n);const S=require("./index-D_aIcqH0.cjs"),v=require("./models-BQsuB2Lj.cjs");class r{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 n=typeof t=="string"?JSON.parse(t):t;return new r(n)}}var g=(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.DevProcessStatusNotApplicable="n/a",e))(g||{});class a{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 n=y;let s=typeof t=="string"?JSON.parse(t):t;return"errors"in s&&(s.errors=n(s.errors)),new a(s)}}var d=(e=>(e.$zero="",e.DevServerModeIdle="idle",e.DevServerModeManaged="managed",e))(d||{});class l{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");i(this,"generation");i(this,"hmrURL");i(this,"buildStatus");i(this,"rpcStatus");i(this,"controllerStatus");i(this,"ready");"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=v.Duration.$zero),"lastBuildTime"in t||(this.lastBuildTime=""),"lastError"in t||(this.lastError=""),"grpcConnected"in t||(this.grpcConnected=!1),"generation"in t||(this.generation=""),"hmrURL"in t||(this.hmrURL=""),"buildStatus"in t||(this.buildStatus=""),"rpcStatus"in t||(this.rpcStatus=""),"controllerStatus"in t||(this.controllerStatus=""),"ready"in t||(this.ready=!1),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new l(n)}}var p=(e=>(e.$zero="",e.StagePending="pending",e.StageBuilding="building",e.StageReady="ready",e.StageError="error",e.StageStopped="stopped",e.StageNotApplicable="n/a",e))(p||{});let m=class h{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 n=typeof t=="string"?JSON.parse(t):t;return new h(n)}};const c=r.createFrom,y=S.Array(c),D=Object.freeze(Object.defineProperty({__proto__:null,BuildError:r,DevProcessStatus:g,DevServerErrorPayload:a,DevServerMode:d,DevServerState:l,LifecycleStage:p,LogEntry:m},Symbol.toStringTag,{value:"Module"}));class o{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 n=typeof t=="string"?JSON.parse(t):t;return new o(n)}}const b=Object.freeze(Object.defineProperty({__proto__:null,LogEntry:o},Symbol.toStringTag,{value:"Module"}));exports.BuildError=r;exports.DevProcessStatus=g;exports.DevServerErrorPayload=a;exports.DevServerMode=d;exports.DevServerState=l;exports.LifecycleStage=p;exports.LogEntry=m;exports.LogEntry$1=o;exports.models=D;exports.models$1=b;
|
|
@@ -2,7 +2,7 @@ var f = Object.defineProperty;
|
|
|
2
2
|
var h = (e, t, n) => t in e ? f(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var i = (e, t, n) => h(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { A as u } from "./index-D2mKAO8s.js";
|
|
5
|
-
import {
|
|
5
|
+
import { b8 as S } from "./models-4EtitZnM.js";
|
|
6
6
|
class a {
|
|
7
7
|
/** Creates a new BuildError instance. */
|
|
8
8
|
constructor(t = {}) {
|
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 g=require("./index-D_aIcqH0.cjs"),e=require("./models-
|
|
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-BQsuB2Lj.cjs"),u=require("./legacyEnum-DkV5yRdA.cjs"),i=require("./models-BpVWHqlF.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.StateIsolationProvenance=e.StateIsolationProvenance;exports.Subgraph=e.Subgraph;exports.SubgraphNode=e.SubgraphNode;exports.TimeSeries=e.TimeSeries;exports.UpdateInput=e.UpdateInput;exports.UpdateResult=e.UpdateResult;exports.ValidationResult=e.ValidationResult;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.DevProcessStatus=i.DevProcessStatus;exports.DevServerErrorPayload=i.DevServerErrorPayload;exports.DevServerLogEntry=i.LogEntry;exports.DevServerMode=i.DevServerMode;exports.DevServerState=i.DevServerState;exports.LifecycleStage=i.LifecycleStage;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.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,
|
|
6
|
-
import {
|
|
5
|
+
import { W as d, s as S, A as g, p as f, $ as m, a0 as C, c as h, n as y, D as R, o as P, a1 as F, E as D, a2 as b, a3 as v, t as A, a4 as O, a5 as L, a6 as w, a7 as T, a8 as E, q as I, G as M, r as _, a9 as j, aa as N, b as G, B as H, ab as x, ac as W, v as k, ad as z, ae as B, H as J, w as U, l as V, x as q, m as Q, u as K, af as X, y as Y, ag as Z, ah as $, ai as ee, U as ae, I as te, z as se, aj as ie, ak as ne, al as oe, am as re, j as le, an as ce, ao as pe, ap as ue, aq as de, k as Se, e as ge } from "./models-4EtitZnM.js";
|
|
6
|
+
import { au as Le, ay as we, i as Te, az as Ee, C as Ie, aA as Me, aB as _e, ar as je, Y as Ne, F as Ge, b4 as He, b5 as xe, b6 as We, Z as ke, as as ze, J as Be, M as Je, L as Ue, av as Ve, aw as qe, ax as Qe, aC as Ke, aD as Xe, aE as Ye, aF as Ze, aV as $e, aW as ea, aX as aa, aY as ta, P as sa, aZ as ia, a_ as na, a$ as oa, aI as ra, aJ as la, T as ca, aK as pa, a as ua, aG as da, Q as Sa, X as ga, b7 as fa, K as ma, S as Ca, aL as ha, d as ya, b1 as Ra, b2 as Pa, b3 as Fa, b0 as Da, _ as ba, at as va, aH as Aa, V as Oa, aM as La, aN as wa, aO as Ta, aP as Ea, aQ as Ia, aS as Ma, aR as _a, aU as ja, aT as Na } from "./models-4EtitZnM.js";
|
|
7
7
|
import { w as r } from "./legacyEnum-DORXlU_y.js";
|
|
8
|
-
import { B as
|
|
8
|
+
import { B as Ha, b as xa, d as Wa, L as ka, e as za, D as Ba, c as Ja, a as Ua, m as Va, f as qa } from "./models-C5sf8GNY.js";
|
|
9
9
|
class l {
|
|
10
10
|
/** Creates a new FileDialogOptions instance. */
|
|
11
11
|
constructor(e = {}) {
|
|
@@ -49,17 +49,17 @@ 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), Ce = 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: C,
|
|
59
|
+
CreateInput: h,
|
|
60
60
|
CreateResult: y,
|
|
61
|
-
DeleteInput:
|
|
62
|
-
DeleteResult:
|
|
61
|
+
DeleteInput: R,
|
|
62
|
+
DeleteResult: P,
|
|
63
63
|
EdgeDirection: F,
|
|
64
64
|
EditorSchema: D,
|
|
65
65
|
EventSeverity: b,
|
|
@@ -84,9 +84,9 @@ const fe = n.createFrom, me = u(fe), he = r(d, "WatchState"), De = /* @__PURE__
|
|
|
84
84
|
RelationshipType: B,
|
|
85
85
|
ResolvedRelationship: J,
|
|
86
86
|
ResourceCapabilities: U,
|
|
87
|
-
ResourceDefinition:
|
|
88
|
-
ResourceEvent:
|
|
89
|
-
ResourceGroup:
|
|
87
|
+
ResourceDefinition: V,
|
|
88
|
+
ResourceEvent: q,
|
|
89
|
+
ResourceGroup: Q,
|
|
90
90
|
ResourceHealth: K,
|
|
91
91
|
ResourceLink: X,
|
|
92
92
|
ResourceMeta: Y,
|
|
@@ -97,9 +97,9 @@ const fe = n.createFrom, me = u(fe), he = r(d, "WatchState"), De = /* @__PURE__
|
|
|
97
97
|
UpdateResult: te,
|
|
98
98
|
WatchConnectionSummary: se,
|
|
99
99
|
WatchScope: ie,
|
|
100
|
-
WatchState:
|
|
100
|
+
WatchState: Ce,
|
|
101
101
|
WatchStateEvent: ne
|
|
102
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
102
|
+
}, Symbol.toStringTag, { value: "Module" })), he = r(oe, "ConnectionStatus"), be = /* @__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), he = r(d, "WatchState"), De = /* @__PURE__
|
|
|
108
108
|
ConnectionAutoConnectTrigger: ue,
|
|
109
109
|
ConnectionLifecycle: de,
|
|
110
110
|
ConnectionStatus: Se,
|
|
111
|
-
ConnectionStatusCode:
|
|
111
|
+
ConnectionStatusCode: he,
|
|
112
112
|
PluginInfo: ge
|
|
113
113
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
114
114
|
class o {
|
|
@@ -137,11 +137,11 @@ export {
|
|
|
137
137
|
m as ActionScope,
|
|
138
138
|
Le as ActionTargetBuilder,
|
|
139
139
|
we as AggregateValue,
|
|
140
|
-
|
|
140
|
+
Ha as BuildError,
|
|
141
141
|
re as Capability,
|
|
142
142
|
Te as Category,
|
|
143
143
|
Ee as ColorRange,
|
|
144
|
-
|
|
144
|
+
C as ColumnDefinition,
|
|
145
145
|
le as Connection,
|
|
146
146
|
ce as ConnectionAutoConnect,
|
|
147
147
|
pe as ConnectionAutoConnectRetry,
|
|
@@ -149,20 +149,20 @@ export {
|
|
|
149
149
|
de as ConnectionLifecycle,
|
|
150
150
|
Se as ConnectionStatus,
|
|
151
151
|
oe as ConnectionStatusCode,
|
|
152
|
-
|
|
152
|
+
h as CreateInput,
|
|
153
153
|
y as CreateResult,
|
|
154
154
|
Ie as CreateSessionOptions,
|
|
155
155
|
Me as CurrentValue,
|
|
156
156
|
_e as DataPoint,
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
R as DeleteInput,
|
|
158
|
+
P as DeleteResult,
|
|
159
159
|
je as DependencyNode,
|
|
160
160
|
Ne as DependencyTree,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
161
|
+
xa as DevProcessStatus,
|
|
162
|
+
Wa as DevServerErrorPayload,
|
|
163
|
+
ka as DevServerLogEntry,
|
|
164
|
+
za as DevServerMode,
|
|
165
|
+
Ba as DevServerState,
|
|
166
166
|
F as EdgeDirection,
|
|
167
167
|
D as EditorSchema,
|
|
168
168
|
b as EventSeverity,
|
|
@@ -187,14 +187,14 @@ export {
|
|
|
187
187
|
Be as Handler,
|
|
188
188
|
j as HealthCondition,
|
|
189
189
|
N as HealthStatus,
|
|
190
|
-
|
|
190
|
+
Ja as LifecycleStage,
|
|
191
191
|
G as ListInput,
|
|
192
192
|
H as ListResult,
|
|
193
193
|
Je as LogSession,
|
|
194
194
|
Ue as LogSessionOptions,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
195
|
+
Ve as LogSessionStatus,
|
|
196
|
+
qe as LogSource,
|
|
197
|
+
Qe as LogStreamCommand,
|
|
198
198
|
Ke as MetricDescriptor,
|
|
199
199
|
Xe as MetricResult,
|
|
200
200
|
Ye as MetricShape,
|
|
@@ -205,7 +205,7 @@ export {
|
|
|
205
205
|
ea as PluginComponentArea,
|
|
206
206
|
aa as PluginComponents,
|
|
207
207
|
ge as PluginInfo,
|
|
208
|
-
|
|
208
|
+
Ua as PluginLogEntry,
|
|
209
209
|
ta as PluginMaintainer,
|
|
210
210
|
sa as PluginMeta,
|
|
211
211
|
ia as PluginResourceComponent,
|
|
@@ -225,9 +225,9 @@ export {
|
|
|
225
225
|
U as ResourceCapabilities,
|
|
226
226
|
ga as ResourceComponent,
|
|
227
227
|
fa as ResourceComponentArea,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
V as ResourceDefinition,
|
|
229
|
+
q as ResourceEvent,
|
|
230
|
+
Q as ResourceGroup,
|
|
231
231
|
K as ResourceHealth,
|
|
232
232
|
X as ResourceLink,
|
|
233
233
|
Y as ResourceMeta,
|
|
@@ -235,11 +235,11 @@ export {
|
|
|
235
235
|
$ as ScaleHint,
|
|
236
236
|
ee as ScaleLevel,
|
|
237
237
|
ma as Session,
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
Ca as SessionOptions,
|
|
239
|
+
ha as SessionState,
|
|
240
240
|
ya as Setting,
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
Ra as SettingFileSelection,
|
|
242
|
+
Pa as SettingOption,
|
|
243
243
|
Fa as SettingType,
|
|
244
244
|
Da as StateIsolationProvenance,
|
|
245
245
|
ba as Subgraph,
|
|
@@ -247,22 +247,23 @@ export {
|
|
|
247
247
|
Aa as TimeSeries,
|
|
248
248
|
ae as UpdateInput,
|
|
249
249
|
te as UpdateResult,
|
|
250
|
+
Oa as ValidationResult,
|
|
250
251
|
se as WatchConnectionSummary,
|
|
251
252
|
ie as WatchScope,
|
|
252
|
-
|
|
253
|
+
Ce as WatchState,
|
|
253
254
|
ne as WatchStateEvent,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
255
|
+
La as config,
|
|
256
|
+
Va as devserver,
|
|
257
|
+
wa as exec,
|
|
258
|
+
Ta as logs,
|
|
259
|
+
Ea as metric,
|
|
260
|
+
Ia as networker,
|
|
260
261
|
qa as pluginlog,
|
|
261
|
-
|
|
262
|
+
Ma as registry,
|
|
262
263
|
De as resource,
|
|
263
|
-
|
|
264
|
-
|
|
264
|
+
_a as settings,
|
|
265
|
+
ja as time,
|
|
265
266
|
be as types,
|
|
266
|
-
|
|
267
|
+
Na as ui,
|
|
267
268
|
ve as utils
|
|
268
269
|
};
|
package/dist/runtime.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-D_aIcqH0.cjs"),d=require("./events-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-D_aIcqH0.cjs"),d=require("./events-CtgYnKmS.cjs"),A=require("./calls-DUhq86Ki.cjs"),w=n.newRuntimeCaller(n.objectNames.Application),_=0,M=1,C=2;function j(){return w(_)}function O(){return w(M)}function W(){return w(C)}const T=Object.freeze(Object.defineProperty({__proto__:null,Hide:j,Quit:W,Show:O},Symbol.toStringTag,{value:"Module"})),p=n.newRuntimeCaller(n.objectNames.Clipboard),D=0,E=1;function R(t){return p(D,{text:t})}function L(){return p(E)}const x=Object.freeze(Object.defineProperty({__proto__:null,SetText:R,Text:L},Symbol.toStringTag,{value:"Module"}));n.hasDOM&&(window._wails=window._wails||{});const P=n.newRuntimeCaller(n.objectNames.Dialog),I=0,B=1,G=2,k=3,q=4,z=5;function s(t,e={}){return P(t,e)}function F(t){return s(I,t)}function $(t){return s(B,t)}function Q(t){return s(G,t)}function y(t){return s(k,t)}function N(t){var e;return(e=s(q,t))!==null&&e!==void 0?e:[]}function Y(t){return s(z,t)}const H=Object.freeze(Object.defineProperty({__proto__:null,Error:Q,Info:F,OpenFile:N,Question:y,SaveFile:Y,Warning:$},Symbol.toStringTag,{value:"Module"})),u=n.newRuntimeCaller(n.objectNames.Screens),U=0,J=1,K=2,V=3,X=4;function Z(){return u(U)}function tt(){return u(J)}function et(){return u(K)}function nt(t){return u(V,{id:t})}function ot(t){return u(X,{index:t})}const rt=Object.freeze(Object.defineProperty({__proto__:null,GetAll:Z,GetByID:nt,GetByIndex:ot,GetCurrent:et,GetPrimary:tt},Symbol.toStringTag,{value:"Module"}));function it(t,e=null){d.Emit(t,e)}function lt(t,e){const o=n.thisWindow.Get(t),r=o[e];if(typeof r!="function"){console.error(`Window method '${e}' not found`);return}try{r.call(o)}catch(i){console.error(`Error calling window method '${e}': `,i)}}function h(t){const e=t.currentTarget;function o(i="Yes"){if(i!=="Yes")return;const a=e.getAttribute("wml-event")||e.getAttribute("data-wml-event"),f=e.getAttribute("wml-target-window")||e.getAttribute("data-wml-target-window")||"",b=e.getAttribute("wml-window")||e.getAttribute("data-wml-window"),m=e.getAttribute("wml-openurl")||e.getAttribute("data-wml-openurl");a!==null&&it(a),b!==null&<(f,b),m!==null&&d.OpenURL(m)}const r=e.getAttribute("wml-confirm")||e.getAttribute("data-wml-confirm");r?y({Title:"Confirm",Message:r,Detached:!1,Buttons:[{Label:"Yes"},{Label:"No",IsDefault:!0}]}).then(o):o()}const g=Symbol("controller"),c=Symbol("triggerMap"),l=Symbol("elementCount");class st{constructor(){this[g]=new AbortController}set(e,o){return{signal:this[g].signal}}reset(){this[g].abort(),this[g]=new AbortController}}class ct{constructor(){this[c]=new WeakMap,this[l]=0}set(e,o){return this[c].has(e)||this[l]++,this[c].set(e,o),{}}reset(){if(!(this[l]<=0)){for(const e of document.body.querySelectorAll("*")){if(this[l]<=0)break;const o=this[c].get(e);o!=null&&this[l]--;for(const r of o||[])e.removeEventListener(r,h)}this[c]=new WeakMap,this[l]=0}}}const S=n.canAbortListeners()?new st:new ct;function ut(t){const e=/\S+/g,o=t.getAttribute("wml-trigger")||t.getAttribute("data-wml-trigger")||"click",r=[];let i;for(;(i=e.exec(o))!==null;)r.push(i[0]);const a=S.set(t,r);for(const f of r)t.addEventListener(f,h,a)}function at(){n.whenReady(v)}function v(){S.reset(),document.body.querySelectorAll("[wml-event], [wml-window], [wml-openurl], [data-wml-event], [data-wml-window], [data-wml-openurl]").forEach(ut)}const gt=Object.freeze(Object.defineProperty({__proto__:null,Enable:at,Reload:v},Symbol.toStringTag,{value:"Module"}));exports.Flags=n.flags;exports.System=n.system;exports.Window=n.thisWindow;exports.Browser=d.browser;exports.Events=d.events;exports.Call=A.calls;exports.Application=T;exports.Clipboard=x;exports.Dialogs=H;exports.Screens=rt;exports.WML=gt;
|
package/dist/runtime.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as g, o as f, h as _, w as v, c as M, t as C } from "./index-D2mKAO8s.js";
|
|
2
2
|
import { f as At, s as _t } from "./index-D2mKAO8s.js";
|
|
3
|
-
import { a as O, E as W } from "./events-
|
|
4
|
-
import {
|
|
5
|
-
import { c as Wt } from "./calls-
|
|
3
|
+
import { a as O, E as W } from "./events-Bcx6NsMp.js";
|
|
4
|
+
import { b as Mt, e as Ct } from "./events-Bcx6NsMp.js";
|
|
5
|
+
import { c as Wt } from "./calls-C1yoW06C.js";
|
|
6
6
|
const w = g(f.Application), D = 0, E = 1, T = 2;
|
|
7
7
|
function x() {
|
|
8
8
|
return w(D);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "Omniview",
|
|
3
3
|
"license": "AGPL-3.0-only",
|
|
4
4
|
"name": "@omniviewdev/runtime",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.7.0",
|
|
6
6
|
"description": "Runtime shared library for Omniview",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"type": "module",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"omniview"
|
|
53
53
|
],
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@omniviewdev/base-ui": "~0.
|
|
55
|
+
"@omniviewdev/base-ui": "~0.7.0",
|
|
56
56
|
"@tanstack/react-query": "^5.76.1",
|
|
57
57
|
"@types/node": "^25.5.0",
|
|
58
58
|
"@types/react": "^19.0.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"vite-plugin-dts": "^4.5.3"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@omniviewdev/base-ui": "~0.
|
|
69
|
+
"@omniviewdev/base-ui": "~0.7.0"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@wailsio/runtime": "3.0.0-beta.34",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var He=Object.defineProperty;var ze=(e,t,r)=>t in e?He(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var a=(e,t,r)=>ze(e,typeof t!="symbol"?t+"":t,r);const o=require("./index-D_aIcqH0.cjs"),u=require("./models-CGYstu7u.cjs"),n=require("./calls-DZctVyoQ.cjs");function Ue(e,t){return n.ByID(3867104420,e,t).then(r=>P(r))}function We(e){return n.ByID(3795411887,e)}function Ve(){return n.ByID(1053995964).then(e=>ke(e))}function Ee(e){return n.ByID(3231741321,e).then(t=>Je(t))}function G(e){return n.ByID(2597562645,e).then(t=>b(t))}function Qe(e,t,r){return n.ByID(1481837168,e,t,r)}function qe(e,t){return n.ByID(230212281,e,t)}function xe(){return n.ByID(2408440370).then(e=>b(e))}const P=u.Setting.createFrom,ke=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:Ue,HasPlugin:We,ListPlugins:Ve,ListSettings:Ee,PluginValues:G,SetSetting:Qe,SetSettings:qe,Values:xe},Symbol.toStringTag,{value:"Module"}));function Xe(e){return n.ByID(3150413499,e).then(t=>$(t))}function Ye(e){return n.ByID(1152913314,e).then(t=>It(t))}function F(e){return n.ByID(111194374,e).then(t=>T(t))}function Ze(e){return n.ByID(3945933305,e)}function et(e){return n.ByID(2859775056,e).then(t=>R(t))}function tt(e,t){return n.ByID(2209599792,e,t).then(r=>St(r))}function nt(e){return n.ByID(3963363730,e).then(t=>R(t))}function rt(e){return n.ByID(1357029266,e).then(t=>$(t))}function ot(){return n.ByID(2477486666).then(e=>D(e))}function ct(){return n.ByID(976517756).then(e=>D(e))}function ut(e){return n.ByID(1020548995,e).then(t=>D(t))}function it(e,t){return n.ByID(2004740384,e,t).then(r=>D(r))}function st(){return n.ByID(873697101).then(e=>v(e))}function at(){return n.ByID(637134283).then(e=>gt(e))}function yt(){return n.ByID(550607756).then(e=>mt(e))}function $t(e,t){return n.ByID(288660195,e,t).then(r=>$(r))}function lt(e){return n.ByID(1771013494,e).then(t=>$(t))}function C(e){return n.ByID(2433379724,e).then(t=>$(t))}function pt(e,t,r){return n.ByID(2783597264,e,t,r).then(c=>v(c))}function ft(e){return n.ByID(1369550929,e).then(t=>$(t))}function Dt(e){return n.ByID(3828800061,e).then(t=>$(t))}const $=u.PluginInfo.createFrom,ht=u.DownloadStats.createFrom,It=o.Nullable(ht),T=u.PluginMeta.createFrom,Bt=u.VersionInfo.createFrom,R=o.Array(Bt),Tt=u.Review.createFrom,St=o.Array(Tt),D=o.Nullable(T),dt=u.AvailablePlugin.createFrom,v=o.Array(dt),gt=o.Array(T),mt=o.Array($),At=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:Xe,GetPluginDownloadStats:Ye,GetPluginMeta:F,GetPluginReadme:Ze,GetPluginReleaseHistory:et,GetPluginReviews:tt,GetPluginVersions:nt,InstallDevPluginFromPath:rt,InstallFromPathPrompt:ot,InstallInDevMode:ct,InstallPluginFromPath:ut,InstallPluginVersion:it,ListAvailablePlugins:st,ListPluginMetas:at,ListPlugins:yt,LoadPlugin:$t,ReloadPlugin:lt,RetryFailedPlugin:C,SearchPlugins:pt,UninstallPlugin:ft,UnlinkDevPlugin:Dt},Symbol.toStringTag,{value:"Module"}));function Gt(e){return n.ByID(122243240,e)}function Pt(){return n.ByID(269082212).then(e=>Ut(e))}function bt(e){return n.ByID(1421156656,e).then(t=>S(t))}function Ft(e){return n.ByID(3143996982,e).then(t=>w(t))}function Ct(e){return n.ByID(1695819138,e)}function Rt(e){return n.ByID(1827194808,e).then(t=>Wt(t))}function vt(e){return n.ByID(72059321,e)}function _t(e){return n.ByID(62418781,e).then(t=>Vt(t))}function wt(e){return n.ByID(2222012564,e).then(t=>Et(t))}function Lt(e){return n.ByID(2753368941,e)}function Mt(e){return n.ByID(3825211425,e)}function Ot(e){return n.ByID(2121298005,e).then(t=>Qt(t))}function Nt(){return n.ByID(3038957305).then(e=>f(e))}function jt(){return n.ByID(3369612893)}function Ht(e,t){return n.ByID(252556992,e,t)}function zt(e){return n.ByID(1704369097,e)}function _(){return n.ByID(2936263106).then(e=>w(e))}const S=u.Category.createFrom,Ut=o.Array(S),w=o.Map(o.Any,o.Any),Wt=o.Array(o.Any),Vt=o.Array(o.Any),Et=u.Setting.createFrom,Qt=o.Array(o.Any);var f=function e(...t){return f===e&&(f=qt),f(...t)};const qt=o.Map(o.Any,S),xt=Object.freeze(Object.defineProperty({__proto__:null,GetBool:Gt,GetCategories:Pt,GetCategory:bt,GetCategoryValues:Ft,GetFloat:Ct,GetFloatSlice:Rt,GetInt:vt,GetIntSlice:_t,GetSetting:wt,GetSettingValue:Lt,GetString:Mt,GetStringSlice:Ot,ListSettings:Nt,LoadSettings:jt,SetSetting:Ht,SetSettings:zt,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=kt,c=Jt,i=Kt;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 kt=u.Connection.createFrom,Jt=o.Map(o.Any,o.Any),Kt=o.Map(o.Any,o.Any);function Xt(e,t){return n.ByID(4065522324,e,t)}function Yt(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=>Tn(i))}function M(e,t,r,c){return n.ByID(1477526970,e,t,r,c).then(i=>dn(i))}function Zt(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=>mn(s))}function en(e,t,r,c){return n.ByID(4148812394,e,t,r,c).then(i=>Gn(i))}function N(e,t,r,c){return n.ByID(194970279,e,t,r,c).then(i=>bn(i))}function j(e,t,r){return n.ByID(419011114,e,t,r).then(c=>Cn(c))}function H(){return n.ByID(4153677080).then(e=>_n(e))}function z(e,t){return n.ByID(950535743,e,t).then(r=>h(r))}function U(e,t){return n.ByID(537508515,e,t).then(r=>ie(r))}function W(e,t){return n.ByID(1394342402,e,t).then(r=>Ln(r))}function tn(e,t,r){return n.ByID(1947262600,e,t,r).then(c=>On(c))}function nn(e,t,r,c){return n.ByID(1644192689,e,t,r,c).then(i=>jn(i))}function rn(e,t){return n.ByID(2699561690,e,t).then(r=>zn(r))}function on(e,t){return n.ByID(1474609809,e,t).then(r=>Wn(r))}function cn(e,t){return n.ByID(4077050094,e,t).then(r=>Vn(r))}function un(e,t,r,c,i,s){return n.ByID(3171791798,e,t,r,c,i,s).then(y=>Qn(y))}function sn(e,t){return n.ByID(114848330,e,t).then(r=>se(r))}function V(e,t){return n.ByID(4290498491,e,t).then(r=>qn(r))}function an(e,t,r){return n.ByID(137675652,e,t,r)}function E(e,t){return n.ByID(2078766795,e,t).then(r=>xn(r))}function Q(e,t){return n.ByID(3311395752,e,t).then(r=>kn(r))}function q(e,t){return n.ByID(42345827,e,t).then(r=>Kn(r))}function yn(e){return n.ByID(854008408,e)}function $n(e,t){return n.ByID(3547410887,e,t)}function ln(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=>Yn(i))}function k(){return n.ByID(1598984489).then(e=>Zn(e))}function J(e){return n.ByID(1775572154,e).then(t=>g(t))}function pn(){return n.ByID(3217612415).then(e=>ie(e))}function fn(e){return n.ByID(2037329938,e).then(t=>g(t))}function K(e,t){return n.ByID(421198049,e,t)}function Dn(e,t,r,c,i){return n.ByID(3987850310,e,t,r,c,i).then(s=>tr(s))}function hn(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 In(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=>rr(i))}function ce(e,t){return n.ByID(2131988692,e,t).then(r=>h(r))}const ue=u.ConnectionStatus.createFrom,Bn=u.CreateResult.createFrom,Tn=o.Nullable(Bn),Sn=u.DeleteResult.createFrom,dn=o.Nullable(Sn),gn=u.ActionResult.createFrom,mn=o.Nullable(gn),An=u.FindResult.createFrom,Gn=o.Nullable(An),Pn=u.GetResult.createFrom,bn=o.Nullable(Pn),Fn=u.ActionDescriptor.createFrom,Cn=o.Array(Fn),Rn=d.createFrom,vn=o.Array(Rn),_n=o.Map(o.Any,vn),h=u.Connection.createFrom,ie=o.Array(o.Any),wn=u.EditorSchema.createFrom,Ln=o.Array(wn),Mn=u.FilterField.createFrom,On=o.Array(Mn),Nn=u.ResourceHealth.createFrom,jn=o.Nullable(Nn),Hn=u.RelationshipDescriptor.createFrom,zn=o.Array(Hn),Un=u.ResourceCapabilities.createFrom,Wn=o.Nullable(Un),Vn=u.ResourceDefinition.createFrom,En=u.ResourceEvent.createFrom,Qn=o.Array(En),se=u.ResourceGroup.createFrom,qn=o.Map(o.Any,se),ae=u.ResourceMeta.createFrom,xn=o.Nullable(ae),kn=o.Map(o.Any,ae),Jn=u.WatchConnectionSummary.createFrom,Kn=o.Nullable(Jn),Xn=u.ListResult.createFrom,Yn=o.Nullable(Xn),g=o.Array(h),Zn=o.Map(o.Any,g),er=u.ResolvedRelationship.createFrom,tr=o.Array(er),nr=u.UpdateResult.createFrom,rr=o.Nullable(nr),or=Object.freeze(Object.defineProperty({__proto__:null,AddConnection:Xt,CheckConnection:Yt,Create:L,Delete:M,EnsureResourceWatch:Zt,ExecuteAction:O,Find:en,Get:N,GetActions:j,GetAllConnectionStates:H,GetConnection:z,GetConnectionNamespaces:U,GetEditorSchemas:W,GetFilterFields:tn,GetHealth:nn,GetRelationships:rn,GetResourceCapabilities:on,GetResourceDefinition:cn,GetResourceEvents:un,GetResourceGroup:sn,GetResourceGroups:V,GetResourceSchema:an,GetResourceType:E,GetResourceTypes:Q,GetWatchState:q,HasPlugin:yn,HasResourceType:$n,IsResourceWatchRunning:ln,List:x,ListAllConnections:k,ListConnections:J,ListPlugins:pn,LoadConnections:fn,RemoveConnection:K,ResolveRelationships:Dn,RestartResourceWatch:hn,StartConnection:X,StartConnectionWatch:Y,StopConnection:Z,StopConnectionWatch:ee,StopResourceWatch:In,StreamAction:te,SubscribeResource:ne,UnsubscribeResource:re,Update:oe,UpdateConnection:ce},Symbol.toStringTag,{value:"Module"}));function cr(e,t){return n.ByID(3653639550,e,t)}function ye(e,t){return n.ByID(851823419,e,t)}function ur(e){return n.ByID(2991415449,e).then(t=>ir(t))}function $e(e,t,r){return n.ByID(2695679023,e,t,r)}const ir=o.Array(o.Any),sr=Object.freeze(Object.defineProperty({__proto__:null,Delete:cr,Get:ye,Keys:ur,Set:$e},Symbol.toStringTag,{value:"Module"}));function ar(e){return n.ByID(93318075,e).then(t=>(t[0]=p(t[0]),t[1]=o.ByteSlice(t[1]),t))}function yr(e){return n.ByID(1353297556,e)}function le(e,t,r){return n.ByID(608251756,e,t,r).then(c=>p(c))}function $r(e){return n.ByID(4182196712,e).then(t=>p(t))}function lr(e){return n.ByID(3993344525,e).then(t=>p(t))}function pr(e,t){return n.ByID(1779192716,e,t).then(r=>mr(r))}function fr(){return n.ByID(4033362541).then(e=>Ar(e))}function Dr(e){return n.ByID(2619212338,e).then(t=>fe(t))}function hr(e){return n.ByID(1371268636,e).then(t=>p(t))}function Ir(e){return n.ByID(3881019319,e)}function Br(){return n.ByID(3006426324).then(e=>Gr(e))}function Tr(){return n.ByID(265791345).then(e=>Pr(e))}function Sr(e,t,r){return n.ByID(1492965384,e,t,r)}function dr(e,t){return n.ByID(486465741,e,t)}const gr=u.Session.createFrom,p=o.Nullable(gr),pe=u.Handler.createFrom,mr=o.Nullable(pe),fe=o.Map(o.Any,pe),Ar=o.Map(o.Any,fe),Gr=o.Array(o.Any),Pr=o.Array(p),br=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:ar,CloseSession:yr,CreateSession:le,CreateTerminal:$r,DetachSession:lr,GetHandler:pr,GetHandlers:fr,GetPluginHandlers:Dr,GetSession:hr,HasPlugin:Ir,ListPlugins:Br,ListSessions:Tr,ResizeSession:Sr,WriteSession:dr},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 Fr(e){return n.ByID(1474987050,e).then(t=>I(t))}function Cr(e){return n.ByID(3156347865,e).then(t=>Nr(t))}function Rr(e){return n.ByID(1444002509,e)}function vr(){return n.ByID(3104582886).then(e=>jr(e))}function _r(){return n.ByID(2249742267).then(e=>Hr(e))}function wr(e,t){return n.ByID(1212190993,e,t)}function Lr(e,t){return n.ByID(2177127885,e,t).then(r=>I(r))}const Mr=u.LogSession.createFrom,I=o.Nullable(Mr),Or=u.Handler$1.createFrom,Nr=o.Array(Or),jr=o.Array(o.Any),Hr=o.Array(I),zr=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:De,CreateSession:he,GetSession:Fr,GetSupportedResources:Cr,HasPlugin:Rr,ListPlugins:vr,ListSessions:_r,SendCommand:wr,UpdateSessionOptions:Lr},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=Wr;let c=typeof t=="string"?JSON.parse(t):t;return"handlers"in c&&(c.handlers=r(c.handlers)),new m(c)}}const Ur=u.Handler$2.createFrom,Wr=o.Array(Ur);function Ie(){return n.ByID(3919346639).then(e=>ge(e))}function Be(e){return n.ByID(3953821778,e).then(t=>ge(t))}function Vr(e){return n.ByID(1815388456,e)}function Er(){return n.ByID(2730149903).then(e=>xr(e))}function Qr(e,t,r){return n.ByID(3947209283,e,t,r).then(c=>me(c))}function Te(e,t,r,c,i,s,y,l,Oe,Ne){return n.ByID(2480040278,e,t,r,c,i,s,y,l,Oe,Ne).then(je=>Jr(je))}function Se(e,t,r){return n.ByID(3738888803,e,t,r)}function de(e){return n.ByID(3994236150,e)}const qr=m.createFrom,ge=o.Array(qr),xr=o.Array(o.Any),kr=u.QueryResponse.createFrom,me=o.Nullable(kr),Jr=o.Map(o.Any,me),Kr=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:Ie,GetProvidersForResource:Be,HasPlugin:Vr,ListPlugins:Er,Query:Qr,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 Xr(e){return n.ByID(2157304970,e).then(t=>B(t))}function Yr(e){return n.ByID(650882,e).then(t=>Fe(t))}function Zr(e){return n.ByID(3624690437,e)}function Pe(){return n.ByID(2195697754).then(e=>A(e))}function eo(){return n.ByID(167463150).then(e=>Fe(e))}function to(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 no=u.PortForwardSession.createFrom,B=o.Nullable(no),A=o.Array(B),Fe=o.Array(o.Any),ro=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:Ae,FindPortForwardSessions:Ge,GetPortForwardSession:Xr,GetSupportedPortForwardTargets:Yr,HasPlugin:Zr,ListAllPortForwardSessions:Pe,ListPlugins:eo,ListPortForwardSessions:to,StartResourcePortForwardingSession:be},Symbol.toStringTag,{value:"Module"}));function oo(e){return n.ByID(2106300110,e).then(t=>uo(t))}function Ce(e){return n.ByID(765209827,e).then(t=>io(t))}function co(e){return n.ByID(2355436169,e).then(t=>ve(t))}const Re=u.ResourceComponent.createFrom,ve=o.Array(Re),uo=o.Map(o.Any,ve),io=o.Nullable(Re),so=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:oo,GetResourceAreaComponent:Ce,GetResourceComponents:co},Symbol.toStringTag,{value:"Module"}));function _e(e,t,r,c,i,s){return n.ByID(3749557463,e,t,r,c,i,s).then(y=>$o(y))}function we(e,t,r,c,i,s,y){return n.ByID(3912521777,e,t,r,c,i,s,y).then(l=>Me(l))}function ao(e,t,r,c,i,s,y){return n.ByID(1916045973,e,t,r,c,i,s,y).then(l=>po(l))}function Le(e,t,r,c,i,s,y){return n.ByID(210990208,e,t,r,c,i,s,y).then(l=>Do(l))}const yo=u.DependencyTree.createFrom,$o=o.Nullable(yo),lo=u.GraphEdge.createFrom,Me=o.Array(lo),po=o.Array(Me),fo=u.Subgraph.createFrom,Do=o.Nullable(fo),ho=Object.freeze(Object.defineProperty({__proto__:null,GetDependencyTree:_e,GetRelated:we,GetRelationshipChain:ao,GetSubgraph:Le},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=N;exports.GetActions=j;exports.GetAllConnectionStates=H;exports.GetConnection=z;exports.GetConnectionNamespaces=U;exports.GetDependencyTree=_e;exports.GetEditorSchemas=W;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.GetSubgraph=Le;exports.GetWatchState=q;exports.List=x;exports.ListAllConnections=k;exports.ListAllPortForwardSessions=Pe;exports.ListConnections=J;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=ho;exports.servicewrapper=br;exports.servicewrapper$1=ro;exports.servicewrapper$2=At;exports.servicewrapper$3=or;exports.servicewrapper$4=Ke;exports.servicewrapper$5=xt;exports.servicewrapper$6=so;exports.servicewrapper$7=zr;exports.servicewrapper$8=Kr;exports.servicewrapper$9=sr;
|