Creating Plot Twists
    Preparing search index...

    Type Alias SyncOptions

    Configuration options for calendar synchronization.

    Controls the time range and other parameters for calendar sync operations. Used to limit sync scope and optimize performance.

    type SyncOptions = {
        timeMin?: Date | null;
        timeMax?: Date | null;
    }
    Index

    Properties

    Properties

    timeMin?: Date | null

    Earliest date to sync events from (inclusive).

    • If undefined: defaults to 2 years in the past
    • If null: syncs all history from the beginning of time
    • If Date: syncs from the specified date
    timeMax?: Date | null

    Latest date to sync events to (exclusive).

    • If undefined: no limit (syncs all future events)
    • If null: no limit (syncs all future events)
    • If Date: syncs up to but not including the specified date

    Use cases:

    • Daily digest: Set to end of today
    • Week view: Set to end of current week
    • Performance: Limit initial sync range