UNPKG

jewish-dates-core

Version:
43 lines 1.2 kB
import * as Dayjs from "dayjs"; import { BasicJewishDate as OrigBasicJewishDate, JewishDate as OrigJewishDate, JewishMonthType as OrigJewishMonthType } from "jewish-date"; export type BasicJewishDate = OrigBasicJewishDate; export type JewishDate = OrigJewishDate; export type JewishMonthType = OrigJewishMonthType; export interface BasicJewishDay { jewishDateStr: string; jewishDateStrHebrew: string; jewishDate: JewishDate; date: Date; } export interface JewishDay extends BasicJewishDay { day: number; isCurrentMonth: boolean; dayjsDate: Dayjs.Dayjs; } export interface Month { id: string; text: string; } export interface BasicJewishMonthInfo { month: JewishMonthType; year: number; isHebrew?: boolean; } export interface JewishMonthMetadata { jewishDate: JewishDate; jewishMonth: number; startOfJewishMonth: Dayjs.Dayjs; sundayStartOfTheMonth: Dayjs.Dayjs; } export interface JewishMonthInfo { selectedDay: JewishDay; jewishYear: number; jewishMonth: number; jewishMonthString: string; days: JewishDay[]; } export interface IdText { id: string; text: string; } //# sourceMappingURL=interfaces.d.ts.map