mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 13:16:53 +00:00
feat(GODT-2261): sync progress in GUI.
This commit is contained in:
@ -449,6 +449,9 @@ message UserEvent {
|
||||
UserBadEvent userBadEvent = 4;
|
||||
UsedBytesChangedEvent usedBytesChangedEvent = 5;
|
||||
ImapLoginFailedEvent imapLoginFailedEvent = 6;
|
||||
SyncStartedEvent syncStartedEvent = 7;
|
||||
SyncFinishedEvent syncFinishedEvent = 8;
|
||||
SyncProgressEvent syncProgressEvent = 9;
|
||||
}
|
||||
}
|
||||
|
||||
@ -478,6 +481,21 @@ message ImapLoginFailedEvent {
|
||||
string username = 1;
|
||||
}
|
||||
|
||||
message SyncStartedEvent {
|
||||
string userID = 1;
|
||||
}
|
||||
|
||||
message SyncFinishedEvent {
|
||||
string userID = 1;
|
||||
}
|
||||
|
||||
message SyncProgressEvent {
|
||||
string userID = 1;
|
||||
double progress = 2;
|
||||
int64 elapsedMs = 3;
|
||||
int64 remainingMs = 4;
|
||||
}
|
||||
|
||||
//**********************************************************
|
||||
// Generic errors
|
||||
//**********************************************************
|
||||
|
||||
Reference in New Issue
Block a user