add telemetry enablement api (#117944)

This commit is contained in:
SteVen Batten
2021-03-02 07:59:50 -08:00
committed by GitHub
parent 4de8cb2907
commit ff225b9fcc
6 changed files with 82 additions and 6 deletions

View File

@@ -1536,6 +1536,11 @@ export interface ExtHostQuickOpenShape {
$onDidHide(sessionId: number): void;
}
export interface ExtHostTelemetryShape {
$initializeTelemetryEnabled(enabled: boolean): void;
$onDidChangeTelemetryEnabled(enabled: boolean): void;
}
export interface IShellLaunchConfigDto {
name?: string;
executable?: string;
@@ -1962,4 +1967,5 @@ export const ExtHostContext = {
ExtHostAuthentication: createMainId<ExtHostAuthenticationShape>('ExtHostAuthentication'),
ExtHostTimeline: createMainId<ExtHostTimelineShape>('ExtHostTimeline'),
ExtHostTesting: createMainId<ExtHostTestingShape>('ExtHostTesting'),
ExtHostTelemetry: createMainId<ExtHostTelemetryShape>('ExtHostTelemetry'),
};