chore: add cleanup task for duplicated provisioned dashboards (#115103)

* chore: add cleanup task for duplicated provisioned dashboards
This commit is contained in:
Renato Costa
2025-12-12 13:56:47 -05:00
committed by GitHub
parent a37ebf609e
commit c73cab8eef
8 changed files with 561 additions and 21 deletions
+10 -1
View File
@@ -304,8 +304,15 @@ type DeleteDashboardCommand struct {
RemovePermissions bool
}
type ProvisioningConfig struct {
Name string
OrgID int64
Folder string
AllowUIUpdates bool
}
type DeleteOrphanedProvisionedDashboardsCommand struct {
ReaderNames []string
Config []ProvisioningConfig
}
type DashboardProvisioningSearchResults struct {
@@ -405,6 +412,8 @@ type DashboardSearchProjection struct {
FolderTitle string
SortMeta int64
Tags []string
ManagedBy utils.ManagerKind
ManagerId string
Deleted *time.Time
}