mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 17:22:45 -05:00
Return BindingType directly from promptForBindingType (#19200)
* Return BindingType directly from promptForBindingType * align * Fix tests * fix compile
This commit is contained in:
@@ -28,9 +28,9 @@ declare module 'sql-bindings' {
|
||||
addSqlBinding(bindingType: BindingType, filePath: string, functionName: string, objectName: string, connectionStringSetting: string): Promise<ResultStatus>;
|
||||
|
||||
/**
|
||||
* Prompts the user to select type of binding and returns result
|
||||
* Prompts the user to select type of binding and returns result or undefined if the user cancelled out of the prompt
|
||||
*/
|
||||
promptForBindingType(): Promise<(vscode.QuickPickItem & { type: BindingType }) | undefined>;
|
||||
promptForBindingType(): Promise<BindingType | undefined>;
|
||||
|
||||
/**
|
||||
* Prompts the user to enter object name for the SQL query
|
||||
@@ -42,7 +42,7 @@ declare module 'sql-bindings' {
|
||||
* Prompts the user to enter connection setting and updates it from AF project
|
||||
* @param projectUri Azure Function project uri
|
||||
*/
|
||||
promptAndUpdateConnectionStringSetting(projectUri: vscode.Uri | undefined): Promise<string | undefined>;
|
||||
promptAndUpdateConnectionStringSetting(projectUri: vscode.Uri | undefined): Promise<string | undefined>;
|
||||
|
||||
/**
|
||||
* Gets the names of the Azure Functions in the file
|
||||
|
||||
Reference in New Issue
Block a user