TF-1068 implement clean up save recent & get all login username

This commit is contained in:
Ms Thuỷ
2022-10-24 17:43:36 +07:00
committed by Dat H. Pham
parent 00c37870b1
commit 4beb2ef146
10 changed files with 111 additions and 2 deletions
@@ -1,6 +1,7 @@
import 'package:tmail_ui_user/features/cleanup/domain/model/email_cleanup_rule.dart';
import 'package:tmail_ui_user/features/cleanup/domain/model/recent_login_url_cleanup_rule.dart';
import 'package:tmail_ui_user/features/cleanup/domain/model/recent_login_username_cleanup_rule.dart';
import 'package:tmail_ui_user/features/cleanup/domain/model/recent_search_cleanup_rule.dart';
abstract class CleanupDataSource {
@@ -9,4 +10,6 @@ abstract class CleanupDataSource {
Future<void> cleanRecentSearchCache(RecentSearchCleanupRule cleanupRule);
Future<void> cleanRecentLoginUrlCache(RecentLoginUrlCleanupRule cleanupRule);
Future<void> cleanRecentLoginUsernameCache(RecentLoginUsernameCleanupRule cleanupRule);
}