Skip to content

Commit

Permalink
Add 2v2v2v2 queue types (#44)
Browse files Browse the repository at this point in the history
This adds `CHERRY` to the queue types and makes queueMap keys queues
instead of strings.
  • Loading branch information
cuppachino authored Jul 20, 2023
2 parents 31a2854 + 9c652c3 commit 49c64fc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/small-mayflies-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"hexgate": patch
---

Add 2v2v2v2 queue types
17 changes: 13 additions & 4 deletions src/types/openapi/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3668,6 +3668,7 @@ export type LcuComponents = ExcludeNever<{
/** @enum {string} */
'LolChatLeagueQueueType':
| 'NONE'
| 'CHERRY'
| 'RANKED_SOLO_5x5'
| 'RANKED_FLEX_SR'
| 'RANKED_FLEX_TT'
Expand Down Expand Up @@ -5417,6 +5418,7 @@ export type LcuComponents = ExcludeNever<{
/** @enum {string} */
'LolContentTargetingRankedQueue':
| 'NONE'
| 'CHERRY'
| 'RANKED_SOLO_5x5'
| 'RANKED_FLEX_SR'
| 'RANKED_FLEX_TT'
Expand Down Expand Up @@ -14152,6 +14154,7 @@ export type LcuComponents = ExcludeNever<{
/** @enum {string} */
'LolRankedLeagueQueueType':
| 'NONE'
| 'CHERRY'
| 'RANKED_SOLO_5x5'
| 'RANKED_FLEX_SR'
| 'RANKED_FLEX_TT'
Expand Down Expand Up @@ -14321,9 +14324,10 @@ export type LcuComponents = ExcludeNever<{
highestRankedEntry?: LcuComponents['schemas']['LolRankedRankedQueueStats']
highestRankedEntrySR?: LcuComponents['schemas']['LolRankedRankedQueueStats']
queueMap?: {
[key: string]:
| LcuComponents['schemas']['LolRankedRankedQueueStats']
| undefined
[K in Exclude<
LcuComponents['schemas']['LolRankedLeagueQueueType'],
'NONE'
>]: LcuComponents['schemas']['LolRankedRankedQueueStats'] | undefined
}
queues?: LcuComponents['schemas']['LolRankedRankedQueueStats'][]
/** Format: int32 */
Expand Down Expand Up @@ -14602,6 +14606,7 @@ export type LcuComponents = ExcludeNever<{
/** @enum {string} */
'LolRegaliaLeagueQueueType':
| 'NONE'
| 'CHERRY'
| 'RANKED_SOLO_5x5'
| 'RANKED_FLEX_SR'
| 'RANKED_FLEX_TT'
Expand Down Expand Up @@ -15257,6 +15262,7 @@ export type LcuComponents = ExcludeNever<{
/** @enum {string} */
'LolSocialLeaderboardLeagueQueueType':
| 'NONE'
| 'CHERRY'
| 'RANKED_SOLO_5x5'
| 'RANKED_FLEX_SR'
| 'RANKED_FLEX_TT'
Expand Down Expand Up @@ -15290,7 +15296,10 @@ export type LcuComponents = ExcludeNever<{
}
'LolSocialLeaderboardRankedStats': {
queueMap?: {
[key: string]:
[K in Exclude<
LcuComponents['schemas']['LolRankedLeagueQueueType'],
'NONE'
>]:
| LcuComponents['schemas']['LolSocialLeaderboardRankedQueueStats']
| undefined
}
Expand Down

0 comments on commit 49c64fc

Please sign in to comment.