Initial LiveShare extension scaffolding (#7170)

* LiveShare initial shared connection

* Various cleanups

* Fix type

* Fix hygiene
This commit is contained in:
Karl Burtram
2019-09-11 15:24:08 -07:00
committed by GitHub
parent 9765b0ed8e
commit 9df66deb81
33 changed files with 3126 additions and 36 deletions

7
src/sql/azdata.d.ts vendored
View File

@@ -33,7 +33,7 @@ declare module 'azdata' {
export function registerMetadataProvider(provider: MetadataProvider): vscode.Disposable;
export function registerQueryProvider(provider: QueryProvider): vscode.Disposable;
export function registerQueryProvider(provider: QueryProvider, isLiveShare?: boolean): vscode.Disposable;
export function registerAdminServicesProvider(provider: AdminServicesProvider): vscode.Disposable;
@@ -93,7 +93,7 @@ declare module 'azdata' {
azureTenantId?: string;
options: { [name: string]: any };
static createFrom(options: any[]): ConnectionProfile;
static createFrom(options: Map<string, any>): ConnectionProfile;
}
/**
@@ -3825,6 +3825,9 @@ declare module 'azdata' {
// tab content is build using the modelview UI builder APIs
// probably should rename DialogTab class since it is useful outside dialogs
createQueryTab(tab: window.DialogTab): void;
// connect the query document using the given connection profile
connect(connectionProfile: connection.ConnectionProfile): Thenable<void>;
}
/**