Добавление настроек и их функциональности
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
This commit is contained in:
parent
4257864b3d
commit
ee350c1852
23 changed files with 368 additions and 91 deletions
|
|
@ -7,14 +7,9 @@ import {appearanceSettings} from "./config/appearanceSettings";
|
|||
type SettingValue = any;
|
||||
type SettingsDictionary = Record<string, SettingValue>;
|
||||
|
||||
interface SettingOption {
|
||||
readonly value: any;
|
||||
readonly label: string;
|
||||
}
|
||||
|
||||
export type Setting = {
|
||||
readonly id: string;
|
||||
readonly type: 'boolean' | 'select' | 'text' | 'number' | 'button';
|
||||
readonly type: 'boolean' | 'select' | 'text' | 'number' | 'button' | 'hidden';
|
||||
readonly label: string;
|
||||
readonly defaultValue: any;
|
||||
value?: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue