mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 01:25:36 -05:00
Feature/ext connection dialog (#2201)
* Connection Dialog API for extensions
This commit is contained in:
9
src/sql/sqlops.proposed.d.ts
vendored
9
src/sql/sqlops.proposed.d.ts
vendored
@@ -1106,7 +1106,7 @@ declare module 'sqlops' {
|
||||
/**
|
||||
* Connection information
|
||||
*/
|
||||
connection: connection.Connection;
|
||||
connection?: connection.Connection;
|
||||
|
||||
/**
|
||||
* Operation Display Name
|
||||
@@ -1153,5 +1153,12 @@ declare module 'sqlops' {
|
||||
* @param connectionId The ID of the connection
|
||||
*/
|
||||
export function getUriForConnection(connectionId: string): Thenable<string>;
|
||||
|
||||
/**
|
||||
* Opens the connection dialog, calls the callback with the result. If connection was successful
|
||||
* returns the connection otherwise returns undefined
|
||||
* @param callback
|
||||
*/
|
||||
export function openConnectionDialog(provider?: string[]): Thenable<connection.Connection>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user