Implement PUT method for addressbook import

This commit is contained in:
Lennart
2025-06-10 23:43:53 +02:00
parent 80cca7b7b2
commit a20e9800bd
8 changed files with 108 additions and 0 deletions

View File

@@ -67,4 +67,11 @@ pub trait AddressbookStore: Send + Sync + 'static {
addressbook_id: &str,
object_id: &str,
) -> Result<(), Error>;
async fn import_addressbook(
&self,
principal: String,
addressbook: Addressbook,
objects: Vec<AddressObject>,
) -> Result<(), Error>;
}