UNPKG

@sussudio/platform

Version:

Internal APIs for VS Code's service injection the base services.

27 lines (25 loc) 1.29 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { IExtensionGalleryService, IExtensionManagementService, IGlobalExtensionEnablementService, } from './extensionManagement.mjs'; import { IExtensionStorageService } from './extensionStorage.mjs'; import { ILogService } from '../../log/common/log.mjs'; /** * Migrates the installed unsupported nightly extension to a supported pre-release extension. It includes following: * - Uninstall the Unsupported extension * - Install (with optional storage migration) the Pre-release extension only if * - the extension is not installed * - or it is a release version and the unsupported extension is enabled. */ export declare function migrateUnsupportedExtensions( extensionManagementService: IExtensionManagementService, galleryService: IExtensionGalleryService, extensionStorageService: IExtensionStorageService, extensionEnablementService: IGlobalExtensionEnablementService, logService: ILogService, ): Promise<void>;