add variant fileter
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user