API reference: @salmonui/export/ics
ICalendarEventinterface
import type { ICalendarEvent } from '@salmonui/export/ics';interface ICalendarEvent {
readonly uid: string;
readonly summary?: string | undefined;
readonly location?: string | undefined;
readonly description?: string | undefined;
readonly start: ICalendarTime;
readonly end?: ICalendarTime | undefined;
readonly rrule?: string | undefined;
readonly exdates?: readonly ICalendarTime[] | undefined;
readonly recurrenceId?: ICalendarTime | undefined;
readonly dtstamp?: number | undefined;
readonly extra?: Readonly<Record<string, string>> | undefined;
}
One VEVENT.
| Name | Signature | Description |
|---|---|---|
uid | readonly uid: string; | UID; a series and its edited occurrences share it. The parser returns |
summaryoptional | readonly summary?: string | undefined; | |
locationoptional | readonly location?: string | undefined; | |
descriptionoptional | readonly description?: string | undefined; | |
start | readonly start: ICalendarTime; | |
endoptional | readonly end?: ICalendarTime | undefined; | Exclusive end; omitted means zero duration (date-time) or one day (date). |
rruleoptional | readonly rrule?: string | undefined; | RRULE value without the |
exdatesoptional | readonly exdates?: readonly ICalendarTime[] | undefined; | EXDATE values (excluded occurrence starts). |
recurrenceIdoptional | readonly recurrenceId?: ICalendarTime | undefined; | RECURRENCE-ID: the original start of the occurrence this VEVENT replaces. |
dtstampoptional | readonly dtstamp?: number | undefined; | DTSTAMP (epoch ms); defaults to the writer's |
extraoptional | readonly extra?: Readonly<Record<string, string>> | undefined; | Further properties by name ( |