This commit is contained in:
Baobhan Sith
2025-05-15 19:49:12 +08:00
parent b9d1a70b9a
commit d59794928a
4 changed files with 79 additions and 9 deletions
+7
View File
@@ -293,4 +293,11 @@ export interface SftpDecompressErrorPayload {
error: string;
details?: string; // Stderr output or specific error details
requestId: string;
}
// S -> C: SFTP Upload Progress (New)
export interface SftpUploadProgressPayload {
uploadId: string; // To correlate with the specific upload
bytesWritten: number;
totalSize: number;
progress: number; // Calculated percentage (0-100)
}