diff --git a/lib/features/email/data/datasource/calendar_event_datasource.dart b/lib/features/email/data/datasource/calendar_event_datasource.dart new file mode 100644 index 000000000..3f34688d1 --- /dev/null +++ b/lib/features/email/data/datasource/calendar_event_datasource.dart @@ -0,0 +1,8 @@ + +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/calendar_event.dart'; + +abstract class CalendarEventDataSource { + Future> parse(AccountId accountId, Set blobIds); +} \ No newline at end of file diff --git a/lib/features/email/domain/repository/calendar_event_repository.dart b/lib/features/email/domain/repository/calendar_event_repository.dart new file mode 100644 index 000000000..809b12c7e --- /dev/null +++ b/lib/features/email/domain/repository/calendar_event_repository.dart @@ -0,0 +1,8 @@ + +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/calendar_event.dart'; + +abstract class CalendarEventRepository { + Future> parse(AccountId accountId, Set blobIds); +} \ No newline at end of file