mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-28 17:23:19 -05:00
Add rest of sql-bindings/azure funcs logic to sql bindings ext (#18733)
* refactor the rest of azure function and sql binding * remove vscode-mssql typings that are moved to our sql-bindings ext
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { AddSqlBindingParams, GetAzureFunctionsParams, GetAzureFunctionsResult, ResultStatus } from 'sql-bindings';
|
||||
import { RequestType } from 'vscode-languageclient';
|
||||
|
||||
/**
|
||||
* Adds a SQL Binding to a specified Azure function in a file
|
||||
*/
|
||||
export namespace AddSqlBindingRequest {
|
||||
export const type = new RequestType<AddSqlBindingParams, ResultStatus, void, void>('azureFunctions/sqlBinding');
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the names of the Azure functions in a file
|
||||
*/
|
||||
export namespace GetAzureFunctionsRequest {
|
||||
export const type = new RequestType<GetAzureFunctionsParams, GetAzureFunctionsResult, void, void>('azureFunctions/getAzureFunctions');
|
||||
}
|
||||
Reference in New Issue
Block a user