File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
packages/clients/src/api/cockpit/v1beta1 Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -380,6 +380,7 @@ export const marshalCreateDatasourceRequest = (
380380 request : CreateDatasourceRequest ,
381381 defaults : DefaultValues ,
382382) : Record < string , unknown > => ( {
383+ is_default : request . isDefault ,
383384 name : request . name ,
384385 project_id : request . projectId ?? defaults . defaultProjectId ,
385386 type : request . type ,
Original file line number Diff line number Diff line change @@ -209,6 +209,8 @@ export type CreateDatasourceRequest = {
209209 name : string
210210 /** Datasource type. */
211211 type ?: DatasourceType
212+ /** Specifies that the returned output is the default datasource per type. */
213+ isDefault : boolean
212214}
213215
214216/** Request to create a Grafana user. */
You can’t perform that action at this time.
0 commit comments