mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 09:35:37 -05:00
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:
@@ -593,6 +593,10 @@ export function createAdsApiFactory(accessor: ServicesAccessor): IAdsExtensionAp
|
||||
}
|
||||
};
|
||||
|
||||
const executionPlan: typeof azdata.executionPlan = {
|
||||
BadgeType: sqlExtHostTypes.executionPlan.BadgeType
|
||||
};
|
||||
|
||||
return {
|
||||
version: initData.version,
|
||||
accounts,
|
||||
@@ -644,7 +648,8 @@ export function createAdsApiFactory(accessor: ServicesAccessor): IAdsExtensionAp
|
||||
TabOrientation: sqlExtHostTypes.TabOrientation,
|
||||
sqlAssessment,
|
||||
TextType: sqlExtHostTypes.TextType,
|
||||
designers: designers
|
||||
designers: designers,
|
||||
executionPlan: executionPlan
|
||||
};
|
||||
},
|
||||
extHostNotebook: extHostNotebook,
|
||||
|
||||
@@ -1031,3 +1031,11 @@ export namespace designers {
|
||||
GraphNode = 'GraphNode'
|
||||
}
|
||||
}
|
||||
|
||||
export namespace executionPlan {
|
||||
export enum BadgeType {
|
||||
Warning = 0,
|
||||
CriticalWarning = 1,
|
||||
Parallelism = 2
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user