Storage utilities for Kenmei data, sync configuration, and match results. Provides abstraction over localStorage and electron-store for persistence and migration.

Enumerations

FailedOperationType

Interfaces

KenmeiManga
KenmeiData
ImportStats
AnilistMatch
MatchResult
SyncConfig
CustomRule
CustomRulesConfig
BlacklistConfig
TitleNormalizationCache
MatchConfig
BackupScheduleConfig
ReadingHistoryEntry
FailedOperation
FailedOperationsQueue
ReadingHistory
FailedSyncOperationData
IgnoredDuplicate

Type Aliases

CustomRuleTarget
BackupInterval

Variables

storageCache
storage
STORAGE_KEYS
CURRENT_CACHE_VERSION
DEFAULT_SYNC_CONFIG
DEFAULT_TITLE_NORMALIZATION_CACHE
DEFAULT_BACKUP_SCHEDULE_CONFIG
DEFAULT_FAILED_OPERATIONS_QUEUE
MAX_FAILED_OPERATIONS
MAX_RETRY_ATTEMPTS
FAILED_OPERATION_EXPIRY_DAYS
DEFAULT_READING_HISTORY
MAX_READING_HISTORY_ENTRIES
MAX_IGNORED_DUPLICATES
DEFAULT_MATCH_CONFIG

Functions

initializeStorage
saveKenmeiData
getKenmeiData
getImportStats
getStatusCountsFromData
getSavedMatchResults
mergeMatchResults
saveSyncConfig
getSyncConfig
saveMatchConfig
getMatchConfig
getMatchFilters
saveMatchFilters
getFilterPresets
saveFilterPresets
addFilterPreset
updateFilterPreset
deleteFilterPreset
saveBackupScheduleConfig
getReadingHistory
saveReadingHistory
getLocalDateString
recordReadingHistory
clearReadingHistory
getFailedOperations
addFailedOperation
updateFailedOperation
removeFailedOperation
clearFailedOperations
incrementRetryCount
addFailedSyncOperation
getBackupScheduleConfig
validateCustomRule
migrateCustomRule
addIgnoredDuplicate
getIgnoredDuplicates
removeIgnoredDuplicate
clearIgnoredDuplicates
isAniListIdIgnored
isOnboardingCompleted
setOnboardingCompleted
resetOnboarding
validateSyncSnapshot
isSyncSnapshotStale
cleanupStaleSyncSnapshot
getTitleNormalizationCache
saveTitleNormalizationCache
applyNormalizationCacheDeltas
clearTitleNormalizationCache