Skip to main content

EnkaClientOptions

Type: TSInterface

PROPERTYTYPEDESCRIPTION
enkaUrlstring
defaultImageBaseUrlstring
imageBaseUrlByRegex{[url: string]: RegExp[]}
userAgentstring
timeoutnumber
defaultLanguageLanguageCode
textAssetsDynamicDataDynamicData
cacheDirectorystring | null
showFetchCacheLogboolean
storeUserCacheboolean
userCacheGetter((key: string) => Promise<JsonObject>) | null
userCacheSetter((key: string, data: JsonObject) => Promise<void>) | null
userCacheDeleter((key: string) => Promise<void>) | null
githubTokenstring | nullFor less rate limited cache update checking
starrailClientany | nulleslint-disable-next-line @typescript-eslint/no-explicit-any