A calendar entry in the sohl.core.logic.SohlSystem calendar registry.

interface CalendarRegistration {
    builtin?: boolean;
    calendarClass?: typeof SohlCalendarData;
    config: object;
    label: string;
}

Properties

builtin?: boolean

If true, cannot be deleted via the settings UI

calendarClass?: typeof SohlCalendarData

CalendarData subclass to use (defaults to SohlCalendarData)

config: object

Calendar data matching CalendarData.CreateData shape

label: string

Display name (localization key or plain text)