mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +02:00
[1.x] chore: update JS deps (#4204)
* chore: output of `yarn upgrade` * style: run formatter
This commit is contained in:
@@ -84,14 +84,14 @@ const ColorPreviewSettingType = 'color-preview' as const;
|
|||||||
* Valid options for the setting component builder to generate a Switch.
|
* Valid options for the setting component builder to generate a Switch.
|
||||||
*/
|
*/
|
||||||
export interface SwitchSettingComponentOptions extends CommonSettingsItemOptions {
|
export interface SwitchSettingComponentOptions extends CommonSettingsItemOptions {
|
||||||
type: typeof BooleanSettingTypes[number];
|
type: (typeof BooleanSettingTypes)[number];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Valid options for the setting component builder to generate a Select dropdown.
|
* Valid options for the setting component builder to generate a Select dropdown.
|
||||||
*/
|
*/
|
||||||
export interface SelectSettingComponentOptions extends CommonSettingsItemOptions {
|
export interface SelectSettingComponentOptions extends CommonSettingsItemOptions {
|
||||||
type: typeof SelectSettingTypes[number];
|
type: (typeof SelectSettingTypes)[number];
|
||||||
/**
|
/**
|
||||||
* Map of values to their labels
|
* Map of values to their labels
|
||||||
*/
|
*/
|
||||||
@@ -103,7 +103,7 @@ export interface SelectSettingComponentOptions extends CommonSettingsItemOptions
|
|||||||
* Valid options for the setting component builder to generate a Textarea.
|
* Valid options for the setting component builder to generate a Textarea.
|
||||||
*/
|
*/
|
||||||
export interface TextareaSettingComponentOptions extends CommonSettingsItemOptions {
|
export interface TextareaSettingComponentOptions extends CommonSettingsItemOptions {
|
||||||
type: typeof TextareaSettingTypes[number];
|
type: (typeof TextareaSettingTypes)[number];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user