refactors!
This commit is contained in:
27
types.ts
27
types.ts
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user