Modules
klevukmcsettings
2min
▸ KlevuKMCSettings(ignoreCache?, cacheLength?): Promise<{ banner?: KMCBannerRootObject ; maps?: KMCMapsRootObject ; root?: KMCRootObject }>
Fetches KMC settings from server. Caches data for a day.
Name | Type | Default value | Description |
---|---|---|---|
ignoreCache? | boolean | undefined | If true, will ignore cache and fetch data from server |
cacheLength | number | ONE_DAY | How long to cache data in milliseconds |
Promise<{ banner?: KMCBannerRootObject ; maps?: KMCMapsRootObject ; root?: KMCRootObject }>
Updated 25 Mar 2024
Did this page help you?