View as Markdown

API reference: @salmonui/export/ics

ICalendarWriteOptionsinterface

import type { ICalendarWriteOptions } from '@salmonui/export/ics';
interface ICalendarWriteOptions {
    readonly prodId?: string | undefined;
    readonly method?: string | undefined;
    readonly calendarName?: string | undefined;
    readonly timeZone?: string | undefined;
    readonly dtstamp?: number | undefined;
    readonly vtimezone?: boolean | undefined;
    readonly properties?: Readonly<Record<string, string>> | undefined;
}
ICalendarWriteOptions members (7)
NameSignatureDescription
prodIdoptionalreadonly prodId?: string | undefined;

PRODID. Default -//Salmon UI//Scheduler//EN.

methodoptionalreadonly method?: string | undefined;

METHOD (PUBLISH, REQUEST); omitted by default.

calendarNameoptionalreadonly calendarName?: string | undefined;

X-WR-CALNAME.

timeZoneoptionalreadonly timeZone?: string | undefined;

X-WR-TIMEZONE (the calendar's default zone, informational).

dtstampoptionalreadonly dtstamp?: number | undefined;

DTSTAMP of events without their own (epoch ms). Default Date.now().

vtimezoneoptionalreadonly vtimezone?: boolean | undefined;

VTIMEZONE components for every TZID used, from the platform zone data. Default true.

propertiesoptionalreadonly properties?: Readonly<Record<string, string>> | undefined;

Further calendar-level properties (TEXT values).