Member Junction
    Preparing search index...

    The minimal Microsoft Graph calendar surface GraphCalendarSource drives. A production wiring implements this over @microsoft/microsoft-graph-clientGET /users/{userId}/calendarView/delta (or /me/events/delta), following @odata.nextLink page-to-page and capturing the final @odata.deltaLink. Tests inject a fake. NO Graph SDK types leak through this surface.

    interface IGraphCalendarLike {
        listEvents(userId: string, cursor?: string): Promise<GraphEventPage>;
    }

    Implemented by

    Index

    Methods

    Methods

    • Lists one page of calendar events for userId. deltaLink is the opaque cursor from a prior poll's final page (or undefined for the first poll); nextLink is the in-poll continuation token. The adapter pages by following nextLink until the surface returns a deltaLink.

      Parameters

      • userId: string

        The mailbox/identity address whose calendar to read.

      • Optionalcursor: string

        The Graph delta/next link to resume from (opaque), or undefined to start fresh.

      Returns Promise<GraphEventPage>