UNPKG

1.53 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8export * from './api';
9export * from './forwarder';
10export * from './logging';
11export * from './multi';
12export * from './noop';
13/**
14 * MAKE SURE TO KEEP THIS IN SYNC WITH THE TABLE AND CONTENT IN `/docs/design/analytics.md`.
15 * WE LIST THOSE DIMENSIONS (AND MORE).
16 *
17 * These cannot be in their respective schema.json file because we either change the type
18 * (e.g. --buildEventLog is string, but we want to know the usage of it, not its value), or
19 * some validation needs to be done (we cannot record ng add --collection if it's not marked as
20 * allowed).
21 */
22export declare enum NgCliAnalyticsDimensions {
23 CpuCount = 1,
24 CpuSpeed = 2,
25 RamInGigabytes = 3,
26 NodeVersion = 4,
27 NgAddCollection = 6,
28 NgIvyEnabled = 8,
29 BuildErrors = 20
30}
31export declare enum NgCliAnalyticsMetrics {
32 NgComponentCount = 1,
33 UNUSED_2 = 2,
34 UNUSED_3 = 3,
35 UNUSED_4 = 4,
36 BuildTime = 5,
37 NgOnInitCount = 6,
38 InitialChunkSize = 7,
39 TotalChunkCount = 8,
40 TotalChunkSize = 9,
41 LazyChunkCount = 10,
42 LazyChunkSize = 11,
43 AssetCount = 12,
44 AssetSize = 13,
45 PolyfillSize = 14,
46 CssSize = 15
47}
48export declare const NgCliAnalyticsDimensionsFlagInfo: {
49 [name: string]: [string, string];
50};
51export declare const NgCliAnalyticsMetricsFlagInfo: {
52 [name: string]: [string, string];
53};