DAVAccount
export type DAVAccount = {
accountType: 'caldav' | 'carddav';
serverUrl: string;
credentials?: DAVCredentials;
rootUrl?: string;
principalUrl?: string;
homeUrl?: string;
calendars?: DAVCalendar[];
addressBooks?: DAVAddressBook[];
};
accountType
can becaldav
orcarddav
serverUrl
server url of the accountcredentials
DAVCredentialsrootUrl
root url of the accountprincipalUrl
principal resource urlhomeUrl
resource home set urlcalendars
calendars of the account, will only be populated by createAccountaddressBooks
addressBooks of the account, will only be populated by createAccount