generated from 2skydev/electron-vite-react-ts-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from 2skydev/dev
v0.0.11
- Loading branch information
Showing
32 changed files
with
497 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export const LANE_IDS = [0, 1, 2, 3, 4] as const | ||
|
||
export const LANE_ID_TO_LABEL_MAP = { | ||
0: '탑', | ||
1: '정글', | ||
2: '미드', | ||
3: '원딜', | ||
4: '서폿', | ||
} as const |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { LANE_IDS } from '@main/modules/league/constants/lane' | ||
|
||
export type LaneId = (typeof LANE_IDS)[number] | ||
|
||
export enum LANE_ID_ENUM { | ||
top = 0, | ||
jg = 1, | ||
mid = 2, | ||
adc = 3, | ||
sup = 4, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { LaneId } from '@main/modules/league/types/lane' | ||
|
||
export const leagueChampSelectLaneStringToLaneId = ( | ||
value: 'top' | 'jungle' | 'middle' | 'bottom' | 'utility' | '', | ||
): LaneId | null => { | ||
return ( | ||
{ | ||
top: 0, | ||
jungle: 1, | ||
middle: 2, | ||
bottom: 3, | ||
utility: 4, | ||
}[value] || null | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export const RANK_RANGE_IDS = [2, 13, 3, 1] as const | ||
|
||
export const RANK_RANGE_ID_TO_LABEL_MAP = { | ||
2: '플레티넘+', | ||
13: '다이아+', | ||
3: '마스터+', | ||
1: '브실골', | ||
} as const |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { RANK_RANGE_IDS } from '@main/modules/ps/constants/rank' | ||
|
||
export type RankRangeId = (typeof RANK_RANGE_IDS)[number] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.