Skip to content

Commit 8c9b35e

Browse files
authored
feat: support nintendo platform (#48)
1 parent 65417d0 commit 8c9b35e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

api/src/const.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@ export const SHIFT_SERVICE = [
55
'xboxlive',
66
'psn',
77
'epic',
8-
'stadia'
8+
'stadia',
9+
'nintendo'
910
] as const;
1011

1112
export const SERVICE_CODE = [
1213
'steam',
1314
'xbox',
1415
'psn',
1516
'epic',
16-
'stadia'
17+
'stadia',
18+
'nintendo'
1719
] as const;
1820

1921
export const SHIFT_TITLE = [

cli/src/names.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export const PlatformName = {
1414
'xbox': 'Xbox',
1515
'psn': 'Playstation',
1616
'epic': 'Epic Games',
17-
'stadia': 'Stadia'
17+
'stadia': 'Stadia',
18+
'nintendo': 'Nintendo'
1819
}
1920

2021
export type IGameName = keyof typeof GameName;

0 commit comments

Comments
 (0)