@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
44 lines (42 loc) • 1.9 kB
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { URI } from '@sussudio/base/common/uri.mjs';
import { INativeEnvironmentService } from '../../environment/common/environment.mjs';
import { IFileService } from '../../files/common/files.mjs';
import { ILogService } from '../../log/common/log.mjs';
import { IStateService } from '../../state/node/state.mjs';
import { IUriIdentityService } from '../../uriIdentity/common/uriIdentity.mjs';
import {
IUserDataProfilesService,
UserDataProfilesService as BaseUserDataProfilesService,
StoredUserDataProfile,
StoredProfileAssociations,
} from '../common/userDataProfile.mjs';
export declare class ServerUserDataProfilesService
extends BaseUserDataProfilesService
implements IUserDataProfilesService
{
protected readonly nativeEnvironmentService: INativeEnvironmentService;
constructor(
uriIdentityService: IUriIdentityService,
nativeEnvironmentService: INativeEnvironmentService,
fileService: IFileService,
logService: ILogService,
);
protected getDefaultProfileExtensionsLocation(): URI;
}
export declare class UserDataProfilesService extends ServerUserDataProfilesService implements IUserDataProfilesService {
private readonly stateService;
constructor(
stateService: IStateService,
uriIdentityService: IUriIdentityService,
nativeEnvironmentService: INativeEnvironmentService,
fileService: IFileService,
logService: ILogService,
);
protected getStoredProfiles(): StoredUserDataProfile[];
protected getStoredProfileAssociations(): StoredProfileAssociations;
protected getDefaultProfileExtensionsLocation(): URI;
}