From dddd542189b808b44f812d2fe2172f061ee8174e Mon Sep 17 00:00:00 2001 From: Putro <29204244+Pewtro@users.noreply.github.com> Date: Thu, 3 Oct 2024 16:17:50 +0200 Subject: [PATCH] [WoW] Sort some types more naturally rather than strictly alphabetically --- .changeset/loud-plums-bathe.md | 5 +++++ packages/wow/src/character-encounters/types.ts | 4 ++-- packages/wow/src/journal/types.ts | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/loud-plums-bathe.md diff --git a/.changeset/loud-plums-bathe.md b/.changeset/loud-plums-bathe.md new file mode 100644 index 0000000..e92df65 --- /dev/null +++ b/.changeset/loud-plums-bathe.md @@ -0,0 +1,5 @@ +--- +'@blizzard-api/wow': patch +--- + +Sort some types more naturally rather than strictly alphabetically diff --git a/packages/wow/src/character-encounters/types.ts b/packages/wow/src/character-encounters/types.ts index 6e6325a..0da9394 100644 --- a/packages/wow/src/character-encounters/types.ts +++ b/packages/wow/src/character-encounters/types.ts @@ -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' diff --git a/packages/wow/src/journal/types.ts b/packages/wow/src/journal/types.ts index 34234cc..60f7150 100644 --- a/packages/wow/src/journal/types.ts +++ b/packages/wow/src/journal/types.ts @@ -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'