feat: refine sftp pane upload workflow
This commit is contained in:
@@ -78,6 +78,14 @@ export interface UploadTask {
|
||||
finishedAt: number
|
||||
}
|
||||
|
||||
export interface UploadConflictResponse {
|
||||
code: 'SFTP_UPLOAD_CONFLICT'
|
||||
fileName: string
|
||||
conflictType: 'file' | 'dir'
|
||||
canOverwrite: boolean
|
||||
message: string
|
||||
}
|
||||
|
||||
export interface RemoteTransferTask {
|
||||
taskId: string
|
||||
status: 'queued' | 'running' | 'success' | 'error' | 'cancelled'
|
||||
|
||||
Reference in New Issue
Block a user