Chore: Remove dashboards from models pkg (#61578)
* Copy dashboard models to dashboard pkg * Use some models from current pkg instead of models * Adjust api pkg * Adjust pkg services * Fix lint * Chore: Remove dashboards models * Remove dashboards from models pkg * Fix lint in tests * Fix lint in tests 2 * Fix for import in auth * Remove newline * Revert unused fix
This commit is contained in:
@@ -3,7 +3,7 @@ package plugindashboards
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/grafana/grafana/pkg/models"
|
||||
"github.com/grafana/grafana/pkg/services/dashboards"
|
||||
)
|
||||
|
||||
// PluginDashboard plugin dashboard model..
|
||||
@@ -43,7 +43,7 @@ type LoadPluginDashboardRequest struct {
|
||||
|
||||
// LoadPluginDashboardResponse response object for loading a plugin dashboard.
|
||||
type LoadPluginDashboardResponse struct {
|
||||
Dashboard *models.Dashboard
|
||||
Dashboard *dashboards.Dashboard
|
||||
}
|
||||
|
||||
// Service interface for listing plugin dashboards.
|
||||
|
||||
Reference in New Issue
Block a user