TF-145 Implement LoadMoreEmails in ThreadView
This commit is contained in:
@@ -5,23 +5,22 @@ import 'package:jmap_dart_client/jmap/core/sort/comparator.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/state.dart' as jmap;
|
||||
import 'package:jmap_dart_client/jmap/core/unsigned_int.dart';
|
||||
import 'package:jmap_dart_client/jmap/mail/mailbox/mailbox.dart';
|
||||
import 'package:model/model.dart';
|
||||
import 'package:tmail_ui_user/features/thread/domain/model/email_response.dart';
|
||||
|
||||
abstract class ThreadRepository {
|
||||
Stream<EmailResponse> getAllEmail(
|
||||
Stream<EmailsResponse> getAllEmail(
|
||||
AccountId accountId,
|
||||
{
|
||||
int? position,
|
||||
UnsignedInt? limit,
|
||||
Set<Comparator>? sort,
|
||||
Filter? filter,
|
||||
EmailFilter? emailFilter,
|
||||
Properties? propertiesCreated,
|
||||
Properties? propertiesUpdated,
|
||||
MailboxId? inMailboxId
|
||||
}
|
||||
);
|
||||
|
||||
Stream<EmailResponse> refreshChanges(
|
||||
Stream<EmailsResponse> refreshChanges(
|
||||
AccountId accountId,
|
||||
jmap.State currentState,
|
||||
{
|
||||
@@ -31,4 +30,14 @@ abstract class ThreadRepository {
|
||||
MailboxId? inMailboxId
|
||||
}
|
||||
);
|
||||
|
||||
Stream<EmailsResponse> loadMoreEmails(
|
||||
AccountId accountId,
|
||||
{
|
||||
UnsignedInt? limit,
|
||||
Set<Comparator>? sort,
|
||||
Filter? filter,
|
||||
Properties? properties,
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user