TF-2819 calendar event maybe abstract data source & repo
This commit is contained in:
@@ -532,7 +532,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: master
|
||||
resolved-ref: "2f84c2ccf5bdec830e07a18bb42338220c0e1279"
|
||||
resolved-ref: "76e83e4469e137758b138ddec42177ca4292f1da"
|
||||
url: "https://github.com/linagora/jmap-dart-client.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
||||
@@ -296,7 +296,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: master
|
||||
resolved-ref: "2f84c2ccf5bdec830e07a18bb42338220c0e1279"
|
||||
resolved-ref: "76e83e4469e137758b138ddec42177ca4292f1da"
|
||||
url: "https://github.com/linagora/jmap-dart-client.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
||||
+1
-1
@@ -296,7 +296,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: master
|
||||
resolved-ref: "2f84c2ccf5bdec830e07a18bb42338220c0e1279"
|
||||
resolved-ref: "76e83e4469e137758b138ddec42177ca4292f1da"
|
||||
url: "https://github.com/linagora/jmap-dart-client.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
||||
@@ -296,7 +296,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: master
|
||||
resolved-ref: "2f84c2ccf5bdec830e07a18bb42338220c0e1279"
|
||||
resolved-ref: "76e83e4469e137758b138ddec42177ca4292f1da"
|
||||
url: "https://github.com/linagora/jmap-dart-client.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
import 'package:jmap_dart_client/jmap/account_id.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/id.dart';
|
||||
import 'package:jmap_dart_client/jmap/mail/calendar/reply/calendar_event_accept_response.dart';
|
||||
import 'package:jmap_dart_client/jmap/mail/calendar/reply/calendar_event_maybe_response.dart';
|
||||
import 'package:tmail_ui_user/features/email/domain/model/event_action.dart';
|
||||
import 'package:tmail_ui_user/features/email/presentation/model/blob_calendar_event.dart';
|
||||
|
||||
@@ -11,4 +12,6 @@ abstract class CalendarEventDataSource {
|
||||
Future<List<EventAction>> getListEventAction(String emailContents);
|
||||
|
||||
Future<CalendarEventAcceptResponse> acceptEventInvitation(AccountId accountId, Set<Id> blobIds);
|
||||
|
||||
Future<CalendarEventMaybeResponse> maybeEventInvitation(AccountId accountId, Set<Id> blobIds);
|
||||
}
|
||||
@@ -3,9 +3,12 @@ import 'package:jmap_dart_client/jmap/account_id.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/id.dart';
|
||||
import 'package:jmap_dart_client/jmap/mail/calendar/reply/calendar_event_accept_response.dart';
|
||||
import 'package:tmail_ui_user/features/email/presentation/model/blob_calendar_event.dart';
|
||||
import 'package:jmap_dart_client/jmap/mail/calendar/reply/calendar_event_maybe_response.dart';
|
||||
|
||||
abstract class CalendarEventRepository {
|
||||
Future<List<BlobCalendarEvent>> parse(AccountId accountId, Set<Id> blobIds);
|
||||
|
||||
Future<CalendarEventAcceptResponse> acceptEventInvitation(AccountId accountId, Set<Id> blobIds);
|
||||
|
||||
Future<CalendarEventMaybeResponse> maybeEventInvitation(AccountId accountId, Set<Id> blobIds);
|
||||
}
|
||||
+1
-1
@@ -524,7 +524,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: master
|
||||
resolved-ref: "2f84c2ccf5bdec830e07a18bb42338220c0e1279"
|
||||
resolved-ref: "76e83e4469e137758b138ddec42177ca4292f1da"
|
||||
url: "https://github.com/linagora/jmap-dart-client.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
||||
+1
-1
@@ -1116,7 +1116,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: master
|
||||
resolved-ref: "2f84c2ccf5bdec830e07a18bb42338220c0e1279"
|
||||
resolved-ref: "76e83e4469e137758b138ddec42177ca4292f1da"
|
||||
url: "https://github.com/linagora/jmap-dart-client.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
||||
@@ -296,7 +296,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: master
|
||||
resolved-ref: "2f84c2ccf5bdec830e07a18bb42338220c0e1279"
|
||||
resolved-ref: "76e83e4469e137758b138ddec42177ca4292f1da"
|
||||
url: "https://github.com/linagora/jmap-dart-client.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
||||
Reference in New Issue
Block a user