@hebcal/leyning
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -848,3 +848,3 @@ 'use strict'; | ||
* @param {Event} e the Hebcal event associated with this leyning | ||
* @param {booleam} [il] in Israel | ||
* @param {boolean} [il] in Israel | ||
* @return {Leyning} map of aliyot | ||
@@ -851,0 +851,0 @@ */ |
@@ -0,1 +1,5 @@ | ||
/// <reference types="node"/> | ||
import {Event} from '@hebcal/core'; | ||
declare module '@hebcal/leyning' { | ||
@@ -53,3 +57,3 @@ /** | ||
*/ | ||
export function getLeyningForParshaHaShavua(e: Event, il?: booleam): Leyning; | ||
export function getLeyningForParshaHaShavua(e: Event, il?: boolean): Leyning; | ||
@@ -63,2 +67,21 @@ /** | ||
/** | ||
* Triennial Torah readings | ||
*/ | ||
export class Triennial { | ||
constructor(hebrewYear: number, aliyot: any); | ||
getReadings(): any; | ||
getStartYear(): number; | ||
/** | ||
* Returns triennial year 1, 2 or 3 based on this Hebrew year | ||
* @param year Hebrew year | ||
*/ | ||
static getYearNumber(year: number): number; | ||
/** | ||
* Returns Hebrew year that this 3-year triennial cycle began | ||
* @param year Hebrew year | ||
*/ | ||
static getCycleStartYear(year: number): number; | ||
} | ||
/** | ||
* Calculates the 3-year readings for a given year | ||
@@ -65,0 +88,0 @@ * @param year - Hebrew year |
{ | ||
"name": "@hebcal/leyning", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"author": "Michael J. Radwin (https://github.com/mjradwin)", | ||
@@ -21,2 +21,3 @@ "keywords": [ | ||
}, | ||
"typings": "leyning.d.ts", | ||
"files": [ | ||
@@ -23,0 +24,0 @@ "dist", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
168972
4011