mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
add support to accept visualization options (#14254)
* allow query provider to specify visual options * make it reusable * add comment * fix error * null check
This commit is contained in:
19
src/sql/azdata.proposed.d.ts
vendored
19
src/sql/azdata.proposed.d.ts
vendored
@@ -983,4 +983,23 @@ declare module 'azdata' {
|
||||
*/
|
||||
MsGraph = 7
|
||||
}
|
||||
|
||||
export interface ResultSetSummary {
|
||||
/**
|
||||
* The visualization options for the result set.
|
||||
*/
|
||||
visualization?: VisualizationOptions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines all the supported visualization types
|
||||
*/
|
||||
export type VisualizationType = 'bar' | 'count' | 'doughnut' | 'horizontalBar' | 'image' | 'line' | 'pie' | 'scatter' | 'table' | 'timeSeries';
|
||||
|
||||
/**
|
||||
* Defines the configuration options for visualization
|
||||
*/
|
||||
export interface VisualizationOptions {
|
||||
type: VisualizationType;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user