Skip to content

SkippedOccurrence

An occurrence that WOULD have fallen in a range but was removed — e.g. a date marked { skip: true } in an event’s exceptions (ICS EXDATE). Surfaced by getSkipped() so a consumer can draw it (struck-through “ghost”) without re-reading the event store.

TMetadata extends Record<string, unknown> = Record<string, unknown>

mirrors CalendarEvent so the skipped path recovers the same domain object stored in metadata, with no side sourceEventId → event map.

date: `${number}-${number}-${number}`

The skipped date (YYYY-MM-DD).


groupId: string

Group the event belongs to.


optional metadata?: TMetadata

Source event’s metadata, mirroring CalendarEvent.metadata (present when set).


reason: "exception"

Why it was removed. "exception" = an exceptions skip (EXDATE).


sourceEventId: string

Source event-config id.


title: string

Event title (for display).