feat: tag items depending on region and gold state when bought
All checks were successful
pipeline / lint-and-format (push) Successful in 4m29s
pipeline / build-and-push-images (push) Successful in 1m28s

This commit is contained in:
2026-04-18 21:08:58 +02:00
parent 17024f91a8
commit a5728a147f
7 changed files with 231 additions and 10 deletions

View File

@@ -1,4 +1,9 @@
declare global {
/**
* Item tags derived from purchase patterns
*/
type ItemTag = 'ahead' | 'behind' | 'region_euw' | 'region_eun' | 'region_na' | 'region_kr'
/**
* Represents an item in the build tree
*/
@@ -6,6 +11,7 @@ declare global {
count: number
data: number
children: ItemTree[]
tags: ItemTag[]
}
/**