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
// 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