Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
import type { FileEditorProviders } from '../../files/editors/file-editor-providers.interface.js'
import { USER_SIDEBAR_QUICK_ACCESS_POSITION, USER_SIDEBAR_QUICK_ACCESS_VISIBILITY, USER_THEME } from '../constants/user-preferences.js'
export type UserTheme = Exclude<USER_THEME, USER_THEME.AUTO>
export interface UserPreferences {
theme: USER_THEME
editor: Exclude<keyof FileEditorProviders, 'drawio'> | null
showHiddenFiles: boolean
useSystemNotifications: boolean
sidebarQuickAccessVisibility: USER_SIDEBAR_QUICK_ACCESS_VISIBILITY
sidebarQuickAccessPosition: USER_SIDEBAR_QUICK_ACCESS_POSITION
}