Previews: remove dashboard previews backend (#66176)

* remove dashboard previews backend

* remove dashboard previews backend

* bring back the migration

* bring back the migration

* bring back the migration
This commit is contained in:
Artur Wierzbicki
2023-04-13 21:42:24 +04:00
committed by GitHub
parent e0b2aeffa3
commit 2136e680c4
37 changed files with 45 additions and 2695 deletions

View File

@@ -64,16 +64,6 @@ type FrontendSettingsUnifiedAlertingDTO struct {
MinInterval string `json:"minInterval"`
}
type DashboardPreviewsSystemRequirements struct {
Met bool `json:"met"`
RequiredImageRendererPluginVersion string `json:"requiredImageRendererPluginVersion"`
}
type DashboardPreviewsSetupConfig struct {
SystemRequirements DashboardPreviewsSystemRequirements `json:"systemRequirements"`
ThumbnailsExist bool `json:"thumbnailsExist"`
}
// Enterprise-only
type FrontendSettingsLicensingDTO struct {
Slug *string `json:"slug,omitempty"`
@@ -210,8 +200,6 @@ type FrontendSettingsDTO struct {
SamlName string `json:"samlName"`
TokenExpirationDayLimit int `json:"tokenExpirationDayLimit"`
DashboardPreviews DashboardPreviewsSetupConfig `json:"dashboardPreviews,omitempty"`
GeomapDefaultBaseLayerConfig *map[string]interface{} `json:"geomapDefaultBaseLayerConfig,omitempty"`
GeomapDisableCustomBaseLayer bool `json:"geomapDisableCustomBaseLayer"`