add variant fileter

This commit is contained in:
2026-03-05 00:00:38 -05:00
parent f44f1acb92
commit 6ec5b95982
8 changed files with 186 additions and 17 deletions

View File

@@ -1,6 +1,10 @@
import type { AlbionCity } from './api'
import type { Tier, Enchantment } from './crafting'
export type VariantType = 'basic' | 'artifact' | 'avalon' | 'crystal'
export const ALL_VARIANTS: VariantType[] = ['basic', 'artifact', 'avalon', 'crystal']
export interface FilterState {
city: AlbionCity
tiers: Set<Tier>
@@ -8,4 +12,5 @@ export interface FilterState {
rrr: number
nameFilter: string
enchantments: Set<Enchantment> | null
variants: Set<VariantType> | null
}