Added more events and categories

This commit is contained in:
Alexis
2024-04-08 17:30:51 +02:00
parent 8b871bbb8f
commit 6738dacb08
7 changed files with 62 additions and 23 deletions

View File

@@ -5,6 +5,8 @@ export interface Character {
description?: string
birth?: LeimDate
death?: LeimDate
hiddenBirth?: boolean
hiddenDeath?: boolean
}
export function isCharacter(object: any): object is Character {

View File

@@ -6,6 +6,7 @@ export interface CalendarEvent {
description?: string
category?: CalendarEventCategory
secondaryCategories?: CalendarEventCategory[]
hidden?: boolean
wiki?: string
}
@@ -17,7 +18,9 @@ export type CalendarEventCategory =
| 'natural-disaster'
| 'inauguration'
| 'religious'
| 'boon'
| 'invention'
| 'science'
| 'boon' // Great event on a global scale
| 'player'
export function isCalendarEvent(object: any): object is CalendarEvent {