mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
chore(profile): added activity region
This commit is contained in:
@@ -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';
|
||||
}
|
||||
Reference in New Issue
Block a user