Add Boss list for all games and more boss types
This commit is contained in:
@@ -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' },
|
||||
]
|
||||
|
||||
|
||||
@@ -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',
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user