mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DataSources: minor typescript cleanups and comments (#16860)
* datasource interface cleanup * more types * use PluginInclude
This commit is contained in:
committed by
Torkel Ödegaard
parent
3e6104f45a
commit
ece4d2201c
@@ -330,7 +330,8 @@ export interface QueryHint {
|
||||
}
|
||||
|
||||
/**
|
||||
* Data Source instance edit model
|
||||
* Data Source instance edit model. This is returned from:
|
||||
* /api/datasources
|
||||
*/
|
||||
export interface DataSourceSettings {
|
||||
id: number;
|
||||
@@ -354,7 +355,8 @@ export interface DataSourceSettings {
|
||||
|
||||
/**
|
||||
* Frontend settings model that is passed to Datasource constructor. This differs a bit from the model above
|
||||
* as this data model is available to every user who has access to a data source (Viewers+).
|
||||
* as this data model is available to every user who has access to a data source (Viewers+). This is loaded
|
||||
* in bootData (on page load), or from: /api/frontend/settings
|
||||
*/
|
||||
export interface DataSourceInstanceSettings {
|
||||
id: number;
|
||||
|
||||
Reference in New Issue
Block a user