TF-1866 Add abstraction method for delete sending email

(cherry picked from commit c4a9fce0c08ce0c6976bc367ade567430fbfcff3)
This commit is contained in:
dab246
2023-06-05 09:11:57 +07:00
committed by Dat Vu
parent 2a4d1b302e
commit b3c85a2810
5 changed files with 90 additions and 0 deletions
@@ -5,4 +5,6 @@ import 'package:tmail_ui_user/features/composer/domain/model/sending_email.dart'
abstract class SendingQueueRepository {
Future<List<SendingEmail>> getAllSendingEmails(AccountId accountId, UserName userName, {bool needToReopen = false});
Future<void> deleteSendingEmail(AccountId accountId, UserName userName, String sendingId);
}