@omniviewdev/runtime 0.6.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 +2 -2
- 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/graphservice-1J8q3eeL.cjs +1 -0
- package/dist/graphservice-CUg1PUsC.js +852 -0
- package/dist/hooks/snackbar/useSnackbar.d.ts +2 -0
- package/dist/index.cjs +4 -2
- package/dist/index.js +889 -828
- 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/package.json +1 -1
- package/dist/graphservice-BKFw5MxQ.js +0 -844
- package/dist/graphservice-CWIVejHl.cjs +0 -1
- package/dist/models-CGYstu7u.cjs +0 -1
package/dist/api.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var b=Object.defineProperty;var w=(t,e,i)=>e in t?b(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var r=(t,e,i)=>w(t,typeof e!="symbol"?e+"":e,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./graphservice-
|
|
1
|
+
"use strict";var b=Object.defineProperty;var w=(t,e,i)=>e in t?b(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var r=(t,e,i)=>w(t,typeof e!="symbol"?e+"":e,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./graphservice-1J8q3eeL.cjs"),a=require("./index-D_aIcqH0.cjs"),n=require("./calls-DUhq86Ki.cjs"),u=require("./models-BpVWHqlF.cjs");function B(t){return n.ByID(3503478684,t)}const F=Object.freeze(Object.defineProperty({__proto__:null,DetectLanguage:B},Symbol.toStringTag,{value:"Module"}));function T(t,e){return n.ByID(2691208406,t,e)}function O(t,e){return n.ByID(3932965591,t,e)}function _(t,e){return n.ByID(1686862755,t,e)}function j(t,e,i){return n.ByID(3705442919,t,e,i)}function A(t){return n.ByID(3024854267,t)}function C(t){return n.ByID(3423289677,t)}function E(t){return n.ByID(158417611,t)}function L(t){return n.ByID(3413815733,t)}function M(t,e){return n.ByID(2047870999,t,e)}const N=Object.freeze(Object.defineProperty({__proto__:null,Debug:T,Error:O,Info:_,Log:j,ReadLog:A,ReportStartupReady:C,StartTail:E,StopTail:L,Warn:M},Symbol.toStringTag,{value:"Module"}));function k(t,e){return n.ByID(712656304,t,e).then(i=>W(i))}function P(t){return n.ByID(4153226260,t).then(e=>l(e))}function R(t){return n.ByID(1859413816,t)}function G(){return n.ByID(2707386443).then(t=>Z(t))}function J(t){return n.ByID(2381063937,t)}function x(t){return n.ByID(123659362,t).then(e=>l(e))}function q(t){return n.ByID(709599671,t).then(e=>l(e))}function z(t,e){return n.ByID(2105869281,t,e).then(i=>l(i))}function U(t){return n.ByID(1371062537,t)}const V=u.LogEntry.createFrom,W=a.Array(V),l=u.DevServerState.createFrom,Z=a.Array(l),H=Object.freeze(Object.defineProperty({__proto__:null,GetDevServerLogs:k,GetDevServerState:P,IsManaged:R,ListDevServerStates:G,RebuildPlugin:J,RestartDevServer:x,StartDevServer:q,StartDevServerForPath:z,StopDevServer:U},Symbol.toStringTag,{value:"Module"}));function K(t,e){return n.ByID(1867216983,t,e).then(i=>S(i))}function Q(){return n.ByID(3418650705).then(t=>te(t))}function X(t,e){return n.ByID(4138610615,t,e).then(i=>S(i))}function Y(t){return n.ByID(3055914536,t)}function $(t){return n.ByID(1502487629,t)}const ee=u.LogEntry$1.createFrom,S=a.Array(ee),te=a.Array(a.Any),re=Object.freeze(Object.defineProperty({__proto__:null,GetLogs:K,ListStreams:Q,SearchLogs:X,Subscribe:Y,Unsubscribe:$},Symbol.toStringTag,{value:"Module"}));class p{constructor(e={}){r(this,"browser");r(this,"vite");r(this,"hmr");r(this,"mcp");r(this,"control");r(this,"health");"browser"in e||(this.browser=null),"vite"in e||(this.vite=null),"hmr"in e||(this.hmr=null),"mcp"in e||(this.mcp=null),"control"in e||(this.control=null),"health"in e||(this.health=null),Object.assign(this,e)}static createFrom(e={}){let i=typeof e=="string"?JSON.parse(e):e;return new p(i)}}class y{constructor(e={}){r(this,"code");r(this,"message");r(this,"details");"code"in e||(this.code=""),"message"in e||(this.message=""),Object.assign(this,e)}static createFrom(e={}){const i=ne;let o=typeof e=="string"?JSON.parse(e):e;return"details"in o&&(o.details=i(o.details)),new y(o)}}class h{constructor(e={}){r(this,"schemaVersion");r(this,"workspaceID");r(this,"instanceID");r(this,"generation");r(this,"kind");r(this,"channel");r(this,"displayName");r(this,"stateRoot");r(this,"process");r(this,"version");r(this,"commit");r(this,"repositories");r(this,"endpoints");r(this,"plugins");r(this,"readiness");r(this,"lastError");r(this,"startedAt");"schemaVersion"in e||(this.schemaVersion=0),"workspaceID"in e||(this.workspaceID=""),"instanceID"in e||(this.instanceID=""),"generation"in e||(this.generation=""),"kind"in e||(this.kind=""),"channel"in e||(this.channel=""),"displayName"in e||(this.displayName=""),"stateRoot"in e||(this.stateRoot=""),"process"in e||(this.process=new f),"version"in e||(this.version=""),"commit"in e||(this.commit=""),"repositories"in e||(this.repositories=[]),"endpoints"in e||(this.endpoints=new p),"plugins"in e||(this.plugins=[]),"readiness"in e||(this.readiness=""),"startedAt"in e||(this.startedAt="0001-01-01T00:00:00.000Z"),Object.assign(this,e)}static createFrom(e={}){const i=ie,o=ae,m=oe,v=le,I=D;let s=typeof e=="string"?JSON.parse(e):e;return"process"in s&&(s.process=i(s.process)),"repositories"in s&&(s.repositories=o(s.repositories)),"endpoints"in s&&(s.endpoints=m(s.endpoints)),"plugins"in s&&(s.plugins=v(s.plugins)),"lastError"in s&&(s.lastError=I(s.lastError)),new h(s)}}class d{constructor(e={}){r(this,"id");r(this,"version");r(this,"source");r(this,"generation");r(this,"mode");r(this,"buildStatus");r(this,"viteStatus");r(this,"rpcStatus");r(this,"controllerStatus");r(this,"operationID");r(this,"lastError");"id"in e||(this.id=""),"version"in e||(this.version=""),"source"in e||(this.source=""),"generation"in e||(this.generation=""),"mode"in e||(this.mode=""),"buildStatus"in e||(this.buildStatus=""),"viteStatus"in e||(this.viteStatus=""),"rpcStatus"in e||(this.rpcStatus=""),"controllerStatus"in e||(this.controllerStatus=""),Object.assign(this,e)}static createFrom(e={}){const i=D;let o=typeof e=="string"?JSON.parse(e):e;return"lastError"in o&&(o.lastError=i(o.lastError)),new d(o)}}class f{constructor(e={}){r(this,"pid");r(this,"startIdentity");r(this,"executable");r(this,"workspaceID");r(this,"generation");r(this,"role");r(this,"source");"pid"in e||(this.pid=0),"startIdentity"in e||(this.startIdentity=""),"executable"in e||(this.executable=""),"workspaceID"in e||(this.workspaceID=""),"generation"in e||(this.generation=""),"role"in e||(this.role=""),Object.assign(this,e)}static createFrom(e={}){let i=typeof e=="string"?JSON.parse(e):e;return new f(i)}}class g{constructor(e={}){r(this,"id");r(this,"path");r(this,"ref");r(this,"commit");"id"in e||(this.id=""),"path"in e||(this.path=""),"ref"in e||(this.ref=""),"commit"in e||(this.commit=""),Object.assign(this,e)}static createFrom(e={}){let i=typeof e=="string"?JSON.parse(e):e;return new g(i)}}const ne=a.Map(a.Any,a.Any),ie=f.createFrom,se=g.createFrom,ae=a.Array(se),oe=p.createFrom,ce=d.createFrom,le=a.Array(ce),pe=y.createFrom,D=a.Nullable(pe);function fe(){return n.ByID(678226073).then(t=>ge(t))}function ue(){return n.ByID(1706570792)}function ye(t){return n.ByID(2957909098,t).then(e=>Se(e))}function he(t){return n.ByID(473489213,t)}function de(t,e){return n.ByID(3778694836,t,e)}const ge=h.createFrom,Se=a.Array(a.Any);exports.DataClient=c.servicewrapper$9;exports.ExecClient=c.servicewrapper;exports.GraphClient=c.graphservice;exports.LogsClient=c.servicewrapper$7;exports.MetricClient=c.servicewrapper$8;exports.NetworkerClient=c.servicewrapper$1;exports.PluginManager=c.servicewrapper$2;exports.ResourceClient=c.servicewrapper$3;exports.SettingsClient=c.servicewrapper$4;exports.SettingsProvider=c.servicewrapper$5;exports.UIClient=c.servicewrapper$6;exports.DevServerManager=H;exports.DiagnosticsClient=N;exports.GetInstanceInfo=fe;exports.GetOperatingSystem=ue;exports.OpenFileSelectionDialog=ye;exports.PluginLogManager=re;exports.SaveFileDialog=he;exports.UtilsClient=F;exports.WriteFileContent=de;
|
package/dist/api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var D = Object.defineProperty;
|
|
2
2
|
var F = (e, t, r) => t in e ? D(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var n = (e, t, r) => F(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import { a6 as jt, Y as Et, a0 as Lt, a4 as Ct, a5 as Nt, Z as Mt, _ as kt, $ as Pt, a1 as Rt, a2 as xt, a3 as At } from "./graphservice-
|
|
4
|
+
import { a6 as jt, Y as Et, a0 as Lt, a4 as Ct, a5 as Nt, Z as Mt, _ as kt, $ as Pt, a1 as Rt, a2 as xt, a3 as At } from "./graphservice-CUg1PUsC.js";
|
|
5
5
|
import { A as o, a as l, N as T, M as O } from "./index-D2mKAO8s.js";
|
|
6
6
|
import { B as i } from "./calls-C1yoW06C.js";
|
|
7
|
-
import { D as w, L as I, a as _ } from "./models-
|
|
7
|
+
import { D as w, L as I, a as _ } from "./models-C5sf8GNY.js";
|
|
8
8
|
function j(e) {
|
|
9
9
|
return i(3503478684, e);
|
|
10
10
|
}
|
|
@@ -13,6 +13,7 @@ export declare function SetSetting(plugin: string, id: string, value: any): $Can
|
|
|
13
13
|
export declare function SetSettings(plugin: string, settingsMap: {
|
|
14
14
|
[_ in string]?: any;
|
|
15
15
|
}): $CancellablePromise<void>;
|
|
16
|
+
export declare function ValidateSetting(plugin: string, id: string, value: any): $CancellablePromise<settings$0.ValidationResult>;
|
|
16
17
|
export declare function Values(): $CancellablePromise<{
|
|
17
18
|
[_ in string]?: any;
|
|
18
19
|
}>;
|
|
@@ -37,6 +37,10 @@ export declare function SetSetting(id: string, value: any): $CancellablePromise<
|
|
|
37
37
|
export declare function SetSettings(settingsMap: {
|
|
38
38
|
[_ in string]?: any;
|
|
39
39
|
}): $CancellablePromise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* ValidateSetting checks a draft without changing or persisting its value.
|
|
42
|
+
*/
|
|
43
|
+
export declare function ValidateSetting(id: string, value: any): $CancellablePromise<settings$0.ValidationResult>;
|
|
40
44
|
/**
|
|
41
45
|
* Values returns a flat map of all setting values keyed by "category.settingID".
|
|
42
46
|
* This is a host-side convenience for the frontend — it was removed from the SDK
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Category, Setting, SettingFileSelection, SettingOption, SettingType } from './models.js';
|
|
1
|
+
export { Category, Setting, SettingFileSelection, SettingOption, SettingType, ValidationResult } from './models.js';
|
|
2
2
|
export type { Store } from './models.js';
|
|
@@ -167,3 +167,17 @@ export declare enum SettingType {
|
|
|
167
167
|
export type Store = {
|
|
168
168
|
[_ in string]?: Category;
|
|
169
169
|
};
|
|
170
|
+
/**
|
|
171
|
+
* ValidationResult is safe to show in settings forms. Codes are stable machine-readable identifiers.
|
|
172
|
+
*/
|
|
173
|
+
export declare class ValidationResult {
|
|
174
|
+
"valid": boolean;
|
|
175
|
+
"code": string;
|
|
176
|
+
"message": string;
|
|
177
|
+
/** Creates a new ValidationResult instance. */
|
|
178
|
+
constructor($$source?: Partial<ValidationResult>);
|
|
179
|
+
/**
|
|
180
|
+
* Creates a new ValidationResult instance from a string or object.
|
|
181
|
+
*/
|
|
182
|
+
static createFrom($$source?: any): ValidationResult;
|
|
183
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Je=Object.defineProperty;var Qe=(e,t,r)=>t in e?Je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var s=(e,t,r)=>Qe(e,typeof t!="symbol"?t+"":t,r);const o=require("./index-D_aIcqH0.cjs"),i=require("./models-BQsuB2Lj.cjs"),n=require("./calls-DUhq86Ki.cjs");function xe(e,t){return n.ByID(3867104420,e,t).then(r=>v(r))}function ke(e){return n.ByID(3795411887,e)}function Ke(){return n.ByID(1053995964).then(e=>nt(e))}function Xe(e){return n.ByID(3231741321,e).then(t=>rt(t))}function R(e){return n.ByID(2597562645,e).then(t=>_(t))}function Ye(e,t,r){return n.ByID(1481837168,e,t,r)}function Ze(e,t){return n.ByID(230212281,e,t)}function et(e,t,r){return n.ByID(1534017462,e,t,r).then(c=>ot(c))}function tt(){return n.ByID(2408440370).then(e=>_(e))}const v=i.Setting.createFrom,nt=o.Array(o.Any),rt=o.Map(o.Any,v),_=o.Map(o.Any,o.Any),ot=i.ValidationResult.createFrom,ct=Object.freeze(Object.defineProperty({__proto__:null,GetSetting:xe,HasPlugin:ke,ListPlugins:Ke,ListSettings:Xe,PluginValues:R,SetSetting:Ye,SetSettings:Ze,ValidateSetting:et,Values:tt},Symbol.toStringTag,{value:"Module"}));function it(e){return n.ByID(3150413499,e).then(t=>l(t))}function ut(e){return n.ByID(1152913314,e).then(t=>bt(t))}function w(e){return n.ByID(111194374,e).then(t=>d(t))}function st(e){return n.ByID(3945933305,e)}function at(e){return n.ByID(2859775056,e).then(t=>L(t))}function yt(e,t){return n.ByID(2209599792,e,t).then(r=>Ct(r))}function lt(e){return n.ByID(3963363730,e).then(t=>L(t))}function $t(e){return n.ByID(1357029266,e).then(t=>l(t))}function pt(){return n.ByID(2477486666).then(e=>h(e))}function ft(){return n.ByID(976517756).then(e=>h(e))}function ht(e){return n.ByID(1020548995,e).then(t=>h(t))}function Dt(e,t){return n.ByID(2004740384,e,t).then(r=>h(r))}function It(){return n.ByID(873697101).then(e=>M(e))}function Bt(){return n.ByID(637134283).then(e=>vt(e))}function Tt(){return n.ByID(550607756).then(e=>_t(e))}function dt(e,t){return n.ByID(288660195,e,t).then(r=>l(r))}function St(e){return n.ByID(1771013494,e).then(t=>l(t))}function O(e){return n.ByID(2433379724,e).then(t=>l(t))}function gt(e,t,r){return n.ByID(2783597264,e,t,r).then(c=>M(c))}function mt(e){return n.ByID(1369550929,e).then(t=>l(t))}function Ft(e){return n.ByID(3828800061,e).then(t=>l(t))}const l=i.PluginInfo.createFrom,At=i.DownloadStats.createFrom,bt=o.Nullable(At),d=i.PluginMeta.createFrom,Gt=i.VersionInfo.createFrom,L=o.Array(Gt),Pt=i.Review.createFrom,Ct=o.Array(Pt),h=o.Nullable(d),Rt=i.AvailablePlugin.createFrom,M=o.Array(Rt),vt=o.Array(d),_t=o.Array(l),wt=Object.freeze(Object.defineProperty({__proto__:null,GetPlugin:it,GetPluginDownloadStats:ut,GetPluginMeta:w,GetPluginReadme:st,GetPluginReleaseHistory:at,GetPluginReviews:yt,GetPluginVersions:lt,InstallDevPluginFromPath:$t,InstallFromPathPrompt:pt,InstallInDevMode:ft,InstallPluginFromPath:ht,InstallPluginVersion:Dt,ListAvailablePlugins:It,ListPluginMetas:Bt,ListPlugins:Tt,LoadPlugin:dt,ReloadPlugin:St,RetryFailedPlugin:O,SearchPlugins:gt,UninstallPlugin:mt,UnlinkDevPlugin:Ft},Symbol.toStringTag,{value:"Module"}));function Ot(e){return n.ByID(122243240,e)}function Lt(){return n.ByID(269082212).then(e=>Xt(e))}function Mt(e){return n.ByID(1421156656,e).then(t=>S(t))}function Nt(e){return n.ByID(3143996982,e).then(t=>j(t))}function jt(e){return n.ByID(1695819138,e)}function Ht(e){return n.ByID(1827194808,e).then(t=>Yt(t))}function Vt(e){return n.ByID(72059321,e)}function zt(e){return n.ByID(62418781,e).then(t=>Zt(t))}function Ut(e){return n.ByID(2222012564,e).then(t=>en(t))}function Wt(e){return n.ByID(2753368941,e)}function Et(e){return n.ByID(3825211425,e)}function qt(e){return n.ByID(2121298005,e).then(t=>tn(t))}function Jt(){return n.ByID(3038957305).then(e=>f(e))}function Qt(){return n.ByID(3369612893)}function xt(e,t){return n.ByID(252556992,e,t)}function kt(e){return n.ByID(1704369097,e)}function Kt(e,t){return n.ByID(1399113254,e,t).then(r=>rn(r))}function N(){return n.ByID(2936263106).then(e=>j(e))}const S=i.Category.createFrom,Xt=o.Array(S),j=o.Map(o.Any,o.Any),Yt=o.Array(o.Any),Zt=o.Array(o.Any),en=i.Setting.createFrom,tn=o.Array(o.Any);var f=function e(...t){return f===e&&(f=nn),f(...t)};const nn=o.Map(o.Any,S),rn=i.ValidationResult.createFrom,on=Object.freeze(Object.defineProperty({__proto__:null,GetBool:Ot,GetCategories:Lt,GetCategory:Mt,GetCategoryValues:Nt,GetFloat:jt,GetFloatSlice:Ht,GetInt:Vt,GetIntSlice:zt,GetSetting:Ut,GetSettingValue:Wt,GetString:Et,GetStringSlice:qt,ListSettings:Jt,LoadSettings:Qt,SetSetting:xt,SetSettings:kt,ValidateSetting:Kt,Values:N},Symbol.toStringTag,{value:"Module"}));class g{constructor(t={}){s(this,"type");s(this,"label");s(this,"target");"type"in t||(this.type=""),"label"in t||(this.label=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new g(r)}}class m{constructor(t={}){s(this,"type");s(this,"title");s(this,"status");s(this,"detail");s(this,"instance");s(this,"suggestions");s(this,"actions");s(this,"code");s(this,"requestId");s(this,"recovery");s(this,"location");"type"in t||(this.type=""),"title"in t||(this.title=""),"status"in t||(this.status=0),"detail"in t||(this.detail=""),Object.assign(this,t)}static createFrom(t={}){const r=cn,c=sn,u=yn;let a=typeof t=="string"?JSON.parse(t):t;return"suggestions"in a&&(a.suggestions=r(a.suggestions)),"actions"in a&&(a.actions=c(a.actions)),"location"in a&&(a.location=u(a.location)),new m(a)}}class F{constructor(t={}){s(this,"start");s(this,"end");s(this,"unit");"start"in t||(this.start=0),"end"in t||(this.end=0),"unit"in t||(this.unit=""),Object.assign(this,t)}static createFrom(t={}){let r=typeof t=="string"?JSON.parse(t):t;return new F(r)}}const cn=o.Array(o.Any),un=g.createFrom,sn=o.Array(un),an=F.createFrom,yn=o.Nullable(an);class D{constructor(t={}){s(this,"type");s(this,"data");s(this,"error");"type"in t||(this.type=""),Object.assign(this,t)}static createFrom(t={}){const r=ln,c=pn;let u=typeof t=="string"?JSON.parse(t):t;return"data"in u&&(u.data=r(u.data)),"error"in u&&(u.error=c(u.error)),new D(u)}}class A{constructor(t={}){s(this,"sequence");s(this,"event");s(this,"terminal");"sequence"in t||(this.sequence=0),"event"in t||(this.event=new D),"terminal"in t||(this.terminal=!1),Object.assign(this,t)}static createFrom(t={}){const r=fn;let c=typeof t=="string"?JSON.parse(t):t;return"event"in c&&(c.event=r(c.event)),new A(c)}}class b{constructor(t={}){s(this,"connection");s(this,"started");s(this,"resources");s(this,"resourceCounts");s(this,"totalResources");s(this,"syncedCount");s(this,"errorCount");s(this,"lastSyncTime");"connection"in t||(this.connection=new i.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=hn,c=Dn,u=In;let a=typeof t=="string"?JSON.parse(t):t;return"connection"in a&&(a.connection=r(a.connection)),"resources"in a&&(a.resources=c(a.resources)),"resourceCounts"in a&&(a.resourceCounts=u(a.resourceCounts)),new b(a)}}const ln=o.Map(o.Any,o.Any),$n=m.createFrom,pn=o.Nullable($n),fn=D.createFrom,hn=i.Connection.createFrom,Dn=o.Map(o.Any,o.Any),In=o.Map(o.Any,o.Any);function Bn(e,t){return n.ByID(4065522324,e,t)}function H(e){return n.ByID(2393377246,e).then(t=>jn(t))}function V(e){return n.ByID(1090099505,e)}function Tn(e,t){return n.ByID(1688967279,e,t).then(r=>pe(r))}function z(e,t,r,c){return n.ByID(1613386605,e,t,r,c).then(u=>Vn(u))}function U(e,t,r,c){return n.ByID(1477526970,e,t,r,c).then(u=>Un(u))}function dn(e,t,r){return n.ByID(1338477906,e,t,r)}function W(e,t,r,c,u){return n.ByID(1844283666,e,t,r,c,u).then(a=>En(a))}function Sn(e,t,r,c){return n.ByID(4148812394,e,t,r,c).then(u=>Jn(u))}function E(e,t,r,c){return n.ByID(194970279,e,t,r,c).then(u=>xn(u))}function q(e,t,r){return n.ByID(419011114,e,t,r).then(c=>Kn(c))}function J(){return n.ByID(4153677080).then(e=>Zn(e))}function Q(e,t){return n.ByID(950535743,e,t).then(r=>I(r))}function x(e,t){return n.ByID(537508515,e,t).then(r=>fe(r))}function k(e,t){return n.ByID(1394342402,e,t).then(r=>tr(r))}function gn(e,t,r){return n.ByID(1947262600,e,t,r).then(c=>rr(c))}function mn(e,t,r,c){return n.ByID(1644192689,e,t,r,c).then(u=>cr(u))}function Fn(e,t){return n.ByID(2699561690,e,t).then(r=>ur(r))}function An(e,t){return n.ByID(1474609809,e,t).then(r=>ar(r))}function bn(e,t){return n.ByID(4077050094,e,t).then(r=>yr(r))}function Gn(e,t,r,c,u,a){return n.ByID(3171791798,e,t,r,c,u,a).then(y=>$r(y))}function Pn(e,t){return n.ByID(114848330,e,t).then(r=>he(r))}function K(e,t){return n.ByID(4290498491,e,t).then(r=>pr(r))}function Cn(e,t,r){return n.ByID(137675652,e,t,r)}function X(e,t){return n.ByID(2078766795,e,t).then(r=>fr(r))}function Y(e,t){return n.ByID(3311395752,e,t).then(r=>hr(r))}function Z(e,t){return n.ByID(42345827,e,t).then(r=>Ir(r))}function Rn(e){return n.ByID(854008408,e)}function vn(e,t){return n.ByID(3547410887,e,t)}function _n(e,t,r){return n.ByID(3516169863,e,t,r)}function ee(e,t,r,c){return n.ByID(3093409425,e,t,r,c).then(u=>Tr(u))}function te(){return n.ByID(1598984489).then(e=>dr(e))}function ne(e){return n.ByID(1775572154,e).then(t=>G(t))}function wn(){return n.ByID(3217612415).then(e=>fe(e))}function On(e){return n.ByID(2037329938,e).then(t=>G(t))}function re(e,t){return n.ByID(421198049,e,t)}function Ln(e,t,r,c,u){return n.ByID(3987850310,e,t,r,c,u).then(a=>gr(a))}function Mn(e,t,r){return n.ByID(555702059,e,t,r)}function oe(e,t){return n.ByID(3276991559,e,t).then(r=>pe(r))}function ce(e,t){return n.ByID(3389223006,e,t)}function ie(e,t){return n.ByID(794258089,e,t).then(r=>I(r))}function ue(e,t){return n.ByID(1661153284,e,t)}function Nn(e,t,r){return n.ByID(3981374696,e,t,r)}function se(e,t,r,c,u){return n.ByID(2990116431,e,t,r,c,u)}function ae(e,t,r){return n.ByID(2856546527,e,t,r)}function ye(e,t,r){return n.ByID(3710015102,e,t,r)}function le(e,t,r,c){return n.ByID(2408192164,e,t,r,c).then(u=>Fr(u))}function $e(e,t){return n.ByID(2131988692,e,t).then(r=>I(r))}const jn=A.createFrom,pe=i.ConnectionStatus.createFrom,Hn=i.CreateResult.createFrom,Vn=o.Nullable(Hn),zn=i.DeleteResult.createFrom,Un=o.Nullable(zn),Wn=i.ActionResult.createFrom,En=o.Nullable(Wn),qn=i.FindResult.createFrom,Jn=o.Nullable(qn),Qn=i.GetResult.createFrom,xn=o.Nullable(Qn),kn=i.ActionDescriptor.createFrom,Kn=o.Array(kn),Xn=b.createFrom,Yn=o.Array(Xn),Zn=o.Map(o.Any,Yn),I=i.Connection.createFrom,fe=o.Array(o.Any),er=i.EditorSchema.createFrom,tr=o.Array(er),nr=i.FilterField.createFrom,rr=o.Array(nr),or=i.ResourceHealth.createFrom,cr=o.Nullable(or),ir=i.RelationshipDescriptor.createFrom,ur=o.Array(ir),sr=i.ResourceCapabilities.createFrom,ar=o.Nullable(sr),yr=i.ResourceDefinition.createFrom,lr=i.ResourceEvent.createFrom,$r=o.Array(lr),he=i.ResourceGroup.createFrom,pr=o.Map(o.Any,he),De=i.ResourceMeta.createFrom,fr=o.Nullable(De),hr=o.Map(o.Any,De),Dr=i.WatchConnectionSummary.createFrom,Ir=o.Nullable(Dr),Br=i.ListResult.createFrom,Tr=o.Nullable(Br),G=o.Array(I),dr=o.Map(o.Any,G),Sr=i.ResolvedRelationship.createFrom,gr=o.Array(Sr),mr=i.UpdateResult.createFrom,Fr=o.Nullable(mr),Ar=Object.freeze(Object.defineProperty({__proto__:null,AddConnection:Bn,AttachStreamAction:H,CancelStreamAction:V,CheckConnection:Tn,Create:z,Delete:U,EnsureResourceWatch:dn,ExecuteAction:W,Find:Sn,Get:E,GetActions:q,GetAllConnectionStates:J,GetConnection:Q,GetConnectionNamespaces:x,GetEditorSchemas:k,GetFilterFields:gn,GetHealth:mn,GetRelationships:Fn,GetResourceCapabilities:An,GetResourceDefinition:bn,GetResourceEvents:Gn,GetResourceGroup:Pn,GetResourceGroups:K,GetResourceSchema:Cn,GetResourceType:X,GetResourceTypes:Y,GetWatchState:Z,HasPlugin:Rn,HasResourceType:vn,IsResourceWatchRunning:_n,List:ee,ListAllConnections:te,ListConnections:ne,ListPlugins:wn,LoadConnections:On,RemoveConnection:re,ResolveRelationships:Ln,RestartResourceWatch:Mn,StartConnection:oe,StartConnectionWatch:ce,StopConnection:ie,StopConnectionWatch:ue,StopResourceWatch:Nn,StreamAction:se,SubscribeResource:ae,UnsubscribeResource:ye,Update:le,UpdateConnection:$e},Symbol.toStringTag,{value:"Module"}));function br(e,t){return n.ByID(3653639550,e,t)}function Ie(e,t){return n.ByID(851823419,e,t)}function Gr(e){return n.ByID(2991415449,e).then(t=>Pr(t))}function Be(e,t,r){return n.ByID(2695679023,e,t,r)}const Pr=o.Array(o.Any),Cr=Object.freeze(Object.defineProperty({__proto__:null,Delete:br,Get:Ie,Keys:Gr,Set:Be},Symbol.toStringTag,{value:"Module"}));function Rr(e){return n.ByID(93318075,e).then(t=>(t[0]=p(t[0]),t[1]=o.ByteSlice(t[1]),t))}function vr(e){return n.ByID(1353297556,e)}function Te(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 wr(e){return n.ByID(3993344525,e).then(t=>p(t))}function Or(e,t){return n.ByID(1779192716,e,t).then(r=>Er(r))}function Lr(){return n.ByID(4033362541).then(e=>qr(e))}function Mr(e){return n.ByID(2619212338,e).then(t=>Se(t))}function Nr(e){return n.ByID(1371268636,e).then(t=>p(t))}function jr(e){return n.ByID(3881019319,e)}function Hr(){return n.ByID(3006426324).then(e=>Jr(e))}function Vr(){return n.ByID(265791345).then(e=>Qr(e))}function zr(e,t,r){return n.ByID(1492965384,e,t,r)}function Ur(e,t){return n.ByID(486465741,e,t)}const Wr=i.Session.createFrom,p=o.Nullable(Wr),de=i.Handler.createFrom,Er=o.Nullable(de),Se=o.Map(o.Any,de),qr=o.Map(o.Any,Se),Jr=o.Array(o.Any),Qr=o.Array(p),xr=Object.freeze(Object.defineProperty({__proto__:null,AttachSession:Rr,CloseSession:vr,CreateSession:Te,CreateTerminal:_r,DetachSession:wr,GetHandler:Or,GetHandlers:Lr,GetPluginHandlers:Mr,GetSession:Nr,HasPlugin:jr,ListPlugins:Hr,ListSessions:Vr,ResizeSession:zr,WriteSession:Ur},Symbol.toStringTag,{value:"Module"}));function ge(e){return n.ByID(2776241946,e)}function me(e,t,r){return n.ByID(1762441314,e,t,r).then(c=>B(c))}function kr(e){return n.ByID(1474987050,e).then(t=>B(t))}function Kr(e){return n.ByID(3156347865,e).then(t=>oo(t))}function Xr(e){return n.ByID(1444002509,e)}function Yr(){return n.ByID(3104582886).then(e=>co(e))}function Zr(){return n.ByID(2249742267).then(e=>io(e))}function eo(e,t){return n.ByID(1212190993,e,t)}function to(e,t){return n.ByID(2177127885,e,t).then(r=>B(r))}const no=i.LogSession.createFrom,B=o.Nullable(no),ro=i.Handler$1.createFrom,oo=o.Array(ro),co=o.Array(o.Any),io=o.Array(B),uo=Object.freeze(Object.defineProperty({__proto__:null,CloseSession:ge,CreateSession:me,GetSession:kr,GetSupportedResources:Kr,HasPlugin:Xr,ListPlugins:Yr,ListSessions:Zr,SendCommand:eo,UpdateSessionOptions:to},Symbol.toStringTag,{value:"Module"}));class P{constructor(t={}){s(this,"plugin_id");s(this,"provider_id");s(this,"name");s(this,"icon");s(this,"description");s(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=ao;let c=typeof t=="string"?JSON.parse(t):t;return"handlers"in c&&(c.handlers=r(c.handlers)),new P(c)}}const so=i.Handler$2.createFrom,ao=o.Array(so);function Fe(){return n.ByID(3919346639).then(e=>Ce(e))}function Ae(e){return n.ByID(3953821778,e).then(t=>Ce(t))}function yo(e){return n.ByID(1815388456,e)}function lo(){return n.ByID(2730149903).then(e=>fo(e))}function $o(e,t,r){return n.ByID(3947209283,e,t,r).then(c=>Re(c))}function be(e,t,r,c,u,a,y,$,We,Ee){return n.ByID(2480040278,e,t,r,c,u,a,y,$,We,Ee).then(qe=>Do(qe))}function Ge(e,t,r){return n.ByID(3738888803,e,t,r)}function Pe(e){return n.ByID(3994236150,e)}const po=P.createFrom,Ce=o.Array(po),fo=o.Array(o.Any),ho=i.QueryResponse.createFrom,Re=o.Nullable(ho),Do=o.Map(o.Any,Re),Io=Object.freeze(Object.defineProperty({__proto__:null,GetProviders:Fe,GetProvidersForResource:Ae,HasPlugin:yo,ListPlugins:lo,Query:$o,QueryAll:be,Subscribe:Ge,Unsubscribe:Pe},Symbol.toStringTag,{value:"Module"}));function ve(e){return n.ByID(182596922,e).then(t=>T(t))}function _e(e,t,r){return n.ByID(981100722,e,t,r).then(c=>C(c))}function Bo(e){return n.ByID(2157304970,e).then(t=>T(t))}function To(e){return n.ByID(650882,e).then(t=>Le(t))}function So(e){return n.ByID(3624690437,e)}function we(){return n.ByID(2195697754).then(e=>C(e))}function go(){return n.ByID(167463150).then(e=>Le(e))}function mo(e,t){return n.ByID(2090415403,e,t).then(r=>C(r))}function Oe(e,t,r){return n.ByID(780445954,e,t,r).then(c=>T(c))}const Fo=i.PortForwardSession.createFrom,T=o.Nullable(Fo),C=o.Array(T),Le=o.Array(o.Any),Ao=Object.freeze(Object.defineProperty({__proto__:null,ClosePortForwardSession:ve,FindPortForwardSessions:_e,GetPortForwardSession:Bo,GetSupportedPortForwardTargets:To,HasPlugin:So,ListAllPortForwardSessions:we,ListPlugins:go,ListPortForwardSessions:mo,StartResourcePortForwardingSession:Oe},Symbol.toStringTag,{value:"Module"}));function bo(e){return n.ByID(2106300110,e).then(t=>Po(t))}function Me(e){return n.ByID(765209827,e).then(t=>Co(t))}function Go(e){return n.ByID(2355436169,e).then(t=>je(t))}const Ne=i.ResourceComponent.createFrom,je=o.Array(Ne),Po=o.Map(o.Any,je),Co=o.Nullable(Ne),Ro=Object.freeze(Object.defineProperty({__proto__:null,GetPluginComponents:bo,GetResourceAreaComponent:Me,GetResourceComponents:Go},Symbol.toStringTag,{value:"Module"}));function He(e,t,r,c,u,a){return n.ByID(3749557463,e,t,r,c,u,a).then(y=>wo(y))}function Ve(e,t,r,c,u,a,y){return n.ByID(3912521777,e,t,r,c,u,a,y).then($=>Ue($))}function vo(e,t,r,c,u,a,y){return n.ByID(1916045973,e,t,r,c,u,a,y).then($=>Lo($))}function ze(e,t,r,c,u,a,y){return n.ByID(210990208,e,t,r,c,u,a,y).then($=>No($))}const _o=i.DependencyTree.createFrom,wo=o.Nullable(_o),Oo=i.GraphEdge.createFrom,Ue=o.Array(Oo),Lo=o.Array(Ue),Mo=i.Subgraph.createFrom,No=o.Nullable(Mo),jo=Object.freeze(Object.defineProperty({__proto__:null,GetDependencyTree:He,GetRelated:Ve,GetRelationshipChain:vo,GetSubgraph:ze},Symbol.toStringTag,{value:"Module"}));exports.AttachStreamAction=H;exports.CancelStreamAction=V;exports.ClosePortForwardSession=ve;exports.CloseSession=ge;exports.Create=z;exports.CreateSession=Te;exports.CreateSession$1=me;exports.Delete=U;exports.ExecuteAction=W;exports.FindPortForwardSessions=_e;exports.Get=Ie;exports.Get$1=E;exports.GetActions=q;exports.GetAllConnectionStates=J;exports.GetConnection=Q;exports.GetConnectionNamespaces=x;exports.GetDependencyTree=He;exports.GetEditorSchemas=k;exports.GetPluginMeta=w;exports.GetProviders=Fe;exports.GetProvidersForResource=Ae;exports.GetRelated=Ve;exports.GetResourceAreaComponent=Me;exports.GetResourceGroups=K;exports.GetResourceType=X;exports.GetResourceTypes=Y;exports.GetSubgraph=ze;exports.GetWatchState=Z;exports.List=ee;exports.ListAllConnections=te;exports.ListAllPortForwardSessions=we;exports.ListConnections=ne;exports.PluginValues=R;exports.QueryAll=be;exports.RemoveConnection=re;exports.RetryFailedPlugin=O;exports.Set=Be;exports.StartConnection=oe;exports.StartConnectionWatch=ce;exports.StartResourcePortForwardingSession=Oe;exports.StopConnection=ie;exports.StopConnectionWatch=ue;exports.StreamAction=se;exports.Subscribe=Ge;exports.SubscribeResource=ae;exports.Unsubscribe=Pe;exports.UnsubscribeResource=ye;exports.Update=le;exports.UpdateConnection=$e;exports.Values=N;exports.graphservice=jo;exports.servicewrapper=xr;exports.servicewrapper$1=Ao;exports.servicewrapper$2=wt;exports.servicewrapper$3=Ar;exports.servicewrapper$4=ct;exports.servicewrapper$5=on;exports.servicewrapper$6=Ro;exports.servicewrapper$7=uo;exports.servicewrapper$8=Io;exports.servicewrapper$9=Cr;
|