cobalt/web/src/lib/settings/defaults.ts
wukko a43e7a629b
web: add local processing setting & api type
response is not handled at all yet, this is a raw draft
2025-01-29 15:06:16 +06:00

46 lines
1.1 KiB
TypeScript

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