Skip to content

DAVCalendar

export type DAVCalendar = {
components?: string[];
timezone?: string;
projectedProps?: Record<string, unknown>;
calendarColor?: string;
} & DAVCollection;

Alias of DAVCollection with:

  • timezone — iCalendar VTIMEZONE component string returned by CALDAV:calendar-timezone
  • components — array of supported calendar components defined in RFC 5545 (for example VEVENT, VTODO, VJOURNAL)
  • calendarColor — Apple CalDAV calendar-color property value (for example #ff0000ff)
  • projectedProps — object of additional custom properties projected by passing props and projectedProps to fetchCalendars