UNPKG

@sussudio/platform

Version:

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

25 lines (23 loc) 1.25 kB
/*--------------------------------------------------------------------------------------------- * 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 { IMarker, IMarkerData, IMarkerService, IResourceMarker, MarkerStatistics } from './markers'; export declare const unsupportedSchemas: Set<string>; export declare class MarkerService implements IMarkerService { readonly _serviceBrand: undefined; private readonly _onMarkerChanged; readonly onMarkerChanged: import('@sussudio/base/common/event.mjs').Event<readonly URI[]>; private readonly _data; private readonly _stats; dispose(): void; getStatistics(): MarkerStatistics; remove(owner: string, resources: URI[]): void; changeOne(owner: string, resource: URI, markerData: IMarkerData[]): void; private static _toMarker; changeAll(owner: string, data: IResourceMarker[]): void; read(filter?: { owner?: string; resource?: URI; severities?: number; take?: number }): IMarker[]; private static _accept; private static _merge; }