EnkaClientOptions
Type: TSInterface
PROPERTY | TYPE | DESCRIPTION |
---|---|---|
enkaUrl | string | |
defaultImageBaseUrl | string | |
imageBaseUrlByRegex | {[url: string]: RegExp[]} | |
userAgent | string | |
timeout | number | |
defaultLanguage | LanguageCode | |
textAssetsDynamicData | DynamicData | |
cacheDirectory | string | null | |
showFetchCacheLog | boolean | |
storeUserCache | boolean | |
userCacheGetter | ((key: string) => Promise<JsonObject>) | null | |
userCacheSetter | ((key: string, data: JsonObject) => Promise<void>) | null | |
userCacheDeleter | ((key: string) => Promise<void>) | null | |
githubToken | string | null | For less rate limited cache update checking |
starrailClient | any | null | eslint-disable-next-line @typescript-eslint/no-explicit-any |