mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 09:35:37 -05:00
* Merge from vscode e388c734f30757875976c7e326d6cfeee77710de * fix yarn lcoks * remove small issue
24 lines
964 B
TypeScript
24 lines
964 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
'use strict';
|
|
|
|
import { IMainContext } from 'vs/workbench/api/common/extHost.protocol';
|
|
|
|
import { ExtHostExtensionManagementShape, MainThreadExtensionManagementShape, SqlMainContext } from 'sql/workbench/api/node/sqlExtHost.protocol';
|
|
|
|
|
|
export class ExtHostExtensionManagement implements ExtHostExtensionManagementShape {
|
|
|
|
private readonly _proxy: MainThreadExtensionManagementShape;
|
|
|
|
constructor(_mainContext: IMainContext) {
|
|
this._proxy = _mainContext.getProxy(SqlMainContext.MainThreadExtensionManagement);
|
|
}
|
|
|
|
$install(vsixPath: string): Thenable<string> {
|
|
return this._proxy.$install(vsixPath);
|
|
}
|
|
}
|