Pebble App Framework: Phone API
    Preparing search index...
    default: {
        CALENDAR_PROPERTIES: string[];
        CALENDAR_PROPERTIES_WITH_DESCRIPTION: string[];
        CALENDAR_SOURCE_SELECT: ClayConfigItem;
        CALENDAR_TEXTS: PluginSourceTexts;
        eventsFromUpdate: (
            envelope: SourceEnvelope | null | undefined,
            nowSeconds: number,
            offsetAt?: PhoneOffset,
        ) => CalendarEvent[];
        ICAL_VALUE: string;
    }

    Type Declaration

    • CALENDAR_PROPERTIES: string[]

      The properties the calendar subscription asks for, all the mapping reads apart from description. A face never shows an event's notes, so it does not ask for them.

    • CALENDAR_PROPERTIES_WITH_DESCRIPTION: string[]

      The properties a plugin app asks the built-in Calendar plugin for when it serves the events on with their notes. It is CALENDAR_PROPERTIES and description, which the built-in sends only to a read that names it or names no properties at all.

    • CALENDAR_SOURCE_SELECT: ClayConfigItem

      The Calendar Source select the page hook adds to the section holding the iCal link.

      A face's own page has no such row, since without plugins it would offer "iCal Link" alone. The page hook adds Preferred Source beside it when a plugin serves the events, and drops the select again when nothing does.

    • CALENDAR_TEXTS: PluginSourceTexts

      The calendar page hook's rows, which show only while the plugin is picked. On a face whose providers list is the plugin alone they always show, and the one for no plugin joins them.

    • eventsFromUpdate: (
          envelope: SourceEnvelope | null | undefined,
          nowSeconds: number,
          offsetAt?: PhoneOffset,
      ) => CalendarEvent[]
    • ICAL_VALUE: string

      The value the Calendar Source select saves for the iCal link, the choice every calendar face has.