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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 42 deletions

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"`
}

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) return fmt.Sprintf("%s/dashboards/f/%s/%s", setting.AppSubUrl, folderUid, slug)
} }
type ValidateDashboardBeforeSaveResult struct {
IsParentFolderChanged bool
}
// //
// COMMANDS // COMMANDS
// //
@ -261,18 +257,6 @@ type GetDashboardsByPluginIdQuery struct {
Result []*Dashboard Result []*Dashboard
} }
type GetDashboardSlugByIdQuery struct {
Id int64
Result string
}
type GetDashboardsBySlugQuery struct {
OrgId int64
Slug string
Result []*Dashboard
}
type DashboardRef struct { type DashboardRef struct {
Uid string Uid string
Slug string Slug string

View File

@ -1,8 +0,0 @@
package models
import "github.com/grafana/grafana/pkg/services/user"
type SetUserHelpFlagCommand struct {
HelpFlags1 user.HelpFlags1
UserId int64
}

View File

@ -57,14 +57,6 @@ type UpdatePluginSettingVersionCmd struct {
// --------------------- // ---------------------
// QUERIES // QUERIES
type PluginSettingInfoDTO struct {
OrgId int64
PluginId string
Enabled bool
Pinned bool
PluginVersion string
}
type GetPluginSettingByIdQuery struct { type GetPluginSettingByIdQuery struct {
PluginId string PluginId string
OrgId int64 OrgId int64