provisioing: add lookup table provisioned dashboards

This commit is contained in:
bergquist
2018-01-23 12:28:56 +01:00
parent 083abff297
commit 67a9e6a71d
15 changed files with 400 additions and 162 deletions

View File

@@ -167,6 +167,21 @@ type SaveDashboardCommand struct {
Result *Dashboard
}
type DashboardProvisioning struct {
Id int64
DashboardId int64
Name string
ExternalId string
Updated time.Time
}
type SaveProvisionedDashboardCommand struct {
DashboardCmd *SaveDashboardCommand
DashboardProvisioning *DashboardProvisioning
Result *Dashboard
}
type DeleteDashboardCommand struct {
Id int64
OrgId int64
@@ -209,3 +224,9 @@ type GetDashboardSlugByIdQuery struct {
Id int64
Result string
}
type GetProvisionedDashboardDataQuery struct {
Name string
Result []*DashboardProvisioning
}