Skip to content

Commit c1034d4

Browse files
committed
fix: change AchievementId to enum
1 parent 995fa83 commit c1034d4

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

src/payloads/Achievement.ts

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
export type AchievementId =
2-
| 'FIRST_COUNT'
3-
| 'COUNTER_AMATURE'
4-
| 'COUNTER_EXPERIENCED'
5-
| 'COUNTER_LEGENDARY'
6-
| 'ITEM_SCAVENGER'
7-
| 'ITEM_SEEKER'
8-
| 'ITEM_HUNTER'
9-
| 'COUNTBOT_HERO'
10-
| 'COUNTBOT_CHAMPION'
11-
| 'COUNTBOT_VILLIAN'
12-
| 'SELFLESS_COUNTER'
13-
| 'BOT_KILLER';
1+
export enum AchievementId {
2+
FirstCount = 'FIRST_COUNT',
3+
CounterAmature = 'COUNTER_AMATURE',
4+
CounterExperienced = 'COUNTER_EXPERIENCED',
5+
CounterLegendary = 'COUNTER_LEGENDARY',
6+
ItemScavenger = 'ITEM_SCAVENGER',
7+
ItemSeeker = 'ITEM_SEEKER',
8+
ItemHunter = 'ITEM_HUNTER',
9+
CountBotHero = 'COUNTBOT_HERO',
10+
CountBotChampion = 'COUNTBOT_CHAMPION',
11+
CountBotVillain = 'COUNTBOT_VILLIAN',
12+
SelflessCounter = 'SELFLESS_COUNTER',
13+
BotKiller = 'BOT_KILLER',
14+
}
1415

1516
export interface APIAchievement<IDType> {
1617
_id: IDType;

0 commit comments

Comments
 (0)