UNPKG

@sussudio/platform

Version:

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

39 lines (37 loc) 1.61 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { IEnvironmentService } from '../../environment/common/environment.mjs'; import { IFileService } from '../../files/common/files.mjs'; import { ILogService } from '../../log/common/log.mjs'; import { IUriIdentityService } from '../../uriIdentity/common/uriIdentity.mjs'; import { IUserDataProfile, IUserDataProfilesService, StoredProfileAssociations, StoredUserDataProfile, UserDataProfilesService, } from '../common/userDataProfile.mjs'; export declare class BrowserUserDataProfilesService extends UserDataProfilesService implements IUserDataProfilesService { private readonly changesBroadcastChannel; constructor( environmentService: IEnvironmentService, fileService: IFileService, uriIdentityService: IUriIdentityService, logService: ILogService, ); private updateTransientProfiles; protected getStoredProfiles(): StoredUserDataProfile[]; protected triggerProfilesChanges( added: IUserDataProfile[], removed: IUserDataProfile[], updated: IUserDataProfile[], ): void; protected saveStoredProfiles(storedProfiles: StoredUserDataProfile[]): void; protected getStoredProfileAssociations(): StoredProfileAssociations; protected saveStoredProfileAssociations(storedProfileAssociations: StoredProfileAssociations): void; }