Add import_calendar method to CalendarStore

This commit is contained in:
Lennart
2025-08-23 12:23:05 +02:00
parent 9c114dc204
commit b7cfd3301b
4 changed files with 70 additions and 0 deletions

View File

@@ -34,6 +34,12 @@ pub trait CalendarStore: Send + Sync + 'static {
use_trashbin: bool,
) -> Result<(), Error>;
async fn restore_calendar(&self, principal: &str, name: &str) -> Result<(), Error>;
async fn import_calendar(
&self,
calendar: Calendar,
objects: Vec<CalendarObject>,
merge_existing: bool,
) -> Result<(), Error>;
async fn sync_changes(
&self,