mirror of
https://github.com/daydreamer-json/ak-endfield-api-archive.git
synced 2026-03-28 10:12:37 +01:00
refactor(pages): decompose index.ts into specialized renderers and utils
This commit is contained in:
@@ -1 +1,44 @@
|
||||
export default {};
|
||||
export const BASE_URL =
|
||||
'https://raw.githubusercontent.com/daydreamer-json/ak-endfield-api-archive/refs/heads/main/output';
|
||||
|
||||
export const FILE_SIZE_OPTS = {
|
||||
decimals: 2,
|
||||
decimalPadding: true,
|
||||
useBinaryUnit: true,
|
||||
useBitUnit: false,
|
||||
unitVisible: true,
|
||||
unit: null,
|
||||
};
|
||||
|
||||
export const gameTargets = [
|
||||
{ name: 'Official', region: 'os' as const, dirName: '6', channel: 6 },
|
||||
{ name: 'Epic', region: 'os' as const, dirName: '801', channel: 6 },
|
||||
{ name: 'Google Play', region: 'os' as const, dirName: '802', channel: 6 },
|
||||
{ name: 'Official', region: 'cn' as const, dirName: '1', channel: 1 },
|
||||
{ name: 'Bilibili', region: 'cn' as const, dirName: '2', channel: 2 },
|
||||
];
|
||||
|
||||
export const launcherTargets = [
|
||||
{ id: 'os', apps: ['EndField', 'Official'], channel: 6 },
|
||||
{ id: 'cn', apps: ['EndField', 'Arknights', 'Official'], channel: 1 },
|
||||
];
|
||||
|
||||
export const launcherWebApiLang = {
|
||||
os: [
|
||||
'de-de',
|
||||
'en-us',
|
||||
'es-mx',
|
||||
'fr-fr',
|
||||
'id-id',
|
||||
'it-it',
|
||||
'ja-jp',
|
||||
'ko-kr',
|
||||
'pt-br',
|
||||
'ru-ru',
|
||||
'th-th',
|
||||
'vi-vn',
|
||||
'zh-cn',
|
||||
'zh-tw',
|
||||
] as const,
|
||||
cn: ['zh-cn'] as const,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user