/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ declare module 'vscode' { // https://github.com/microsoft/vscode/issues/253665 export interface SourceControl { artifactProvider?: SourceControlArtifactProvider; } export interface SourceControlArtifactProvider { readonly onDidChangeArtifacts: Event; provideArtifactGroups(token: CancellationToken): ProviderResult; provideArtifacts(group: string, token: CancellationToken): ProviderResult; } export interface SourceControlArtifactGroup { readonly id: string; readonly name: string; readonly icon?: IconPath; readonly supportsFolders?: boolean; } export interface SourceControlArtifact { readonly id: string; readonly name: string; readonly description?: string; readonly icon?: IconPath; readonly timestamp?: number; readonly command?: Command; } }