import { ReducedUser } from "."; import { Views } from "../../global/Views"; export declare enum Language { ENGLISH = "en", GERMAN = "de" } export declare enum DateFormat { ISO_8601_24 = "YYYY-MM-DDTHH:mm:ss", ISO_8601_12 = "YYYY-MM-DD hh:mm:ss a", US_12 = "MM/DD/YYYY hh:mm:ss a", EU_24 = "DD/MM/YYYY HH:mm:ss", GERMAN_24 = "DD.MM.YYYY HH:mm:ss" } export declare enum DateFormatWithoutTime { ISO_8601_24 = "YYYY-MM-DD", ISO_8601_12 = "YYYY-MM-DD",// eslint-disable-line @typescript-eslint/no-duplicate-enum-values US_12 = "MM/DD/YYYY", EU_24 = "DD/MM/YYYY", GERMAN_24 = "DD.MM.YYYY" } export declare enum Theme { DARK = "DARK", LIGHT = "LIGHT", SYSTEM_DEFAULT = "SYSTEM_DEFAULT", HIGH_CONTRAST = "HIGH_CONTRAST" } export declare enum Entrypoint { DEFAULT = "DEFAULT", HIGH5 = "HIGH5", FUSE = "FUSE", COSMO = "COSMO", LAST_VISITED = "LAST_VISITED" } export interface GeneralSettings { _id: string; user: ReducedUser; lastUrl: string; lastView: Views; timezone: string; language: Language; dateFormat: DateFormat; theme: Theme; entrypoint: Entrypoint; } export type GeneralSettingsPatch = Partial>; export type GeneralSettingsLastVisitPatch = Partial>;