Add rank data to named temporal feast records
TemporalFeastRecord had no rank field at all, so Christmas/Pentecost/ Christ the King/Marian Saturday had nothing for the day label to show. Christmas, Pentecost, and Christ the King are Duplex I Class (the latter's own file comment already said so); Marian Saturday is a Simplex-strength votive commemoration. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,13 +5,14 @@
|
||||
// don't need a record at all (they're just collect-text lookups via
|
||||
// propers/index.ts's getTemporalProper); this only exists for the ones
|
||||
// that do.
|
||||
import type { OctaveConfig } from './types';
|
||||
import type { FeastClass, OctaveConfig } from './types';
|
||||
import { easterOffsetOf } from './temporal';
|
||||
|
||||
export interface TemporalFeastRecord {
|
||||
id: string;
|
||||
name: string;
|
||||
octave?: OctaveConfig;
|
||||
rank?: FeastClass;
|
||||
}
|
||||
|
||||
const temporalFeastModules = import.meta.glob<{ default: TemporalFeastRecord }>(
|
||||
|
||||
@@ -6,3 +6,4 @@
|
||||
# See calendar/index.ts's applyChristTheKing for the occurrence rule.
|
||||
id: christ-the-king
|
||||
name: "Christ the King"
|
||||
rank: duplex-1-classis
|
||||
|
||||
@@ -12,5 +12,6 @@
|
||||
# specifically.
|
||||
id: christmas-day
|
||||
name: "Christmas"
|
||||
rank: duplex-1-classis
|
||||
octave:
|
||||
enabled: true
|
||||
|
||||
@@ -5,3 +5,4 @@
|
||||
# for how a day actually becomes this.
|
||||
id: marian-saturday
|
||||
name: "Our Lady's Saturday"
|
||||
rank: simplex
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
# before it gets the chance.
|
||||
id: pentecost-sunday
|
||||
name: "Pentecost"
|
||||
rank: duplex-1-classis
|
||||
octave:
|
||||
enabled: true
|
||||
wins: duplex
|
||||
|
||||
Reference in New Issue
Block a user