allow extension to provide custom icons to data explorer tree (#16868)

* expose icon path to extension for OE node

* remove node type

* pr comments
This commit is contained in:
Alan Ren
2021-08-24 17:52:19 -07:00
committed by GitHub
parent 16975da000
commit 712a1b3a65
10 changed files with 73 additions and 26 deletions

View File

@@ -921,4 +921,11 @@ declare module 'azdata' {
*/
physicalMemoryInMb?: number;
}
export interface NodeInfo {
/**
* Specify the icon for the node. The value could the path to the icon or and ADS icon defined in {@link SqlThemeIcon}.
*/
icon?: IconPath | SqlThemeIcon;
}
}