@react-native-windows/telemetry 0.73.0 → 0.74.0-preview.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib-commonjs/e2etest/telemetry.test.d.ts +28 -28
- package/lib-commonjs/e2etest/telemetry.test.js +496 -496
- package/lib-commonjs/index.d.ts +11 -11
- package/lib-commonjs/index.js +26 -26
- package/lib-commonjs/telemetry.d.ts +84 -84
- package/lib-commonjs/telemetry.js +370 -370
- package/lib-commonjs/telemetry.js.map +1 -1
- package/lib-commonjs/test/basePropUtils.test.d.ts +7 -7
- package/lib-commonjs/test/basePropUtils.test.js +137 -137
- package/lib-commonjs/test/errorUtils.test.d.ts +7 -7
- package/lib-commonjs/test/errorUtils.test.js +159 -159
- package/lib-commonjs/test/projectUtils.test.d.ts +7 -7
- package/lib-commonjs/test/projectUtils.test.js +87 -87
- package/lib-commonjs/test/sanitizeUtils.test.d.ts +7 -7
- package/lib-commonjs/test/sanitizeUtils.test.js +97 -97
- package/lib-commonjs/test/versionUtils.test.d.ts +7 -7
- package/lib-commonjs/test/versionUtils.test.js +114 -114
- package/lib-commonjs/utils/basePropUtils.d.ts +81 -81
- package/lib-commonjs/utils/basePropUtils.js +173 -173
- package/lib-commonjs/utils/errorUtils.d.ts +87 -87
- package/lib-commonjs/utils/errorUtils.js +178 -178
- package/lib-commonjs/utils/optionUtils.d.ts +45 -45
- package/lib-commonjs/utils/optionUtils.js +95 -95
- package/lib-commonjs/utils/projectUtils.d.ts +50 -50
- package/lib-commonjs/utils/projectUtils.js +186 -186
- package/lib-commonjs/utils/sanitizeUtils.d.ts +12 -12
- package/lib-commonjs/utils/sanitizeUtils.js +81 -81
- package/lib-commonjs/utils/versionUtils.d.ts +38 -38
- package/lib-commonjs/utils/versionUtils.js +155 -155
- package/package.json +14 -16
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* @format
|
|
6
|
-
*/
|
|
7
|
-
import * as appInsights from 'applicationinsights';
|
|
8
|
-
import { Telemetry, TelemetryOptions } from '../telemetry';
|
|
9
|
-
export declare class TelemetryTest extends Telemetry {
|
|
10
|
-
protected static hasTestTelemetryProviders: boolean;
|
|
11
|
-
protected static testTelemetryProvidersRan: boolean;
|
|
12
|
-
/** Run at the beginning of each test. */
|
|
13
|
-
static startTest(options?: Partial<TelemetryOptions>): Promise<void>;
|
|
14
|
-
/** Run at the end of each test where telemetry was fired. */
|
|
15
|
-
static endTest(finalCallback?: () => void): void;
|
|
16
|
-
/** Sets that the telemetry provider has run. */
|
|
17
|
-
static setTestTelemetryProvidersRan(): void;
|
|
18
|
-
/** Retrieves the value of a common property.*/
|
|
19
|
-
static getCommonProperty(key: string): string | undefined;
|
|
20
|
-
/** Retrieves the version of the specified tool/package. */
|
|
21
|
-
static getVersion(key: string): string | null;
|
|
22
|
-
/** Retrieves the value of the preserveErrorMessages option. */
|
|
23
|
-
static getPreserveErrorMessages(): boolean;
|
|
24
|
-
/** Adds a telemetry processor, usually for verifying the envelope. */
|
|
25
|
-
static addTelemetryProcessor(telemetryProcessor: (envelope: appInsights.Contracts.EnvelopeTelemetry, contextObjects?: {
|
|
26
|
-
[name: string]: any;
|
|
27
|
-
}) => boolean): void;
|
|
28
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* @format
|
|
6
|
+
*/
|
|
7
|
+
import * as appInsights from 'applicationinsights';
|
|
8
|
+
import { Telemetry, TelemetryOptions } from '../telemetry';
|
|
9
|
+
export declare class TelemetryTest extends Telemetry {
|
|
10
|
+
protected static hasTestTelemetryProviders: boolean;
|
|
11
|
+
protected static testTelemetryProvidersRan: boolean;
|
|
12
|
+
/** Run at the beginning of each test. */
|
|
13
|
+
static startTest(options?: Partial<TelemetryOptions>): Promise<void>;
|
|
14
|
+
/** Run at the end of each test where telemetry was fired. */
|
|
15
|
+
static endTest(finalCallback?: () => void): void;
|
|
16
|
+
/** Sets that the telemetry provider has run. */
|
|
17
|
+
static setTestTelemetryProvidersRan(): void;
|
|
18
|
+
/** Retrieves the value of a common property.*/
|
|
19
|
+
static getCommonProperty(key: string): string | undefined;
|
|
20
|
+
/** Retrieves the version of the specified tool/package. */
|
|
21
|
+
static getVersion(key: string): string | null;
|
|
22
|
+
/** Retrieves the value of the preserveErrorMessages option. */
|
|
23
|
+
static getPreserveErrorMessages(): boolean;
|
|
24
|
+
/** Adds a telemetry processor, usually for verifying the envelope. */
|
|
25
|
+
static addTelemetryProcessor(telemetryProcessor: (envelope: appInsights.Contracts.EnvelopeTelemetry, contextObjects?: {
|
|
26
|
+
[name: string]: any;
|
|
27
|
+
}) => boolean): void;
|
|
28
|
+
}
|