mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
wsh connreinstall (#317)
This commit is contained in:
@@ -17,6 +17,26 @@ class WshServerType {
|
||||
return WOS.wshServerRpcHelper_call("authenticate", data, opts);
|
||||
}
|
||||
|
||||
// command "conndisconnect" [call]
|
||||
ConnDisconnectCommand(data: string, opts?: RpcOpts): Promise<void> {
|
||||
return WOS.wshServerRpcHelper_call("conndisconnect", data, opts);
|
||||
}
|
||||
|
||||
// command "connensure" [call]
|
||||
ConnEnsureCommand(data: string, opts?: RpcOpts): Promise<void> {
|
||||
return WOS.wshServerRpcHelper_call("connensure", data, opts);
|
||||
}
|
||||
|
||||
// command "connforceconnect" [call]
|
||||
ConnForceConnectCommand(data: string, opts?: RpcOpts): Promise<void> {
|
||||
return WOS.wshServerRpcHelper_call("connforceconnect", data, opts);
|
||||
}
|
||||
|
||||
// command "connreinstallwsh" [call]
|
||||
ConnReinstallWshCommand(data: string, opts?: RpcOpts): Promise<void> {
|
||||
return WOS.wshServerRpcHelper_call("connreinstallwsh", data, opts);
|
||||
}
|
||||
|
||||
// command "controllerinput" [call]
|
||||
ControllerInputCommand(data: CommandBlockInputData, opts?: RpcOpts): Promise<void> {
|
||||
return WOS.wshServerRpcHelper_call("controllerinput", data, opts);
|
||||
|
||||
Vendored
+1
@@ -154,6 +154,7 @@ declare global {
|
||||
status: string;
|
||||
connection: string;
|
||||
connected: boolean;
|
||||
hasconnected: boolean;
|
||||
error?: string;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user