More typescript :)
All checks were successful
pipeline / build-and-push-images (push) Successful in 26s
pipeline / deploy (push) Successful in 8s

This commit is contained in:
2024-11-28 21:06:58 +01:00
parent afb9f106f9
commit 5b7262877d
3 changed files with 63 additions and 60 deletions

View File

@@ -22,6 +22,23 @@ declare global {
type Item = {
id: number
}
type PerksResponse = {
data: Ref<Array<Perk>>
}
type Perk = {
id: number
name: string
iconPath: string
}
type PerkStylesResponse = {
data: Ref<{styles: Array<PerkStyle>}>
}
type PerkStyle = {
id: number
name: string
iconPath: string
slots: Array<{perks:Array<number>}>
}
}
export {}