mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 01:25:38 -05:00
Merge from vscode ad407028575a77ea387eb7cc219b323dc017b686
This commit is contained in:
committed by
Anthony Dresser
parent
404260b8a0
commit
4ad73d381c
@@ -8,7 +8,6 @@ import { main } from 'vs/workbench/browser/web.main';
|
||||
import { UriComponents, URI } from 'vs/base/common/uri';
|
||||
import { IFileSystemProvider, FileSystemProviderCapabilities, IFileChange, FileChangeType } from 'vs/platform/files/common/files';
|
||||
import { IWebSocketFactory, IWebSocket } from 'vs/platform/remote/browser/browserSocketFactory';
|
||||
import { ICredentialsProvider } from 'vs/workbench/services/credentials/browser/credentialsService';
|
||||
import { IExtensionManifest } from 'vs/platform/extensions/common/extensions';
|
||||
import { IURLCallbackProvider } from 'vs/workbench/services/url/browser/urlService';
|
||||
import { LogLevel } from 'vs/platform/log/common/log';
|
||||
@@ -19,6 +18,7 @@ import { IWorkspaceProvider, IWorkspace } from 'vs/workbench/services/host/brows
|
||||
import { CommandsRegistry } from 'vs/platform/commands/common/commands';
|
||||
import { IProductConfiguration } from 'vs/platform/product/common/productService';
|
||||
import { mark } from 'vs/base/common/performance';
|
||||
import { ICredentialsProvider } from 'vs/platform/credentials/common/credentials';
|
||||
|
||||
interface IResourceUriProvider {
|
||||
(uri: URI): URI;
|
||||
@@ -121,6 +121,32 @@ interface IHomeIndicator {
|
||||
title: string;
|
||||
}
|
||||
|
||||
interface IWindowIndicator {
|
||||
|
||||
/**
|
||||
* Triggering this event will cause the window indicator to update.
|
||||
*/
|
||||
onDidChange: Event<void>;
|
||||
|
||||
/**
|
||||
* Label of the window indicator may include octicons
|
||||
* e.g. `$(remote) label`
|
||||
*/
|
||||
label: string;
|
||||
|
||||
/**
|
||||
* Tooltip of the window indicator should not include
|
||||
* octicons and be descriptive.
|
||||
*/
|
||||
tooltip: string;
|
||||
|
||||
/**
|
||||
* If provided, overrides the default command that
|
||||
* is executed when clicking on the window indicator.
|
||||
*/
|
||||
command?: string;
|
||||
}
|
||||
|
||||
interface IDefaultSideBarLayout {
|
||||
visible?: boolean;
|
||||
containers?: ({
|
||||
@@ -204,6 +230,11 @@ interface IWorkbenchConstructionOptions {
|
||||
*/
|
||||
readonly connectionToken?: string;
|
||||
|
||||
/**
|
||||
* Session id of the current authenticated user
|
||||
*/
|
||||
readonly authenticationSessionId?: string;
|
||||
|
||||
/**
|
||||
* An endpoint to serve iframe content ("webview") from. This is required
|
||||
* to provide full security isolation from the workbench host.
|
||||
@@ -231,6 +262,11 @@ interface IWorkbenchConstructionOptions {
|
||||
*/
|
||||
readonly tunnelProvider?: ITunnelProvider;
|
||||
|
||||
/**
|
||||
* Endpoints to be used for proxying authentication code exchange calls in the browser.
|
||||
*/
|
||||
readonly codeExchangeProxyEndpoints?: { [providerId: string]: string }
|
||||
|
||||
//#endregion
|
||||
|
||||
|
||||
@@ -247,11 +283,6 @@ interface IWorkbenchConstructionOptions {
|
||||
*/
|
||||
userDataProvider?: IFileSystemProvider;
|
||||
|
||||
/**
|
||||
* Session id of the current authenticated user
|
||||
*/
|
||||
readonly authenticationSessionId?: string;
|
||||
|
||||
/**
|
||||
* Enables user data sync by default and syncs into the current authenticated user account using the provided [authenticationSessionId}(#authenticationSessionId).
|
||||
*/
|
||||
@@ -268,10 +299,25 @@ interface IWorkbenchConstructionOptions {
|
||||
readonly staticExtensions?: ReadonlyArray<IStaticExtension>;
|
||||
|
||||
/**
|
||||
* [TEMPORARY]: This will be removed soon.
|
||||
* Service end-point hosting builtin extensions
|
||||
*/
|
||||
readonly builtinExtensionsServiceUrl?: string;
|
||||
|
||||
/**
|
||||
* [TEMPORARY]: This will be removed soon.
|
||||
* Enable inlined extensions.
|
||||
* Defaults to false on serverful and true on serverless.
|
||||
*/
|
||||
readonly _enableBuiltinExtensions?: boolean;
|
||||
|
||||
/**
|
||||
* [TEMPORARY]: This will be removed soon.
|
||||
* Enable `<iframe>` wrapping.
|
||||
* Defaults to false.
|
||||
*/
|
||||
readonly _wrapWebWorkerExtHostInIframe?: boolean;
|
||||
|
||||
/**
|
||||
* Support for URL callbacks.
|
||||
*/
|
||||
@@ -330,6 +376,11 @@ interface IWorkbenchConstructionOptions {
|
||||
*/
|
||||
readonly productConfiguration?: Partial<IProductConfiguration>;
|
||||
|
||||
/**
|
||||
* Optional override for properties of the window indicator in the status bar.
|
||||
*/
|
||||
readonly windowIndicator?: IWindowIndicator;
|
||||
|
||||
//#endregion
|
||||
|
||||
|
||||
@@ -345,11 +396,6 @@ interface IWorkbenchConstructionOptions {
|
||||
*/
|
||||
readonly driver?: boolean;
|
||||
|
||||
/**
|
||||
* Endpoints to be used for proxying authentication code exchange calls in the browser.
|
||||
*/
|
||||
readonly codeExchangeProxyEndpoints?: { [providerId: string]: string }
|
||||
|
||||
//#endregion
|
||||
}
|
||||
|
||||
@@ -489,6 +535,7 @@ export {
|
||||
// Branding
|
||||
IHomeIndicator,
|
||||
IProductConfiguration,
|
||||
IWindowIndicator,
|
||||
|
||||
// Default layout
|
||||
IDefaultView,
|
||||
|
||||
Reference in New Issue
Block a user