1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 23:47:32 +02:00

Bundled output for commit 294878291c

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot
2023-11-10 22:16:11 +00:00
parent 294878291c
commit 60ffa78531
3 changed files with 10 additions and 10 deletions

View File

@@ -48,13 +48,13 @@ declare const ImageUploadSettingType: "image-upload";
* Valid options for the setting component builder to generate a Switch.
*/
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.
*/
export interface SelectSettingComponentOptions extends CommonSettingsItemOptions {
type: typeof SelectSettingTypes[number];
type: (typeof SelectSettingTypes)[number];
/**
* Map of values to their labels
*/
@@ -67,7 +67,7 @@ export interface SelectSettingComponentOptions extends CommonSettingsItemOptions
* Valid options for the setting component builder to generate a Textarea.
*/
export interface TextareaSettingComponentOptions extends CommonSettingsItemOptions {
type: typeof TextareaSettingTypes[number];
type: (typeof TextareaSettingTypes)[number];
}
/**
* Valid options for the setting component builder to generate a ColorPreviewInput.