analytics.d.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /**
  2. * Configures the gathering of Angular CLI usage metrics. See
  3. * https://v8.angular.io/cli/usage-analytics-gathering.
  4. */
  5. export 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. */
  23. export declare type HelpUnion = boolean | HelpEnum;
  24. export declare enum HelpEnum {
  25. HelpJson = "JSON",
  26. Json = "json"
  27. }
  28. /**
  29. * Sets the default analytics enablement status for the project.
  30. */
  31. export 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. */
  40. export declare enum SettingOrProject {
  41. Ci = "ci",
  42. Off = "off",
  43. On = "on",
  44. Project = "project",
  45. Prompt = "prompt"
  46. }