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:
2026-08-18 07:41:50 -04:00
parent 25669dfdae
commit a68ab716b7
5 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -5,13 +5,14 @@
// don't need a record at all (they're just collect-text lookups via // 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 // propers/index.ts's getTemporalProper); this only exists for the ones
// that do. // that do.
import type { OctaveConfig } from './types'; import type { FeastClass, OctaveConfig } from './types';
import { easterOffsetOf } from './temporal'; import { easterOffsetOf } from './temporal';
export interface TemporalFeastRecord { export interface TemporalFeastRecord {
id: string; id: string;
name: string; name: string;
octave?: OctaveConfig; octave?: OctaveConfig;
rank?: FeastClass;
} }
const temporalFeastModules = import.meta.glob<{ default: TemporalFeastRecord }>( const temporalFeastModules = import.meta.glob<{ default: TemporalFeastRecord }>(
@@ -6,3 +6,4 @@
# See calendar/index.ts's applyChristTheKing for the occurrence rule. # See calendar/index.ts's applyChristTheKing for the occurrence rule.
id: christ-the-king id: christ-the-king
name: "Christ the King" name: "Christ the King"
rank: duplex-1-classis
@@ -12,5 +12,6 @@
# specifically. # specifically.
id: christmas-day id: christmas-day
name: "Christmas" name: "Christmas"
rank: duplex-1-classis
octave: octave:
enabled: true enabled: true
@@ -5,3 +5,4 @@
# for how a day actually becomes this. # for how a day actually becomes this.
id: marian-saturday id: marian-saturday
name: "Our Lady's Saturday" name: "Our Lady's Saturday"
rank: simplex
@@ -10,6 +10,7 @@
# before it gets the chance. # before it gets the chance.
id: pentecost-sunday id: pentecost-sunday
name: "Pentecost" name: "Pentecost"
rank: duplex-1-classis
octave: octave:
enabled: true enabled: true
wins: duplex wins: duplex