Chore: Remove unused models (#61533)

* Chore: Remove unused models

* put AuthModuleConversion back
This commit is contained in:
Serge Zaitsev
2023-01-16 12:52:55 +01:00
committed by GitHub
parent 0d513224af
commit 7e51eac740
4 changed files with 0 additions and 42 deletions
-10
View File
@@ -1,10 +0,0 @@
package models
type Address struct {
Address1 string `json:"address1"`
Address2 string `json:"address2"`
City string `json:"city"`
ZipCode string `json:"zipCode"`
State string `json:"state"`
Country string `json:"country"`
}
-16
View File
@@ -172,10 +172,6 @@ func GetFolderUrl(folderUid string, slug string) string {
return fmt.Sprintf("%s/dashboards/f/%s/%s", setting.AppSubUrl, folderUid, slug)
}
type ValidateDashboardBeforeSaveResult struct {
IsParentFolderChanged bool
}
//
// COMMANDS
//
@@ -261,18 +257,6 @@ type GetDashboardsByPluginIdQuery struct {
Result []*Dashboard
}
type GetDashboardSlugByIdQuery struct {
Id int64
Result string
}
type GetDashboardsBySlugQuery struct {
OrgId int64
Slug string
Result []*Dashboard
}
type DashboardRef struct {
Uid string
Slug string
-8
View File
@@ -1,8 +0,0 @@
package models
import "github.com/grafana/grafana/pkg/services/user"
type SetUserHelpFlagCommand struct {
HelpFlags1 user.HelpFlags1
UserId int64
}
-8
View File
@@ -57,14 +57,6 @@ type UpdatePluginSettingVersionCmd struct {
// ---------------------
// QUERIES
type PluginSettingInfoDTO struct {
OrgId int64
PluginId string
Enabled bool
Pinned bool
PluginVersion string
}
type GetPluginSettingByIdQuery struct {
PluginId string
OrgId int64