DAVAccount
export type DAVAccount = {
accountType: 'caldav' | 'carddav';
serverUrl: string;
credentials?: DAVCredentials;
rootUrl?: string;
principalUrl?: string;
homeUrl?: string;
calendars?: DAVCalendar[];
addressBooks?: DAVAddressBook[];
};
accountTypecan becaldavorcarddavserverUrlserver url of the accountcredentialsDAVCredentialsrootUrlroot url of the accountprincipalUrlprincipal resource urlhomeUrlresource home set urlcalendarscalendars of the account, will only be populated by createAccountaddressBooksaddressBooks of the account, will only be populated by createAccount