@hebcal/leyning
    Preparing search index...

    Type Alias SpecialReading

    Result of specialReadings2: the overrides that apply when the weekly parsha coincides with a special occasion (Shabbat Rosh Chodesh, Shabbat Chanukah, one of the four special Shabbatot, etc.).

    type SpecialReading = {
        aliyot: AliyotMap;
        chabad?: Aliyah | Aliyah[];
        haft?: Aliyah | Aliyah[];
        reason: StringMap;
        seph?: Aliyah | Aliyah[];
    }
    Index
    aliyot: AliyotMap

    The Torah reading with any special maftir or 7th aliyah already merged in, keyed by "1" through "7" plus "M" for the maftir

    chabad?: Aliyah | Aliyah[]

    Overriding Haftarah for Chabad, if applicable

    haft?: Aliyah | Aliyah[]

    Overriding Haftarah, if the special occasion replaces the regular one

    reason: StringMap

    Explanations for the overrides, keyed by aliyah number ("1""7"), "M" for the maftir, or "haftara"/"sephardic"/"chabad" for the corresponding Haftarah. The value is an untranslated reason key.

    seph?: Aliyah | Aliyah[]

    Overriding Haftarah for Sephardim, if applicable