mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Add graph icons to OE and TD (#18808)
* add graph icons to OE and TD * PR comments * change enum type * change sub type to icon and make basic as default * changed icontype to icon * change default logic location * change icon name to be more generic * use right icons
This commit is contained in:
15
src/sql/azdata.proposed.d.ts
vendored
15
src/sql/azdata.proposed.d.ts
vendored
@@ -743,6 +743,11 @@ declare module 'azdata' {
|
||||
* Extension can store additional information that the provider needs to uniquely identify a table.
|
||||
*/
|
||||
[key: string]: any;
|
||||
/**
|
||||
* Table icon type that's shown in the editor tab. Default is the basic
|
||||
* table icon.
|
||||
*/
|
||||
tableIcon?: TableIcon;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -759,6 +764,16 @@ declare module 'azdata' {
|
||||
viewModel: DesignerViewModel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Table icon that's shown on the editor tab
|
||||
*/
|
||||
export enum TableIcon {
|
||||
Basic = 'Basic',
|
||||
Temporal = 'Temporal',
|
||||
GraphNode = 'GraphNode',
|
||||
GraphEdge = 'GraphEdge'
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the common table properties.
|
||||
* Extensions can use the names to access the designer view model.
|
||||
|
||||
Reference in New Issue
Block a user