diff --git a/pkg/models/address.go b/pkg/models/address.go deleted file mode 100644 index 0cf8aaf7ddb..00000000000 --- a/pkg/models/address.go +++ /dev/null @@ -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"` -} diff --git a/pkg/models/dashboards.go b/pkg/models/dashboards.go index d4aabc68e6c..85e628d0fd0 100644 --- a/pkg/models/dashboards.go +++ b/pkg/models/dashboards.go @@ -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 diff --git a/pkg/models/helpflags.go b/pkg/models/helpflags.go deleted file mode 100644 index 48b35954aa0..00000000000 --- a/pkg/models/helpflags.go +++ /dev/null @@ -1,8 +0,0 @@ -package models - -import "github.com/grafana/grafana/pkg/services/user" - -type SetUserHelpFlagCommand struct { - HelpFlags1 user.HelpFlags1 - UserId int64 -} diff --git a/pkg/models/plugin_settings.go b/pkg/models/plugin_settings.go index 2052976917c..e9e46191f03 100644 --- a/pkg/models/plugin_settings.go +++ b/pkg/models/plugin_settings.go @@ -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