mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 02:48:30 -05:00
Add support for "More Actions" column in Resource Viewer (#13093)
* Add support for "More Actions" column in resource viewer * update provider * remove import * Use menu contribution and make actions column always show * cleanup * move context menu anchor * Comments
This commit is contained in:
19
src/sql/azdata.proposed.d.ts
vendored
19
src/sql/azdata.proposed.d.ts
vendored
@@ -139,7 +139,11 @@ declare module 'azdata' {
|
||||
DataGridProvider = 'DataGridProvider'
|
||||
}
|
||||
|
||||
/**
|
||||
* The type of the DataGrid column
|
||||
*/
|
||||
export type DataGridColumnType = 'hyperlink' | 'text' | 'image';
|
||||
|
||||
/**
|
||||
* A column in a data grid
|
||||
*/
|
||||
@@ -198,10 +202,14 @@ declare module 'azdata' {
|
||||
* The ID of the command to execute
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* The text to display for the action
|
||||
*/
|
||||
displayText?: string;
|
||||
/**
|
||||
* The optional args to pass to the command
|
||||
*/
|
||||
args?: string[];
|
||||
args?: any[];
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -226,14 +234,11 @@ declare module 'azdata' {
|
||||
* A unique identifier for this item
|
||||
*/
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* The optional icon to display for this item
|
||||
* The other properties that will be displayed in the grid columns
|
||||
*/
|
||||
iconPath?: string;
|
||||
/**
|
||||
* The other properties that will be displayed in the grid
|
||||
*/
|
||||
[key: string]: string | DataGridHyperlinkInfo;
|
||||
fieldValues: { [key: string]: string | DataGridHyperlinkInfo }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user