mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Bumping SqlToolsService to 4.7.0.17 (#22823)
* Bumping STS * Whoops * Upgrading STS to 4.7.0.17
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"downloadUrl": "https://github.com/Microsoft/sqltoolsservice/releases/download/{#version#}/microsoft.sqltools.servicelayer-{#fileName#}",
|
"downloadUrl": "https://github.com/Microsoft/sqltoolsservice/releases/download/{#version#}/microsoft.sqltools.servicelayer-{#fileName#}",
|
||||||
"version": "4.7.0.15",
|
"version": "4.7.0.17",
|
||||||
"downloadFileNames": {
|
"downloadFileNames": {
|
||||||
"Windows_86": "win-x86-net7.0.zip",
|
"Windows_86": "win-x86-net7.0.zip",
|
||||||
"Windows_64": "win-x64-net7.0.zip",
|
"Windows_64": "win-x64-net7.0.zip",
|
||||||
|
|||||||
@@ -666,6 +666,16 @@ export namespace GetSqlObjectScriptsRequest {
|
|||||||
export const type = new RequestType<SqlProjectParams, mssql.GetScriptsResult, void, void>('sqlProjects/getSqlObjectScripts');
|
export const type = new RequestType<SqlProjectParams, mssql.GetScriptsResult, void, void>('sqlProjects/getSqlObjectScripts');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export namespace ExcludeFolderRequest {
|
||||||
|
export const type = new RequestType<FolderParams, azdata.ResultStatus, void, void>('sqlProjects/excludeFolder');
|
||||||
|
}
|
||||||
|
|
||||||
|
export namespace MoveFolderRequest {
|
||||||
|
export const type = new RequestType<MoveFolderParams, azdata.ResultStatus, void, void>('sqlProjects/moveFolder');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
||||||
//#endregion
|
//#endregion
|
||||||
@@ -910,6 +920,13 @@ export interface FolderParams extends SqlProjectParams {
|
|||||||
path: string;
|
path: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface MoveFolderParams extends FolderParams {
|
||||||
|
/**
|
||||||
|
* Path of the folder, typically relative to the .sqlproj file
|
||||||
|
*/
|
||||||
|
destinationPath: string;
|
||||||
|
}
|
||||||
|
|
||||||
export interface CreateSqlProjectParams extends SqlProjectParams {
|
export interface CreateSqlProjectParams extends SqlProjectParams {
|
||||||
/**
|
/**
|
||||||
* Type of SQL Project: SDK-style or Legacy
|
* Type of SQL Project: SDK-style or Legacy
|
||||||
|
|||||||
15
extensions/mssql/src/mssql.d.ts
vendored
15
extensions/mssql/src/mssql.d.ts
vendored
@@ -386,6 +386,21 @@ declare module 'mssql' {
|
|||||||
*/
|
*/
|
||||||
deleteFolder(projectUri: string, path: string): Promise<azdata.ResultStatus>;
|
deleteFolder(projectUri: string, path: string): Promise<azdata.ResultStatus>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exclude a folder and its contents from a project
|
||||||
|
* @param projectUri Absolute path of the project, including .sqlproj
|
||||||
|
* @param path Path of the folder, typically relative to the .sqlproj file
|
||||||
|
*/
|
||||||
|
excludeFolder(projectUri: string, path: string): Promise<azdata.ResultStatus>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Move a folder and its contents within a project
|
||||||
|
* @param projectUri Absolute path of the project, including .sqlproj
|
||||||
|
* @param destinationPath Path of the folder, typically relative to the .sqlproj file
|
||||||
|
* @param path Path of the folder, typically relative to the .sqlproj file
|
||||||
|
*/
|
||||||
|
moveFolder(projectUri: string, destinationPath: string, path: string): Promise<azdata.ResultStatus>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a post-deployment script to a project
|
* Add a post-deployment script to a project
|
||||||
* @param projectUri Absolute path of the project, including .sqlproj
|
* @param projectUri Absolute path of the project, including .sqlproj
|
||||||
|
|||||||
@@ -461,4 +461,25 @@ export class SqlProjectsService extends BaseService implements mssql.ISqlProject
|
|||||||
const params: contracts.MoveItemParams = { projectUri: projectUri, destinationPath: destinationPath, path: path };
|
const params: contracts.MoveItemParams = { projectUri: projectUri, destinationPath: destinationPath, path: path };
|
||||||
return await this.runWithErrorHandling(contracts.MoveNoneItemRequest.type, params);
|
return await this.runWithErrorHandling(contracts.MoveNoneItemRequest.type, params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exclude a folder and its contents from a project
|
||||||
|
* @param projectUri Absolute path of the project, including .sqlproj
|
||||||
|
* @param path Path of the folder, typically relative to the .sqlproj file
|
||||||
|
*/
|
||||||
|
public async excludeFolder(projectUri: string, path: string): Promise<azdata.ResultStatus> {
|
||||||
|
const params: contracts.FolderParams = { projectUri: projectUri, path: path };
|
||||||
|
return await this.runWithErrorHandling(contracts.ExcludeFolderRequest.type, params);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Move a folder and its contents within a project
|
||||||
|
* @param projectUri Absolute path of the project, including .sqlproj
|
||||||
|
* @param destinationPath Path of the folder, typically relative to the .sqlproj file
|
||||||
|
* @param path Path of the folder, typically relative to the .sqlproj file
|
||||||
|
*/
|
||||||
|
public async moveFolder(projectUri: string, destinationPath: string, path: string): Promise<azdata.ResultStatus> {
|
||||||
|
const params: contracts.MoveFolderParams = { projectUri: projectUri, destinationPath: destinationPath, path: path };
|
||||||
|
return await this.runWithErrorHandling(contracts.MoveFolderRequest.type, params);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
15
extensions/types/vscode-mssql.d.ts
vendored
15
extensions/types/vscode-mssql.d.ts
vendored
@@ -493,6 +493,21 @@ declare module 'vscode-mssql' {
|
|||||||
*/
|
*/
|
||||||
deleteFolder(projectUri: string, path: string): Promise<ResultStatus>;
|
deleteFolder(projectUri: string, path: string): Promise<ResultStatus>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exclude a folder and its contents from a project
|
||||||
|
* @param projectUri Absolute path of the project, including .sqlproj
|
||||||
|
* @param path Path of the folder, typically relative to the .sqlproj file
|
||||||
|
*/
|
||||||
|
excludeFolder(projectUri: string, path: string): Promise<ResultStatus>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Move a folder and its contents within a project
|
||||||
|
* @param projectUri Absolute path of the project, including .sqlproj
|
||||||
|
* @param destinationPath Path of the folder, typically relative to the .sqlproj file
|
||||||
|
* @param path Path of the folder, typically relative to the .sqlproj file
|
||||||
|
*/
|
||||||
|
moveFolder(projectUri: string, destinationPath: string, path: string): Promise<ResultStatus>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a post-deployment script to a project
|
* Add a post-deployment script to a project
|
||||||
* @param projectUri Absolute path of the project, including .sqlproj
|
* @param projectUri Absolute path of the project, including .sqlproj
|
||||||
|
|||||||
Reference in New Issue
Block a user