1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-24 13:39:35 +02:00
flame/client/src/interfaces/Forms.ts
2022-03-25 14:28:40 +01:00

46 lines
980 B
TypeScript

import { WeatherData } from '../types';
export interface WeatherForm {
WEATHER_API_KEY: string;
lat: number;
long: number;
isCelsius: boolean;
weatherData: WeatherData;
}
export interface GeneralForm {
defaultSearchProvider: string;
secondarySearchProvider: string;
searchSameTab: boolean;
pinAppsByDefault: boolean;
pinCategoriesByDefault: boolean;
useOrdering: string;
appsSameTab: boolean;
bookmarksSameTab: boolean;
}
export interface UISettingsForm {
customTitle: string;
hideHeader: boolean;
hideApps: boolean;
hideCategories: boolean;
useAmericanDate: boolean;
greetingsSchema: string;
daySchema: string;
monthSchema: string;
showTime: boolean;
hideDate: boolean;
hideSearch: boolean;
disableAutofocus: boolean;
}
export interface DockerSettingsForm {
dockerApps: boolean;
dockerHost: string;
kubernetesApps: boolean;
unpinStoppedApps: boolean;
}
export interface ThemeSettingsForm {
defaultTheme: string;
}