mirror of
https://github.com/coder/code-server.git
synced 2026-05-12 07:17:26 +02:00
chore(vscode): update to 1.55.2
This commit is contained in:
@@ -52,6 +52,21 @@ export interface ITelemetryService {
|
||||
isOptedIn: boolean;
|
||||
}
|
||||
|
||||
export interface ITelemetryEndpoint {
|
||||
id: string;
|
||||
aiKey: string;
|
||||
sendErrorTelemetry: boolean;
|
||||
}
|
||||
|
||||
export const ICustomEndpointTelemetryService = createDecorator<ICustomEndpointTelemetryService>('customEndpointTelemetryService');
|
||||
|
||||
export interface ICustomEndpointTelemetryService {
|
||||
readonly _serviceBrand: undefined;
|
||||
|
||||
publicLog(endpoint: ITelemetryEndpoint, eventName: string, data?: ITelemetryData): Promise<void>;
|
||||
publicLogError(endpoint: ITelemetryEndpoint, errorEventName: string, data?: ITelemetryData): Promise<void>;
|
||||
}
|
||||
|
||||
// Keys
|
||||
export const instanceStorageKey = 'telemetry.instanceId';
|
||||
export const currentSessionDateStorageKey = 'telemetry.currentSessionDate';
|
||||
|
||||
Reference in New Issue
Block a user