mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-15 02:48:30 -05:00
Initial LiveShare extension scaffolding (#7170)
* LiveShare initial shared connection * Various cleanups * Fix type * Fix hygiene
This commit is contained in:
7
src/sql/azdata.d.ts
vendored
7
src/sql/azdata.d.ts
vendored
@@ -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>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user