feat(import): more import work

This commit is contained in:
Torkel Ödegaard
2016-05-14 10:00:43 +02:00
parent d9d46096dd
commit 7cd663bbe8
13 changed files with 92 additions and 59 deletions
+5 -1
View File
@@ -1,6 +1,9 @@
package dtos
import "github.com/grafana/grafana/pkg/plugins"
import (
"github.com/grafana/grafana/pkg/components/simplejson"
"github.com/grafana/grafana/pkg/plugins"
)
type PluginSetting struct {
Name string `json:"name"`
@@ -50,5 +53,6 @@ type ImportDashboardCommand struct {
PluginId string `json:"pluginId"`
Path string `json:"path"`
Overwrite bool `json:"overwrite"`
Dashboard *simplejson.Json `json:"dashboard"`
Inputs []plugins.ImportDashboardInput `json:"inputs"`
}