31 lines
627 B
TypeScript
31 lines
627 B
TypeScript
export interface AlbionPriceEntry {
|
|
item_id: string
|
|
city: string
|
|
quality: number
|
|
sell_price_min: number
|
|
sell_price_min_date: string
|
|
sell_price_max: number
|
|
buy_price_min: number
|
|
buy_price_max: number
|
|
}
|
|
|
|
export type PriceCache = Map<string, AlbionPriceEntry>
|
|
|
|
export interface ManualPriceEntry {
|
|
sell_price_min: number
|
|
editedAt: string // ISO date string
|
|
}
|
|
|
|
export type ManualPriceCache = Map<string, ManualPriceEntry>
|
|
|
|
export type AlbionCity =
|
|
| 'Thetford'
|
|
| 'Caerleon'
|
|
| 'Bridgewatch'
|
|
| 'Fort Sterling'
|
|
| 'Lymhurst'
|
|
| 'Martlock'
|
|
| 'Black Market'
|
|
|
|
export type AlbionQuality = 1 | 2 | 3 | 4 | 5
|