This commit is contained in:
thororen1234 2025-01-29 19:48:32 -05:00
parent 835b2c1121
commit 39d6e1a5bb
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ const settings = definePluginSettings({
reasons: { reasons: {
description: "Your custom reasons", description: "Your custom reasons",
type: OptionType.COMPONENT, type: OptionType.COMPONENT,
default: [], default: [""],
component: ReasonsComponent, component: ReasonsComponent,
}, },
textInputDefault: { textInputDefault: {

View file

@ -204,7 +204,7 @@ export type SettingsChecks<D extends SettingsDefinition> = {
}; };
export type PluginSettingDef = export type PluginSettingDef =
(PluginSettingCustomDef & Pick<PluginSettingCommon, "onChange">) | (PluginSettingCommon & PluginSettingCustomDef & Pick<PluginSettingCommon, "onChange">) |
(PluginSettingComponentDef & Omit<PluginSettingCommon, "description" | "placeholder">) | (( (PluginSettingComponentDef & Omit<PluginSettingCommon, "description" | "placeholder">) | ((
| PluginSettingStringDef | PluginSettingStringDef
| PluginSettingNumberDef | PluginSettingNumberDef