More work on backend for user favorites

This commit is contained in:
Torkel Ödegaard
2015-01-29 12:10:34 +01:00
parent e02e60171e
commit 1d6413bfae
14 changed files with 138 additions and 59 deletions
+5
View File
@@ -25,6 +25,11 @@ type CurrentUser struct {
GravatarUrl string `json:"gravatarUrl"`
}
type Dashboard struct {
IsFavorite bool `json:"isFavorite"`
Dashboard map[string]interface{} `json:"dashboard"`
}
type DataSource struct {
Id int64 `json:"id"`
AccountId int64 `json:"accountId"`