UNPKG

sanctus

Version:

Generate saints of the Martyrology of the Roman Catholic Church

20 lines (19 loc) 550 B
export interface SanctusInterface { getSaint: (date?: Date) => SaintInfo | undefined; getSaintFromMonthDay: (month: number, day: number) => SaintInfo | undefined; getSaintsOfDay: (date?: Date) => SaintInfo[]; getAllSaints: () => SaintInfo[]; getCurrentDate: () => Date; setDate: (date: Date) => void; } export type SaintInfo = { month: number; day: number; category: number; name: string; birth?: string; dead?: string; meaning?: string; shortDescription?: string; description?: string; };