mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 09:35:37 -05:00
Merge from vscode 79a1f5a5ca0c6c53db617aa1fa5a2396d2caebe2
This commit is contained in:
@@ -35,6 +35,17 @@ interface IExternalUriResolver {
|
||||
(uri: URI): Promise<URI>;
|
||||
}
|
||||
|
||||
interface ITunnelProvider {
|
||||
/**
|
||||
* Support for creating tunnels.
|
||||
*/
|
||||
tunnelFactory?: ITunnelFactory;
|
||||
/**
|
||||
* Support for filtering candidate ports
|
||||
*/
|
||||
showPortCandidate?: IShowPortCandidate;
|
||||
}
|
||||
|
||||
interface ITunnelFactory {
|
||||
(tunnelOptions: ITunnelOptions): Promise<ITunnel> | undefined;
|
||||
}
|
||||
@@ -89,9 +100,14 @@ interface ICommand {
|
||||
interface IHomeIndicator {
|
||||
|
||||
/**
|
||||
* The identifier of the command to run when clicking the home indicator.
|
||||
* The link to open when clicking the home indicator.
|
||||
*/
|
||||
command: string;
|
||||
href: string;
|
||||
|
||||
/**
|
||||
* @deprecated use `href` instead.
|
||||
*/
|
||||
command?: string;
|
||||
|
||||
/**
|
||||
* The icon name for the home indicator. This needs to be one of the existing
|
||||
@@ -193,14 +209,10 @@ interface IWorkbenchConstructionOptions {
|
||||
readonly resolveExternalUri?: IExternalUriResolver;
|
||||
|
||||
/**
|
||||
* Support for creating tunnels.
|
||||
* A provider for supplying tunneling functionality,
|
||||
* such as creating tunnels and showing candidate ports to forward.
|
||||
*/
|
||||
readonly tunnelFactory?: ITunnelFactory;
|
||||
|
||||
/**
|
||||
* Support for filtering candidate ports
|
||||
*/
|
||||
readonly showCandidate?: IShowPortCandidate;
|
||||
readonly tunnelProvider?: ITunnelProvider;
|
||||
|
||||
//#endregion
|
||||
|
||||
@@ -405,6 +417,7 @@ export {
|
||||
IExternalUriResolver,
|
||||
|
||||
// Tunnel
|
||||
ITunnelProvider,
|
||||
ITunnelFactory,
|
||||
ITunnel,
|
||||
ITunnelOptions,
|
||||
|
||||
Reference in New Issue
Block a user