import DisplayStyle from '~/src/constants/displayStyle' ; import Theme from '~/src/constants/theme' ; import Language from '~/src/constants/language' ; import TimeFormat from '~/src/constants/timeFormat' ; import { LightTheme } from '~/src/constants/themeColor' ; import DefaultFonts from '~/src/renderer/utils/fonts' ; import { Sound } from '~/src/types/sound' ; import { Timeline } from '~/src/types/timeline' ; import { Notify } from '~/src/types/notify' ; import { Appearance } from '~/src/types/appearance' ; import { Language as LanguageSet } from '~/src/types/language' ; import { General , State , Notification , BaseConfig , Other , Menu } from '~/src/types/preference' ; import { Proxy , ProxySource } from '~/src/types/proxy' ; const sound = { fav_rb : true , toot : true } ; const timeline = { cw : false , nsfw : false , hideAllAttachments : false } ; const other = { launch : false } ; const general = { sound : sound , timeline : timeline , other : other } ; const state = { collapse : false , hideGlobalHeader : false } ; const notify = { reply : true , reblog : true , favourite : true , follow : true , follow_request : true , reaction : true , status : true , poll_vote : true , poll_expired : true } ; const language = { language : Language . en . key , spellchecker : { enabled : true , languages : [ Language . en . key ] } } ; const notification = { notify : notify } ; const appearance = { theme : Theme . System . key , fontSize : 14 , displayNameStyle : DisplayStyle . DisplayNameAndUsername . value , timeFormat : TimeFormat . Absolute . value , customThemeColor : LightTheme , font : DefaultFonts [ 0 ] , tootPadding : 8 } ; const proxy = { source : ProxySource . system , manualProxyConfig : { protocol : '' , host : '' , port : '' , username : '' , password : '' } } ; const menu = { autoHideMenu : false } ; export const Base = { general : general , state : state , language : language , notification : notification , appearance : appearance , proxy : proxy , menu : menu } ;