1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-19 19:49:37 +02:00
flame/client/src/interfaces/Forms.ts

46 lines
947 B
TypeScript
Raw Normal View History

import { WeatherData } from '../types';
export interface WeatherForm {
WEATHER_API_KEY: string;
lat: number;
long: number;
2021-10-22 13:31:02 +02:00
isCelsius: boolean;
weatherData: WeatherData;
}
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;
disableAutofocus: boolean;
2021-10-04 17:07:02 +02:00
}
2021-10-22 13:31:02 +02:00
export interface OtherSettingsForm {
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;
useAmericanDate: boolean;
greetingsSchema: string;
daySchema: string;
monthSchema: string;
2021-11-10 14:19:41 +01:00
showTime: boolean;
hideDate: boolean;
}
2021-11-10 16:45:30 +01:00
export interface DockerSettingsForm {
dockerApps: boolean;
dockerHost: string;
kubernetesApps: boolean;
unpinStoppedApps: boolean;
}
export interface ThemeSettingsForm {
defaultTheme: string;
}