feat: Migrate to hero-models for calendar event data

- Replaced custom `CalendarEvent` model with `heromodels`' `Event` model.
- Updated database interactions and controller logic to use the new model.
- Removed unnecessary `CalendarEvent` model and related code.
- Updated views to reflect changes in event data structure.
This commit is contained in:
Mahmoud-Emad
2025-06-03 15:12:53 +03:00
parent 2299b61e79
commit 9802d51acc
8 changed files with 47 additions and 111 deletions

View File

@@ -7,7 +7,7 @@ use tera::{self, Context, Function, Tera, Value};
pub mod redis_service;
// Re-export for easier imports
pub use redis_service::RedisCalendarService;
// pub use redis_service::RedisCalendarService; // Currently unused
/// Error type for template rendering
#[derive(Debug)]