2026-09-18 16:08:41 -04:00
|
|
|
// The fields, named once for every JavaScript surface. Written out rather than
|
|
|
|
|
// spread, so that a field the package stops exporting is a missing key here and
|
|
|
|
|
// not a silently absent one.
|
|
|
|
|
export function shape(d) {
|
|
|
|
|
return {
|
|
|
|
|
date: d.date, weekday: d.weekday, jurisdiction: d.jurisdiction,
|
|
|
|
|
calendar: d.calendar, churchDate: d.churchDate, season: d.season,
|
2026-09-21 09:25:56 -04:00
|
|
|
cycle: d.cycle, week: d.week, feast: d.feast, rank: d.rank, sign: d.sign,
|
2026-09-18 16:08:41 -04:00
|
|
|
tradition: d.tradition, title: d.title, commemorations: d.commemorations,
|
|
|
|
|
fast: d.fast, fastLabel: d.fastLabel, emoji: d.emoji, reason: d.reason,
|
|
|
|
|
obligation: d.obligation, binds: d.binds, pascha: d.pascha,
|
|
|
|
|
daysToPascha: d.daysToPascha, julianOffset: d.julianOffset,
|
|
|
|
|
};
|
|
|
|
|
}
|