WIP
This commit is contained in:
@@ -89,8 +89,6 @@ export type BoardConfig = {
|
||||
showChecks: boolean;
|
||||
showCoords: boolean;
|
||||
showShadows: boolean;
|
||||
sounds?: boolean;
|
||||
speech?: boolean;
|
||||
flipped: boolean;
|
||||
};
|
||||
|
||||
@@ -103,6 +101,12 @@ export type GameConfig = {
|
||||
animationSize: Size;
|
||||
};
|
||||
|
||||
export type SiteConfig = {
|
||||
darkMode: boolean;
|
||||
sounds: boolean;
|
||||
speech: boolean;
|
||||
};
|
||||
|
||||
export type MaterialCount = {
|
||||
w: {
|
||||
p: number;
|
||||
@@ -175,6 +179,7 @@ export type Handlers = {
|
||||
downloadAnimation: () => Promise<void>;
|
||||
toggleSound(): void;
|
||||
toggleSpeech(): void;
|
||||
toggleDarkMode(): void;
|
||||
openOnLichess: () => Promise<boolean>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user