Files
cobalt/web/src/lib/settings/defaults.ts
wukko 1f0abf5169 web/lib/settings: add accessibility section, add dontAutoOpenQueue
moved `reduceMotion`, `reduceTransparency`, and `disableHaptics` to accessibility, migrated first two from old version of settings
2025-03-07 21:35:39 +06:00

51 lines
1.2 KiB
TypeScript

import { defaultLocale } from "$lib/i18n/translations";
import type { CobaltSettings } from "$lib/types/settings";
const defaultSettings: CobaltSettings = {
schemaVersion: 5,
advanced: {
debug: false,
useWebCodecs: false,
},
appearance: {
theme: "auto",
language: defaultLocale,
autoLanguage: true,
},
accessibility: {
reduceMotion: false,
reduceTransparency: false,
disableHaptics: false,
dontAutoOpenQueue: false,
},
save: {
alwaysProxy: false,
localProcessing: false,
audioBitrate: "128",
audioFormat: "mp3",
disableMetadata: false,
downloadMode: "auto",
filenameStyle: "classic",
savingMethod: "download",
allowH265: false,
tiktokFullAudio: false,
convertGif: true,
videoQuality: "1080",
youtubeVideoCodec: "h264",
youtubeDubLang: "original",
youtubeHLS: false,
},
privacy: {
disableAnalytics: false,
},
processing: {
customInstanceURL: "",
customApiKey: "",
enableCustomInstances: false,
enableCustomApiKey: false,
seenCustomWarning: false,
}
}
export default defaultSettings;