Added secondary categories to events / characters

This commit is contained in:
Alexis
2024-05-18 17:23:27 +02:00
parent 471df5e559
commit 3de59116aa
7 changed files with 105 additions and 80 deletions

View File

@@ -8,6 +8,7 @@ export interface CalendarEvent {
endDate?: RPGDate
description?: string
category?: Category
secondaryCategories?: Category[]
hidden?: boolean
wiki?: string
}

View File

@@ -1,3 +1,4 @@
import type { Category } from './Category'
import type { RPGDate } from './Date'
export interface Character {
@@ -7,8 +8,8 @@ export interface Character {
death?: RPGDate
hiddenBirth?: boolean
hiddenDeath?: boolean
category?: CharacterCategory
secondaryCategories?: CharacterCategory[]
category?: Category
secondaryCategories?: Category[]
wiki?: string
}
export const characterCategories = [