chore(profile): added activity region

This commit is contained in:
2026-02-23 21:35:41 +01:00
parent f90dfd3cc8
commit 38a9f1987f
2 changed files with 22 additions and 4 deletions
+19
View File
@@ -0,0 +1,19 @@
export enum ServerRegion {
'eu' = 'PL1',
'cae' = 'PL2',
'usw' = 'DE',
'us' = 'CZE',
'ru' = 'ENG'
}
export const regions: Record<string, string> = {
eu: 'PL1',
cae: 'PL2',
usw: 'DE',
us: 'CZE',
ru: 'ENG'
};
export function getRegionNameById(id: string) {
return regions[id] ?? 'PL1';
}