mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-31 01:25:38 -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:
@@ -11,12 +11,19 @@ export interface IColumn {
|
||||
isJson?: boolean;
|
||||
}
|
||||
|
||||
export type VisualizationType = 'bar' | 'count' | 'doughnut' | 'horizontalBar' | 'image' | 'line' | 'pie' | 'scatter' | 'table' | 'timeSeries';
|
||||
|
||||
export interface VisualizationOptions {
|
||||
type: VisualizationType
|
||||
}
|
||||
|
||||
export interface ResultSetSummary {
|
||||
id: number;
|
||||
batchId: number;
|
||||
rowCount: number;
|
||||
columnInfo: IColumn[];
|
||||
complete: boolean;
|
||||
visualization?: VisualizationOptions;
|
||||
}
|
||||
|
||||
export interface BatchStartSummary {
|
||||
|
||||
Reference in New Issue
Block a user