Add Boss list for all games and more boss types
All checks were successful
CI / backend-lint (pull_request) Successful in 8s
CI / frontend-lint (pull_request) Successful in 30s

This commit is contained in:
2026-02-11 21:33:55 +01:00
parent e61fce5f72
commit f71db65642
54 changed files with 139369 additions and 4512 deletions

View File

@@ -27,6 +27,8 @@ const BOSS_TYPES = [
{ value: 'champion', label: 'Champion' },
{ value: 'rival', label: 'Rival' },
{ value: 'evil_team', label: 'Evil Team' },
{ value: 'kahuna', label: 'Kahuna' },
{ value: 'totem', label: 'Totem' },
{ value: 'other', label: 'Other' },
]

View File

@@ -1329,6 +1329,8 @@ export function RunEncounters() {
champion: 'Champion',
rival: 'Rival',
evil_team: 'Evil Team',
kahuna: 'Kahuna',
totem: 'Totem',
other: 'Boss',
}
const bossTypeColors: Record<string, string> = {
@@ -1337,6 +1339,8 @@ export function RunEncounters() {
champion: 'border-red-400 dark:border-red-600',
rival: 'border-blue-400 dark:border-blue-600',
evil_team: 'border-gray-500 dark:border-gray-400',
kahuna: 'border-orange-400 dark:border-orange-600',
totem: 'border-teal-400 dark:border-teal-600',
other: 'border-gray-400 dark:border-gray-500',
}

View File

@@ -90,6 +90,7 @@ export interface NuzlockeRun {
status: RunStatus
rules: NuzlockeRules
hofEncounterIds: number[] | null
namingScheme: string | null
startedAt: string
completedAt: string | null
}
@@ -132,6 +133,7 @@ export interface CreateRunInput {
gameId: number
name: string
rules?: NuzlockeRules
namingScheme?: string | null
}
export interface UpdateRunInput {
@@ -139,6 +141,7 @@ export interface UpdateRunInput {
status?: RunStatus
rules?: NuzlockeRules
hofEncounterIds?: number[]
namingScheme?: string | null
}
export interface CreateEncounterInput {
@@ -160,7 +163,7 @@ export interface UpdateEncounterInput {
}
// Boss battles
export type BossType = 'gym_leader' | 'elite_four' | 'champion' | 'rival' | 'evil_team' | 'other'
export type BossType = 'gym_leader' | 'elite_four' | 'champion' | 'rival' | 'evil_team' | 'kahuna' | 'totem' | 'other'
export interface BossPokemon {
id: number