feat: implement drag-and-drop connection reordering
This commit is contained in:
Vendored
+4
-2
@@ -27,10 +27,12 @@ export function PromptUploadDirectory(arg1:string,arg2:string):Promise<void>;
|
||||
|
||||
export function PromptUploadFiles(arg1:string,arg2:string):Promise<void>;
|
||||
|
||||
export function QueueTransfer(arg1:string,arg2:string,arg3:string,arg4:string,arg5:string,arg6:string,arg7:number):Promise<void>;
|
||||
export function QueueTransfer(arg1:string,arg2:string,arg3:string,arg4:string,arg5:string,arg6:string,arg7:number,arg8:boolean,arg9:number):Promise<void>;
|
||||
|
||||
export function Rename(arg1:string,arg2:string,arg3:string):Promise<void>;
|
||||
|
||||
export function ReorderConnections(arg1:Array<string>):Promise<void>;
|
||||
|
||||
export function SaveConnection(arg1:config.ConnectionConfig,arg2:string):Promise<void>;
|
||||
|
||||
export function TransferItems(arg1:string,arg2:string,arg3:string,arg4:Array<main.TransferItem>):Promise<void>;
|
||||
export function TransferItems(arg1:string,arg2:string,arg3:string,arg4:Array<main.TransferItem>,arg5:boolean,arg6:number):Promise<void>;
|
||||
|
||||
@@ -46,18 +46,22 @@ export function PromptUploadFiles(arg1, arg2) {
|
||||
return window['go']['main']['App']['PromptUploadFiles'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function QueueTransfer(arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
||||
return window['go']['main']['App']['QueueTransfer'](arg1, arg2, arg3, arg4, arg5, arg6, arg7);
|
||||
export function QueueTransfer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
||||
return window['go']['main']['App']['QueueTransfer'](arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
|
||||
}
|
||||
|
||||
export function Rename(arg1, arg2, arg3) {
|
||||
return window['go']['main']['App']['Rename'](arg1, arg2, arg3);
|
||||
}
|
||||
|
||||
export function ReorderConnections(arg1) {
|
||||
return window['go']['main']['App']['ReorderConnections'](arg1);
|
||||
}
|
||||
|
||||
export function SaveConnection(arg1, arg2) {
|
||||
return window['go']['main']['App']['SaveConnection'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function TransferItems(arg1, arg2, arg3, arg4) {
|
||||
return window['go']['main']['App']['TransferItems'](arg1, arg2, arg3, arg4);
|
||||
export function TransferItems(arg1, arg2, arg3, arg4, arg5, arg6) {
|
||||
return window['go']['main']['App']['TransferItems'](arg1, arg2, arg3, arg4, arg5, arg6);
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ export namespace config {
|
||||
bucket?: string;
|
||||
region?: string;
|
||||
path_style?: boolean;
|
||||
secure?: boolean;
|
||||
username?: string;
|
||||
keychain_key?: string;
|
||||
|
||||
@@ -26,6 +27,7 @@ export namespace config {
|
||||
this.bucket = source["bucket"];
|
||||
this.region = source["region"];
|
||||
this.path_style = source["path_style"];
|
||||
this.secure = source["secure"];
|
||||
this.username = source["username"];
|
||||
this.keychain_key = source["keychain_key"];
|
||||
}
|
||||
@@ -96,6 +98,8 @@ export namespace transfer {
|
||||
eta_seconds: number;
|
||||
status: string;
|
||||
error?: string;
|
||||
verify: boolean;
|
||||
limit_mbps: number;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new Transfer(source);
|
||||
@@ -113,6 +117,8 @@ export namespace transfer {
|
||||
this.eta_seconds = source["eta_seconds"];
|
||||
this.status = source["status"];
|
||||
this.error = source["error"];
|
||||
this.verify = source["verify"];
|
||||
this.limit_mbps = source["limit_mbps"];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Regular → Executable
Regular → Executable
Reference in New Issue
Block a user