Added UI , DB settings
This commit is contained in:
@@ -59,6 +59,8 @@ func GetDashboard(c *middleware.Context) {
|
||||
CanEdit: canEditDashboard(c.OrgRole),
|
||||
Created: dash.Created,
|
||||
Updated: dash.Updated,
|
||||
CreatedBy: dash.CreatedBy,
|
||||
UpdatedBy: dash.UpdatedBy,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@ type DashboardMeta struct {
|
||||
Expires time.Time `json:"expires"`
|
||||
Created time.Time `json:"created"`
|
||||
Updated time.Time `json:"updated"`
|
||||
CreatedBy string `json:"createdBy"`
|
||||
UpdatedBy string `json:"updatedBy"`
|
||||
}
|
||||
|
||||
type DashboardFullWithMeta struct {
|
||||
@@ -61,6 +63,7 @@ type DataSource struct {
|
||||
BasicAuth bool `json:"basicAuth"`
|
||||
BasicAuthUser string `json:"basicAuthUser"`
|
||||
BasicAuthPassword string `json:"basicAuthPassword"`
|
||||
WithCredentials bool `json:"withCredentials"`
|
||||
IsDefault bool `json:"isDefault"`
|
||||
JsonData map[string]interface{} `json:"jsonData"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user