StorageConfig interface
Client's storage plugin configuration.
Signature:
export interface StorageConfig
Properties
custom
The custom storage plugin to use. This will override the default local storage plugin.
Type: IStorage
enable
Whether to enable storing fetched data. Can be set to true to enable for all, or false to disable for all.
By default, this is enabled for DDragon/CDragon data, and disabled for API data.
Type: Boolean | ManagersConfig
root
The root directory for the local storage plugin. Defaults to 'data'. This will be ignored if a custom storage plugin is used.
Type: String