feat: tag items depending on region and gold state when bought
Some checks failed
pipeline / lint-and-format (push) Failing after 3m59s
pipeline / build-and-push-images (push) Has been skipped

This commit is contained in:
2026-04-18 21:04:33 +02:00
parent 17024f91a8
commit c7b814d02a
6 changed files with 225 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[]
}
/**