Skip to content

Commit

Permalink
[WoW] Sort some types more naturally rather than strictly alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
Pewtro committed Oct 3, 2024
1 parent ac4da12 commit dddd542
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/loud-plums-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@blizzard-api/wow': patch
---

Sort some types more naturally rather than strictly alphabetically
4 changes: 2 additions & 2 deletions packages/wow/src/character-encounters/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ interface RaidMode {

interface RaidDifficulties {
name:
| '10 Player (Heroic)'
| '10 Player'
| '25 Player (Heroic)'
| '10 Player (Heroic)'
| '25 Player'
| '25 Player (Heroic)'
| 'Heroic'
| 'Mythic'
| 'Normal'
Expand Down
4 changes: 2 additions & 2 deletions packages/wow/src/journal/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ type EncounterCategory = 'DUNGEON' | 'RAID' | 'WORLD_BOSS';
type EncounterMode = 'HEROIC' | 'LFR' | 'MYTHIC' | 'NORMAL';

type ModeName =
| '10 Player (Heroic)'
| '10 Player'
| '25 Player (Heroic)'
| '10 Player (Heroic)'
| '25 Player'
| '25 Player (Heroic)'
| 'Heroic'
| 'Mythic'
| 'Mythic+ Dungeons'
Expand Down

0 comments on commit dddd542

Please sign in to comment.