mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 01:25:36 -05:00
21 lines
887 B
TypeScript
21 lines
887 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 AdsTelemetryReporter from '@microsoft/ads-extension-telemetry';
|
|
|
|
import * as Utils from './utils';
|
|
|
|
const packageJson = require('../package.json');
|
|
|
|
let packageInfo = Utils.getPackageInfo(packageJson);
|
|
|
|
export const TelemetryReporter = new AdsTelemetryReporter<TelemetryViews>(packageInfo.name, packageInfo.version, packageInfo.aiKey);
|
|
|
|
export enum TelemetryViews {
|
|
SchemaCompareMainWindow = 'SchemaCompareMainWindow',
|
|
SchemaCompareDialog = 'SchemaCompareDialog',
|
|
SchemaCompareOptionsDialog = 'SchemaCompareOptionsDialog'
|
|
}
|