@hebcal/leyning
Version:
Torah Reading API for Parashat HaShavua and holidays
18 lines (17 loc) • 807 B
TypeScript
import { Event } from '@hebcal/core/dist/esm/event';
import { Leyning } from './types';
/**
* Looks up leyning for a given holiday key. Key should be an
* (untranslated) string used in holiday-readings.json. Returns some
* of full kriyah aliyot, special Maftir, special Haftarah
* @param key name from `holiday-readings.json` to find
*/
export declare function getLeyningForHolidayKey(key?: string, cholHaMoedDay?: number, il?: boolean): Leyning | undefined;
/**
* Looks up leyning for a given holiday. Returns some
* of full kriyah aliyot, special Maftir, special Haftarah
* @param ev the Hebcal event associated with this leyning
* @param [il] true if Israel holiday scheme
* @returns map of aliyot
*/
export declare function getLeyningForHoliday(ev: Event, il?: boolean): Leyning | undefined;