UNPKG

1.8 kBTypeScriptView Raw
1import { ConfigValue } from '../config/configStore';
2export declare enum OrgConfigProperties {
3 /**
4 * Username associate with the default org.
5 */
6 TARGET_ORG = "target-org",
7 /**
8 * Username associated with the default dev hub org.
9 */
10 TARGET_DEV_HUB = "target-dev-hub",
11 /**
12 * The api version
13 */
14 ORG_API_VERSION = "org-api-version",
15 /**
16 * Custom templates repo or local location.
17 */
18 ORG_CUSTOM_METADATA_TEMPLATES = "org-custom-metadata-templates",
19 /**
20 * Allows users to override the 10,000 result query limit.
21 */
22 ORG_MAX_QUERY_LIMIT = "org-max-query-limit",
23 /**
24 * The instance url of the org.
25 */
26 ORG_INSTANCE_URL = "org-instance-url",
27 /**
28 * The sid for the debugger configuration.
29 */
30 ORG_ISV_DEBUGGER_SID = "org-isv-debugger-sid",
31 /**
32 * The url for the debugger configuration.
33 */
34 ORG_ISV_DEBUGGER_URL = "org-isv-debugger-url"
35}
36export declare const ORG_CONFIG_ALLOWED_PROPERTIES: ({
37 key: OrgConfigProperties;
38 description: string;
39 input?: undefined;
40 hidden?: undefined;
41 encrypted?: undefined;
42} | {
43 key: OrgConfigProperties;
44 description: string;
45 input: {
46 validator: (value: ConfigValue) => boolean;
47 failedMessage: string;
48 };
49 hidden?: undefined;
50 encrypted?: undefined;
51} | {
52 key: OrgConfigProperties;
53 description: string;
54 hidden: boolean;
55 input: {
56 validator: (value: ConfigValue) => boolean;
57 failedMessage: string;
58 };
59 encrypted?: undefined;
60} | {
61 key: OrgConfigProperties;
62 description: string;
63 encrypted: boolean;
64 input: {
65 validator: (value: ConfigValue) => boolean;
66 failedMessage: string;
67 };
68 hidden?: undefined;
69})[];