mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-01 09:35:41 -05:00
Add IconPath type (#14420)
* Add IconPath type * Add ThemedIconPath subtype * Update type
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as azdata from 'azdata';
|
||||
import * as vscode from 'vscode';
|
||||
import { ApiWrapper } from '../common/apiWrapper';
|
||||
import { ModelViewBase } from './models/modelViewBase';
|
||||
import { ViewBase } from './viewBase';
|
||||
@@ -16,7 +15,7 @@ export interface iconSettings {
|
||||
containerWidth?: number,
|
||||
containerHeight?: number,
|
||||
css?: { [key: string]: string },
|
||||
path?: string | vscode.Uri | { light: string | vscode.Uri; dark: string | vscode.Uri }
|
||||
path?: azdata.IconPath;
|
||||
}
|
||||
/**
|
||||
* View to pick model source
|
||||
|
||||
@@ -14,7 +14,7 @@ interface IActionMetadata {
|
||||
title?: string,
|
||||
description?: string,
|
||||
link?: string,
|
||||
iconPath?: { light: string | vscode.Uri; dark: string | vscode.Uri },
|
||||
iconPath?: azdata.ThemedIconPath,
|
||||
command?: string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user