mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-30 01:25:38 -05:00
21 lines
866 B
TypeScript
21 lines
866 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import * as vscode from 'vscode';
|
|
import AdsTelemetryReporter from '@microsoft/ads-extension-telemetry';
|
|
|
|
const packageJson = vscode.extensions.getExtension('Microsoft.resource-deployment')!.packageJSON;
|
|
|
|
export const TelemetryReporter = new AdsTelemetryReporter<TelemetryView, TelemetryAction>(packageJson.name, packageJson.version, packageJson.aiKey);
|
|
|
|
export enum TelemetryView {
|
|
ResourceTypeWizard = 'ResourceTypeWizard'
|
|
}
|
|
|
|
export enum TelemetryAction {
|
|
SelectedDeploymentType = 'SelectedDeploymentType'
|
|
}
|
|
|