Refactor calendar event loading: replace parameters with LoadEventsParam class and implement memory caching for improved performance

This commit is contained in:
mohammad
2025-07-17 11:20:32 +03:00
parent c6729f476f
commit c9b8fbb0c2
8 changed files with 100 additions and 47 deletions

View File

@ -1,9 +1,8 @@
import 'package:syncrow_web/pages/access_management/booking_system/domain/LoadEventsParam.dart';
import 'package:syncrow_web/pages/access_management/booking_system/domain/models/calendar_event_booking.dart';
abstract class CalendarSystemService {
Future<CalendarEventsResponse> getCalendarEvents({
required String spaceId,
required String month,
required String year,
required LoadEventsParam params,
});
}