Worked on dashboard starring and unstarring, renamed favorite model to star

This commit is contained in:
Torkel Ödegaard
2015-02-02 11:32:32 +01:00
parent 706481b1a3
commit ad3d15e28d
12 changed files with 231 additions and 118 deletions
+6 -2
View File
@@ -25,9 +25,13 @@ type CurrentUser struct {
GravatarUrl string `json:"gravatarUrl"`
}
type DashboardMeta struct {
IsStarred bool `json:"isStarred"`
}
type Dashboard struct {
IsFavorite bool `json:"isFavorite"`
Dashboard map[string]interface{} `json:"dashboard"`
Meta DashboardMeta `json:"meta"`
Model map[string]interface{} `json:"model"`
}
type DataSource struct {