mirror of
https://github.com/pawelmalak/flame.git
synced 2025-08-03 18:05:18 +02:00
Client: Implemented new config system
This commit is contained in:
parent
34279c8b8c
commit
76e50624e7
19 changed files with 625 additions and 447 deletions
30
client/src/utility/templateObjects/settingsTemplate.ts
Normal file
30
client/src/utility/templateObjects/settingsTemplate.ts
Normal file
|
@ -0,0 +1,30 @@
|
|||
import { OtherSettingsForm, SearchForm, WeatherForm } from '../../interfaces';
|
||||
|
||||
export const otherSettingsTemplate: OtherSettingsForm = {
|
||||
customTitle: document.title,
|
||||
pinAppsByDefault: true,
|
||||
pinCategoriesByDefault: true,
|
||||
hideHeader: false,
|
||||
hideApps: false,
|
||||
hideCategories: false,
|
||||
useOrdering: 'createdAt',
|
||||
appsSameTab: false,
|
||||
bookmarksSameTab: false,
|
||||
dockerApps: true,
|
||||
dockerHost: 'localhost',
|
||||
kubernetesApps: true,
|
||||
unpinStoppedApps: true,
|
||||
};
|
||||
|
||||
export const weatherSettingsTemplate: WeatherForm = {
|
||||
WEATHER_API_KEY: '',
|
||||
lat: 0,
|
||||
long: 0,
|
||||
isCelsius: true,
|
||||
};
|
||||
|
||||
export const searchSettingsTemplate: SearchForm = {
|
||||
hideSearch: false,
|
||||
searchSameTab: false,
|
||||
defaultSearchProvider: 'l',
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue