# ICalendarWriteOptions (@salmonui/export/ics)

> The ICalendarWriteOptions interface of @salmonui/export/ics.

Canonical: https://salmonui.dev/docs/reference/export/ics/ICalendarWriteOptions

```ts
import type { ICalendarWriteOptions } from '@salmonui/export/ics';
```

Entry index: https://salmonui.dev/docs/reference/export/ics (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/export/ics.md).

## Reference

Kind: interface

```ts
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;
}
```

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `prodId` | `readonly prodId?: string \| undefined;` | optional | PRODID. Default `-//Salmon UI//Scheduler//EN`. |
| `method` | `readonly method?: string \| undefined;` | optional | METHOD (`PUBLISH`, `REQUEST`); omitted by default. |
| `calendarName` | `readonly calendarName?: string \| undefined;` | optional | X-WR-CALNAME. |
| `timeZone` | `readonly timeZone?: string \| undefined;` | optional | X-WR-TIMEZONE (the calendar's default zone, informational). |
| `dtstamp` | `readonly dtstamp?: number \| undefined;` | optional | DTSTAMP of events without their own (epoch ms). Default `Date.now()`. |
| `vtimezone` | `readonly vtimezone?: boolean \| undefined;` | optional | VTIMEZONE components for every TZID used, from the platform zone data. Default true. |
| `properties` | `readonly properties?: Readonly<Record<string, string>> \| undefined;` | optional | Further calendar-level properties (TEXT values). |
