mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 01:25:37 -05:00
Add IconPath type (#14420)
* Add IconPath type * Add ThemedIconPath subtype * Update type
This commit is contained in:
16
src/sql/azdata.proposed.d.ts
vendored
16
src/sql/azdata.proposed.d.ts
vendored
@@ -349,7 +349,7 @@ declare module 'azdata' {
|
||||
export interface RadioCard {
|
||||
id: string;
|
||||
descriptions: RadioCardDescription[];
|
||||
icon?: string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri };
|
||||
icon?: IconPath;
|
||||
}
|
||||
|
||||
export interface RadioCardDescription {
|
||||
@@ -441,7 +441,7 @@ declare module 'azdata' {
|
||||
/**
|
||||
* The path for the icon with optional dark-theme away alternative
|
||||
*/
|
||||
iconPath?: string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri };
|
||||
iconPath?: IconPath;
|
||||
/**
|
||||
* The height of the icon
|
||||
*/
|
||||
@@ -538,7 +538,7 @@ declare module 'azdata' {
|
||||
/**
|
||||
* Icon of the tab
|
||||
*/
|
||||
icon?: string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri };
|
||||
icon?: IconPath;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -820,7 +820,7 @@ declare module 'azdata' {
|
||||
}
|
||||
|
||||
export interface ButtonColumnOption {
|
||||
icon?: string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri };
|
||||
icon?: IconPath;
|
||||
}
|
||||
|
||||
export interface ButtonCell extends TableCell {
|
||||
@@ -963,7 +963,7 @@ declare module 'azdata' {
|
||||
/**
|
||||
* The icon to be displayed.
|
||||
*/
|
||||
icon: string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri };
|
||||
icon: IconPath;
|
||||
/**
|
||||
* The title of the icon.
|
||||
*/
|
||||
@@ -974,7 +974,7 @@ declare module 'azdata' {
|
||||
/**
|
||||
* The icon to be displayed.
|
||||
*/
|
||||
icon?: string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri };
|
||||
icon?: IconPath;
|
||||
/**
|
||||
* The title of the button.
|
||||
*/
|
||||
@@ -985,7 +985,7 @@ declare module 'azdata' {
|
||||
/**
|
||||
* The icon to be displayed.
|
||||
*/
|
||||
icon?: string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri };
|
||||
icon?: IconPath;
|
||||
/**
|
||||
* The title of the hyperlink.
|
||||
*/
|
||||
@@ -1013,7 +1013,7 @@ declare module 'azdata' {
|
||||
/**
|
||||
* The icon to use for all the cells in this column.
|
||||
*/
|
||||
icon?: string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri };
|
||||
icon?: IconPath;
|
||||
}
|
||||
|
||||
export interface ButtonColumn extends IconColumnOptions, TableColumn {
|
||||
|
||||
Reference in New Issue
Block a user