2021-11-18 15:14:53 +01:00
|
|
|
import { WeatherData } from '../types';
|
|
|
|
|
2021-06-13 00:16:57 +02:00
|
|
|
export interface WeatherForm {
|
|
|
|
WEATHER_API_KEY: string;
|
|
|
|
lat: number;
|
|
|
|
long: number;
|
2021-10-22 13:31:02 +02:00
|
|
|
isCelsius: boolean;
|
2021-11-18 15:14:53 +01:00
|
|
|
weatherData: WeatherData;
|
2021-06-13 23:21:35 +02:00
|
|
|
}
|
|
|
|
|
2021-10-04 17:07:02 +02:00
|
|
|
export interface SearchForm {
|
2021-10-22 13:31:02 +02:00
|
|
|
hideSearch: boolean;
|
2021-10-04 17:07:02 +02:00
|
|
|
defaultSearchProvider: string;
|
2021-10-22 13:31:02 +02:00
|
|
|
searchSameTab: boolean;
|
2021-10-26 13:09:42 +02:00
|
|
|
disableAutofocus: boolean;
|
2021-10-04 17:07:02 +02:00
|
|
|
}
|
|
|
|
|
2021-10-22 13:31:02 +02:00
|
|
|
export interface OtherSettingsForm {
|
2021-06-13 23:21:35 +02:00
|
|
|
customTitle: string;
|
2021-10-22 13:31:02 +02:00
|
|
|
pinAppsByDefault: boolean;
|
|
|
|
pinCategoriesByDefault: boolean;
|
|
|
|
hideHeader: boolean;
|
|
|
|
hideApps: boolean;
|
|
|
|
hideCategories: boolean;
|
2021-06-17 10:56:27 +02:00
|
|
|
useOrdering: string;
|
2021-10-22 13:31:02 +02:00
|
|
|
appsSameTab: boolean;
|
|
|
|
bookmarksSameTab: boolean;
|
2021-10-22 15:51:11 +02:00
|
|
|
useAmericanDate: boolean;
|
2021-11-05 16:39:42 +01:00
|
|
|
greetingsSchema: string;
|
2021-11-05 17:16:19 +01:00
|
|
|
daySchema: string;
|
|
|
|
monthSchema: string;
|
2021-11-10 14:19:41 +01:00
|
|
|
showTime: boolean;
|
2021-07-05 23:04:03 -05:00
|
|
|
}
|
2021-11-10 16:45:30 +01:00
|
|
|
|
|
|
|
export interface DockerSettingsForm {
|
|
|
|
dockerApps: boolean;
|
|
|
|
dockerHost: string;
|
|
|
|
kubernetesApps: boolean;
|
|
|
|
unpinStoppedApps: boolean;
|
|
|
|
}
|
2021-11-18 13:47:27 +01:00
|
|
|
|
|
|
|
export interface ThemeSettingsForm {
|
|
|
|
defaultTheme: string;
|
|
|
|
}
|