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.
Type Parameters
Section titled “Type Parameters”TMetadata
Section titled “TMetadata”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.
Properties
Section titled “Properties”date:
`${number}-${number}-${number}`
The skipped date (YYYY-MM-DD).
groupId
Section titled “groupId”groupId:
string
Group the event belongs to.
metadata?
Section titled “metadata?”
optionalmetadata?:TMetadata
Source event’s metadata, mirroring CalendarEvent.metadata (present when set).
reason
Section titled “reason”reason:
"exception"
Why it was removed. "exception" = an exceptions skip (EXDATE).
sourceEventId
Section titled “sourceEventId”sourceEventId:
string
Source event-config id.
title:
string
Event title (for display).