Adding badge icons to execution plan (#19004)

* Adding badge icons to executionplan

* Fixing doc comment

* Fixing doc comments

* Making enum value more readable

* Changing default to undefined.

* Fixing some icon names
This commit is contained in:
Aasim Khan
2022-04-11 14:44:07 -07:00
committed by GitHub
parent a577c3feca
commit 170950dca8
9 changed files with 104 additions and 5 deletions

View File

@@ -1264,6 +1264,27 @@ declare module 'azdata' {
* Edges corresponding to the children.
*/
edges: ExecutionPlanEdge[];
/**
* Warning/parallelism badges applicable to the current node
*/
badges: ExecutionPlanBadge[];
}
export interface ExecutionPlanBadge {
/**
* Type of the node overlay. This determines the icon that is displayed for it
*/
type: BadgeType;
/**
* Text to display for the overlay tooltip
*/
tooltip: string;
}
export enum BadgeType {
Warning = 0,
CriticalWarning = 1,
Parallelism = 2
}
export interface ExecutionPlanEdge {