UNPKG

1.27 kBTypeScriptView Raw
1/**
2 * Configures the gathering of Angular CLI usage metrics. See
3 * https://v8.angular.io/cli/usage-analytics-gathering.
4 */
5export interface Schema {
6 /**
7 * Shows a help message for this command in the console.
8 */
9 help?: HelpUnion;
10 /**
11 * Sets the default analytics enablement status for the project.
12 */
13 projectSetting?: ProjectSetting;
14 /**
15 * Directly enables or disables all usage analytics for the user, or prompts the user to set
16 * the status interactively, or sets the default status for the project.
17 */
18 settingOrProject: SettingOrProject;
19}
20/**
21 * Shows a help message for this command in the console.
22 */
23export declare type HelpUnion = boolean | HelpEnum;
24export declare enum HelpEnum {
25 HelpJson = "JSON",
26 Json = "json"
27}
28/**
29 * Sets the default analytics enablement status for the project.
30 */
31export declare enum ProjectSetting {
32 Off = "off",
33 On = "on",
34 Prompt = "prompt"
35}
36/**
37 * Directly enables or disables all usage analytics for the user, or prompts the user to set
38 * the status interactively, or sets the default status for the project.
39 */
40export declare enum SettingOrProject {
41 Ci = "ci",
42 Off = "off",
43 On = "on",
44 Project = "project",
45 Prompt = "prompt"
46}