refactor: reorganize api utility structure into subdirectories

This commit is contained in:
daydreamer-json
2026-02-05 09:49:44 +09:00
parent 9745337209
commit 8bc953d7e3
12 changed files with 52 additions and 41 deletions

View File

@@ -0,0 +1,27 @@
import appConfig from '../../config.js';
export default {
ky: {
headers: {
'User-Agent': appConfig.network.userAgent.minimum,
},
timeout: appConfig.network.timeout,
retry: { limit: appConfig.network.retryCount },
},
launcherWebLang: [
'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,
};