[MM-57418] Implement support for defining plugin settings sections (#27654)
* Implement support for defining plugin settings sections * Implement custom plugin configuration sections * Tests * Update test * Improvements
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c0a7a19294
Коммит
be94c47607
@@ -44,6 +44,17 @@ export type PluginSettingsSchema = {
|
||||
header: string;
|
||||
footer: string;
|
||||
settings: PluginSetting[];
|
||||
sections?: PluginSettingSection[];
|
||||
};
|
||||
|
||||
export type PluginSettingSection = {
|
||||
key: string;
|
||||
title?: string;
|
||||
subtitle?: string;
|
||||
settings: PluginSetting[];
|
||||
header?: string;
|
||||
footer?: string;
|
||||
custom?: boolean;
|
||||
};
|
||||
|
||||
export type PluginSetting = {
|
||||
|
||||
Ссылка в новой задаче
Block a user