UNPKG

@hebcal/leyning

Version:

Torah Reading API for Parashat HaShavua and holidays

22 lines (21 loc) 1.02 kB
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 * @param cholHaMoedDay * @param il true if Israel holiday scheme * @param language language for summary (default 'en') */ export declare function getLeyningForHolidayKey(key?: string, cholHaMoedDay?: number, il?: boolean, language?: string): 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 * @param [language] language for summary (default 'en') * @returns map of aliyot */ export declare function getLeyningForHoliday(ev: Event, il?: boolean, language?: string): Leyning | undefined;