refactors!

This commit is contained in:
2025-07-27 18:13:43 -03:00
parent 181fd3b3ec
commit 905b05e343
6 changed files with 260 additions and 146 deletions

View File

@@ -1,4 +1,3 @@
export interface Website {
id: string;
name: string;
@@ -24,3 +23,29 @@ export interface Wallpaper {
url?: string;
base64?: string;
}
export interface Config {
title: string;
subtitle: string;
backgroundUrls: string[];
wallpaperFrequency: string;
wallpaperBlur: number;
wallpaperBrightness: number;
wallpaperOpacity: number;
titleSize: string;
subtitleSize: string;
alignment: string;
horizontalAlignment: string;
clock: {
enabled: boolean;
size: string;
font: string;
format: string;
};
serverWidget: {
enabled: boolean;
pingFrequency: number;
servers: Server[];
};
tileSize?: string;
}