DAVAccount
export type DAVAccount = {
  accountType: 'caldav' | 'carddav';
  serverUrl: string;
  credentials?: DAVCredentials;
  rootUrl?: string;
  principalUrl?: string;
  homeUrl?: string;
  calendars?: DAVCalendar[];
  addressBooks?: DAVAddressBook[];
};
- accountTypecan be- caldavor- carddav
- serverUrlserver url of the account
- credentialsDAVCredentials
- rootUrlroot url of the account
- principalUrlprincipal resource url
- homeUrlresource home set url
- calendarscalendars of the account, will only be populated by createAccount
- addressBooksaddressBooks of the account, will only be populated by createAccount