TF-2802 Expose blobId of chosen calendar event after parse
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/id.dart';
|
||||
import 'package:jmap_dart_client/jmap/mail/calendar/calendar_event.dart';
|
||||
import 'package:tmail_ui_user/features/email/domain/model/event_action.dart';
|
||||
|
||||
@@ -7,13 +8,13 @@ class ParseCalendarEventLoading extends LoadingState {}
|
||||
|
||||
class ParseCalendarEventSuccess extends UIState {
|
||||
|
||||
final List<CalendarEvent> calendarEventList;
|
||||
final Map<Id, List<CalendarEvent>> calendarEventMap;
|
||||
final List<EventAction> eventActionList;
|
||||
|
||||
ParseCalendarEventSuccess(this.calendarEventList, this.eventActionList);
|
||||
ParseCalendarEventSuccess(this.calendarEventMap, this.eventActionList);
|
||||
|
||||
@override
|
||||
List<Object> get props => [calendarEventList, eventActionList];
|
||||
List<Object> get props => [calendarEventMap, eventActionList];
|
||||
}
|
||||
|
||||
class ParseCalendarEventFailure extends FeatureFailure {
|
||||
|
||||
Reference in New Issue
Block a user