82 lines
1.7 KiB
TypeScript
82 lines
1.7 KiB
TypeScript
export interface GeneralSettings {
|
|
appLaunchOnStartup: boolean
|
|
language: string
|
|
translationLanguage: string
|
|
startupScreen: "subscription" | "timeline"
|
|
dataPersist: boolean
|
|
sendAnonymousData: boolean
|
|
unreadOnly: boolean
|
|
scrollMarkUnread: boolean
|
|
hoverMarkUnread: boolean
|
|
renderMarkUnread: boolean
|
|
groupByDate: boolean
|
|
jumpOutLinkWarn: boolean
|
|
// TTS
|
|
voice: string
|
|
reduceRefetch: boolean
|
|
autoGroup: boolean
|
|
/**
|
|
* Top timeline for mobile
|
|
*/
|
|
showQuickTimeline: boolean
|
|
}
|
|
|
|
export interface UISettings {
|
|
entryColWidth: number
|
|
feedColWidth: number
|
|
opaqueSidebar: boolean
|
|
sidebarShowUnreadCount: boolean
|
|
hideExtraBadge: boolean
|
|
thumbnailRatio: "square" | "original"
|
|
uiTextSize: number
|
|
showDockBadge: boolean
|
|
modalOverlay: boolean
|
|
modalDraggable: boolean
|
|
modalOpaque: boolean
|
|
reduceMotion: boolean
|
|
usePointerCursor: boolean | null
|
|
uiFontFamily: string
|
|
readerFontFamily: string
|
|
// Content
|
|
readerRenderInlineStyle: boolean
|
|
codeHighlightThemeLight: string
|
|
codeHighlightThemeDark: string
|
|
guessCodeLanguage: boolean
|
|
hideRecentReader: boolean
|
|
customCSS: string
|
|
|
|
// view
|
|
pictureViewMasonry: boolean
|
|
pictureViewFilterNoImage: boolean
|
|
wideMode: boolean
|
|
}
|
|
|
|
export interface IntegrationSettings {
|
|
// eagle
|
|
enableEagle: boolean
|
|
|
|
// readwise
|
|
enableReadwise: boolean
|
|
readwiseToken: string
|
|
|
|
// instapaper
|
|
enableInstapaper: boolean
|
|
instapaperUsername: string
|
|
instapaperPassword: string
|
|
|
|
// omnivore
|
|
enableOmnivore: boolean
|
|
omnivoreEndpoint: string
|
|
omnivoreToken: string
|
|
|
|
// obsidian
|
|
enableObsidian: boolean
|
|
obsidianVaultPath: string
|
|
|
|
// outline
|
|
enableOutline: boolean
|
|
outlineEndpoint: string
|
|
outlineToken: string
|
|
outlineCollection: string
|
|
}
|