Adding execution plan component to model view. (#23620)

This commit is contained in:
Aasim Khan
2023-07-05 13:33:28 -07:00
committed by GitHub
parent 373dc5a366
commit 28e59f44e2
21 changed files with 175 additions and 21 deletions

View File

@@ -703,6 +703,25 @@ declare module 'azdata' {
headerFilter?: boolean,
}
export type ExecutionPlanData = executionPlan.ExecutionPlanGraphInfo | executionPlan.ExecutionPlanGraph[];
export interface ExecutionPlanComponentProperties extends ComponentProperties {
/**
* Provide the execution plan file to be displayed. In case of execution plan graph info, the file type will determine the provider to be used to generate execution plan graphs
*/
data?: ExecutionPlanData;
}
/**
* Defines the executionPlan component
*/
export interface ExecutionPlanComponent extends Component, ExecutionPlanComponentProperties {
}
export interface ModelBuilder {
executionPlan(): ComponentBuilder<ExecutionPlanComponent, ExecutionPlanComponentProperties>;
}
export interface ListViewOption {
/**
* The optional accessibility label for the column. Default is the label for the list view option.