57 lines
1.6 KiB
TypeScript
57 lines
1.6 KiB
TypeScript
/*
|
|
* 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';
|
|
import { GridLayout } from '@/modules/core/Core.types.ts';
|
|
|
|
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,
|
|
showContinueReadingButton: false,
|
|
showDownloadBadge: false,
|
|
showUnreadBadge: false,
|
|
gridLayout: GridLayout.Compact,
|
|
|
|
// 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,
|
|
mangaDynamicColorSchemes: true,
|
|
};
|