2024-10-05 22:53:22 +02:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) Contributors to the Suwayomi project
|
|
|
|
|
*
|
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import { DEFAULT_DEVICE } from '@/modules/device/services/Device.ts';
|
|
|
|
|
import { DEFAULT_SORT_SETTINGS } from '@/modules/migration/Migration.constants.ts';
|
|
|
|
|
import { MetadataServerSettings } from '@/modules/settings/Settings.types.ts';
|
2025-01-25 00:12:56 +01:00
|
|
|
import { GridLayout } from '@/modules/core/Core.types.ts';
|
2024-10-05 22:53:22 +02:00
|
|
|
|
|
|
|
|
export const SERVER_SETTINGS_METADATA_DEFAULT: MetadataServerSettings = {
|
|
|
|
|
// downloads
|
|
|
|
|
deleteChaptersManuallyMarkedRead: false,
|
|
|
|
|
deleteChaptersWhileReading: 0,
|
|
|
|
|
deleteChaptersWithBookmark: false,
|
|
|
|
|
downloadAheadLimit: 0,
|
|
|
|
|
|
|
|
|
|
// library
|
|
|
|
|
showAddToLibraryCategorySelectDialog: true,
|
|
|
|
|
ignoreFilters: false,
|
|
|
|
|
removeMangaFromCategories: false,
|
|
|
|
|
showTabSize: false,
|
2024-12-30 03:49:39 +01:00
|
|
|
showContinueReadingButton: false,
|
|
|
|
|
showDownloadBadge: false,
|
|
|
|
|
showUnreadBadge: false,
|
2025-01-25 00:12:56 +01:00
|
|
|
gridLayout: GridLayout.Compact,
|
2024-10-05 22:53:22 +02:00
|
|
|
|
|
|
|
|
// client
|
|
|
|
|
devices: [DEFAULT_DEVICE],
|
|
|
|
|
|
|
|
|
|
// migration
|
|
|
|
|
migrateChapters: true,
|
|
|
|
|
migrateCategories: true,
|
|
|
|
|
migrateTracking: true,
|
|
|
|
|
deleteChapters: true,
|
|
|
|
|
migrateSortSettings: DEFAULT_SORT_SETTINGS,
|
|
|
|
|
|
|
|
|
|
// browse
|
|
|
|
|
hideLibraryEntries: false,
|
|
|
|
|
|
|
|
|
|
// tracking
|
|
|
|
|
updateProgressAfterReading: true,
|
|
|
|
|
updateProgressManualMarkRead: false,
|
|
|
|
|
|
|
|
|
|
// updates
|
|
|
|
|
webUIInformAvailableUpdate: true,
|
|
|
|
|
serverInformAvailableUpdate: true,
|
|
|
|
|
|
|
|
|
|
// themes
|
|
|
|
|
customThemes: {},
|
|
|
|
|
mangaThumbnailBackdrop: true,
|
|
|
|
|
};
|