settings.ts 711 B

123456789101112131415161718192021222324252627282930313233
  1. export interface ISearchEngine {
  2. name?: string;
  3. url?: string;
  4. keywordsUrl?: string;
  5. keyword?: string;
  6. icon?: string;
  7. }
  8. export interface IStartupBehavior {
  9. type: 'continue' | 'urls' | 'empty';
  10. }
  11. export type TopBarVariant = 'default' | 'compact';
  12. export interface ISettings {
  13. theme: string;
  14. themeAuto: boolean;
  15. shield: boolean;
  16. multrin: boolean;
  17. animations: boolean;
  18. bookmarksBar: boolean;
  19. suggestions: boolean;
  20. searchEngine: number;
  21. searchEngines: ISearchEngine[];
  22. startupBehavior: IStartupBehavior;
  23. warnOnQuit: boolean;
  24. version: number;
  25. darkContents: boolean;
  26. downloadsDialog: boolean;
  27. downloadsPath: string;
  28. doNotTrack: boolean;
  29. topBarVariant: TopBarVariant;
  30. }