Plugins: Add plugin settings DTO (#46283)
* add clearer service layer * re-order frontend settings for clarity * fix fetch fail * fix API response * fix mockstore * in -> where
This commit is contained in:
@@ -64,7 +64,7 @@ type Store interface {
|
||||
GetPreferences(ctx context.Context, query *models.GetPreferencesQuery) error
|
||||
SavePreferences(ctx context.Context, cmd *models.SavePreferencesCommand) error
|
||||
PatchPreferences(ctx context.Context, cmd *models.PatchPreferencesCommand) error
|
||||
GetPluginSettings(ctx context.Context, orgID int64) ([]*models.PluginSettingInfoDTO, error)
|
||||
GetPluginSettings(ctx context.Context, orgID int64) ([]*models.PluginSetting, error)
|
||||
GetPluginSettingById(ctx context.Context, query *models.GetPluginSettingByIdQuery) error
|
||||
UpdatePluginSetting(ctx context.Context, cmd *models.UpdatePluginSettingCmd) error
|
||||
UpdatePluginSettingVersion(ctx context.Context, cmd *models.UpdatePluginSettingVersionCmd) error
|
||||
|
||||
Reference in New Issue
Block a user