mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update data sources now work, #8
This commit is contained in:
@@ -31,7 +31,7 @@ type DataSource struct {
|
||||
|
||||
type GetDataSourcesQuery struct {
|
||||
AccountId int64
|
||||
Resp []*DataSource
|
||||
Result []*DataSource
|
||||
}
|
||||
|
||||
type AddDataSourceCommand struct {
|
||||
@@ -43,3 +43,19 @@ type AddDataSourceCommand struct {
|
||||
Password string
|
||||
User string
|
||||
}
|
||||
|
||||
type UpdateDataSourceCommand struct {
|
||||
Id int64
|
||||
AccountId int64
|
||||
Name string
|
||||
Type DsType
|
||||
Access DsAccess
|
||||
Url string
|
||||
Password string
|
||||
User string
|
||||
}
|
||||
|
||||
type DeleteDataSourceCommand struct {
|
||||
Id int64
|
||||
AccountId int64
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user