Cache types that can be cleared individually. Each boolean flag represents whether that cache type should be cleared.

export interface CachesToClear {
/** Whether to clear authentication tokens and login state cache. */
shouldClearAuthCache: boolean;
/** Whether to clear sync settings and preferences cache. */
shouldClearSettingsCache: boolean;
/** Whether to clear synchronization history cache. */
shouldClearSyncCache: boolean;
/** Whether to clear import operation history cache. */
shouldClearImportCache: boolean;
/** Whether to clear matching results cache. */
shouldClearReviewCache: boolean;
/** Whether to clear manga titles and metadata cache. */
shouldClearMangaCache: boolean;
/** Whether to clear search queries and results cache. */
shouldClearSearchCache: boolean;
/** Whether to clear miscellaneous cache data. */
shouldClearOtherCache: boolean;
}
interface CachesToClear {
    shouldClearAuthCache: boolean;
    shouldClearSettingsCache: boolean;
    shouldClearSyncCache: boolean;
    shouldClearImportCache: boolean;
    shouldClearReviewCache: boolean;
    shouldClearMangaCache: boolean;
    shouldClearSearchCache: boolean;
    shouldClearOtherCache: boolean;
}

Properties

shouldClearAuthCache: boolean

Whether to clear authentication tokens and login state cache.

shouldClearSettingsCache: boolean

Whether to clear sync settings and preferences cache.

shouldClearSyncCache: boolean

Whether to clear synchronization history cache.

shouldClearImportCache: boolean

Whether to clear import operation history cache.

shouldClearReviewCache: boolean

Whether to clear matching results cache.

shouldClearMangaCache: boolean

Whether to clear manga titles and metadata cache.

shouldClearSearchCache: boolean

Whether to clear search queries and results cache.

shouldClearOtherCache: boolean

Whether to clear miscellaneous cache data.