UNPKG

979 BTypeScriptView Raw
1/**
2 * Retrieves or sets Angular configuration values in the angular.json file for the workspace.
3 */
4export interface Schema {
5 /**
6 * When true, accesses the global configuration in the caller's home directory.
7 */
8 global?: boolean;
9 /**
10 * Shows a help message for this command in the console.
11 */
12 help?: HelpUnion;
13 /**
14 * The configuration key to set or query, in JSON path format. For example:
15 * "a[3].foo.bar[2]". If no new value is provided, returns the current value of this key.
16 */
17 jsonPath?: string;
18 /**
19 * If provided, a new value for the given configuration key.
20 */
21 value?: Value;
22}
23/**
24 * Shows a help message for this command in the console.
25 */
26export declare type HelpUnion = boolean | HelpEnum;
27export declare enum HelpEnum {
28 HelpJson = "JSON",
29 Json = "json"
30}
31/**
32 * If provided, a new value for the given configuration key.
33 */
34export declare type Value = boolean | number | string;