Skip to content

EventText

Base localizable text for any event type. Plugins extend this pattern with their own key types.

// Plugin defines its texts type
type LiturgicalTexts = Record<MassKey, EventText>;
// User provides translations
const viTexts: LiturgicalTexts = {
EASTER_SUNDAY: { title: "Easter Sunday", keywords: ["easter"] },
// ...
};

optional keywords?: string[]

Search keywords for filtering/search (optional)


title: string

Event title (required)