package eu.friedcutlet.yokan.database /** * Initial database state for first-launch users. * * No extensions or catalogs are bundled. Repositories must be added by the user * or restored from a backup; startup refreshes only those saved repositories. * There are also no sample titles, sources, chapters, tracks, or history. */ fun seedDatabaseSnapshot(): YokanDatabaseSnapshot { val settings = DbSettings( mangaExtensionsRepo = emptyList(), animeExtensionsRepo = emptyList(), novelExtensionsRepo = emptyList(), navigationOrder = listOf( "MangaLibrary", "AnimeLibrary", "NovelLibrary", "Updates", "History", "Browse", "More", "TrackerLibrary", ), hideItems = emptyList(), algorithmWeights = DbAlgorithmWeights(), backupListOptions = listOf(0, 1, 2, 3, 4, 5), ) return YokanDatabaseSnapshot( settings = settings, mangas = emptyList(), chapters = emptyList(), categories = emptyList(), sources = emptyList(), histories = emptyList(), updates = emptyList(), downloads = emptyList(), tracks = emptyList(), trackPreferences = emptyList(), trackSearches = emptyList(), syncPreferences = emptyList(), changedParts = emptyList(), customButtons = emptyList(), pageCache = emptyList(), ) }