Export: save all dashboards to git (#48233)
This commit is contained in:
@@ -31,9 +31,9 @@ const (
|
||||
type DsAccess string
|
||||
|
||||
type DataSource struct {
|
||||
Id int64 `json:"id"`
|
||||
OrgId int64 `json:"orgId"`
|
||||
Version int `json:"version"`
|
||||
Id int64 `json:"id,omitempty"`
|
||||
OrgId int64 `json:"orgId,omitempty"`
|
||||
Version int `json:"version,omitempty"`
|
||||
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
@@ -54,8 +54,8 @@ type DataSource struct {
|
||||
ReadOnly bool `json:"readOnly"`
|
||||
Uid string `json:"uid"`
|
||||
|
||||
Created time.Time `json:"created"`
|
||||
Updated time.Time `json:"updated"`
|
||||
Created time.Time `json:"created,omitempty"`
|
||||
Updated time.Time `json:"updated,omitempty"`
|
||||
}
|
||||
|
||||
// AllowedCookies parses the jsondata.keepCookies and returns a list of
|
||||
|
||||
Reference in New Issue
Block a user