@salesforce/core 3.24.5 → 3.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/lib/config/config.js +7 -0
- package/lib/exported.d.ts +1 -1
- package/lib/exported.js +2 -4
- package/lib/org/authRemover.js +2 -7
- package/lib/org/orgConfigProperties.js +5 -0
- package/lib/stateAggregator/accessors/aliasAccessor.d.ts +3 -86
- package/lib/stateAggregator/accessors/aliasAccessor.js +1 -117
- package/lib/stateAggregator/accessors/orgAccessor.d.ts +3 -24
- package/lib/stateAggregator/accessors/orgAccessor.js +14 -44
- package/lib/stateAggregator/accessors/sandboxAccessor.d.ts +0 -39
- package/lib/stateAggregator/accessors/sandboxAccessor.js +1 -55
- package/lib/stateAggregator/accessors/tokenAccessor.d.ts +12 -18
- package/lib/stateAggregator/accessors/tokenAccessor.js +2 -30
- package/lib/stateAggregator/index.d.ts +3 -6
- package/lib/stateAggregator/index.js +3 -13
- package/lib/testSetup.js +0 -2
- package/messages/config.md +8 -0
- package/package.json +1 -1
- package/lib/stateAggregator/globalInfoConfig.d.ts +0 -41
- package/lib/stateAggregator/globalInfoConfig.js +0 -113
- package/lib/stateAggregator/sfdxDataHandler.d.ts +0 -59
- package/lib/stateAggregator/sfdxDataHandler.js +0 -328
- package/lib/stateAggregator/types.d.ts +0 -72
- package/lib/stateAggregator/types.js +0 -14
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { JsonMap } from '@salesforce/ts-types';
|
|
2
|
-
import { AuthFields } from '../org';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated
|
|
5
|
-
*/
|
|
6
|
-
export declare enum SfInfoKeys {
|
|
7
|
-
ORGS = "orgs",
|
|
8
|
-
TOKENS = "tokens",
|
|
9
|
-
ALIASES = "aliases",
|
|
10
|
-
SANDBOXES = "sandboxes"
|
|
11
|
-
}
|
|
12
|
-
export declare type Timestamp = {
|
|
13
|
-
timestamp: string;
|
|
14
|
-
};
|
|
15
|
-
export declare type SfEntry = JsonMap;
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated
|
|
18
|
-
*/
|
|
19
|
-
export declare type SfOrg = AuthFields & SfEntry;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated
|
|
22
|
-
*/
|
|
23
|
-
export interface SfOrgs {
|
|
24
|
-
[key: string]: SfOrg & Timestamp;
|
|
25
|
-
}
|
|
26
|
-
export declare type SfToken = {
|
|
27
|
-
token: string;
|
|
28
|
-
url: string;
|
|
29
|
-
user?: string;
|
|
30
|
-
} & SfEntry;
|
|
31
|
-
/**
|
|
32
|
-
*/
|
|
33
|
-
export declare type SfTokens = {
|
|
34
|
-
[key: string]: SfToken & Timestamp;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* The key will always be the alias and the value will always be the username, e.g.
|
|
38
|
-
* { "MyAlias": "user@salesforce.com" }
|
|
39
|
-
*/
|
|
40
|
-
export declare type SfAliases = {
|
|
41
|
-
[alias: string]: string;
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* @deprecated
|
|
45
|
-
*/
|
|
46
|
-
export declare type SfSandbox = {
|
|
47
|
-
sandboxOrgId: string;
|
|
48
|
-
prodOrgUsername: string;
|
|
49
|
-
sandboxName?: string;
|
|
50
|
-
sandboxUsername?: string;
|
|
51
|
-
sandboxProcessId?: string;
|
|
52
|
-
sandboxInfoId?: string;
|
|
53
|
-
} & Timestamp & SfEntry;
|
|
54
|
-
/**
|
|
55
|
-
* The key will always be the sandbox username and the value will always be the
|
|
56
|
-
* production org username
|
|
57
|
-
* { "user@salesforce.com.mysandbox": "user@salesforce.com" }
|
|
58
|
-
*
|
|
59
|
-
* @deprecated
|
|
60
|
-
*/
|
|
61
|
-
export interface SfSandboxes {
|
|
62
|
-
[sandboxOrgId: string]: SfSandbox;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* @deprecated
|
|
66
|
-
*/
|
|
67
|
-
export declare type SfInfo = {
|
|
68
|
-
[SfInfoKeys.ORGS]: SfOrgs;
|
|
69
|
-
[SfInfoKeys.TOKENS]: SfTokens;
|
|
70
|
-
[SfInfoKeys.ALIASES]: SfAliases;
|
|
71
|
-
[SfInfoKeys.SANDBOXES]: SfSandboxes;
|
|
72
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SfInfoKeys = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated
|
|
6
|
-
*/
|
|
7
|
-
var SfInfoKeys;
|
|
8
|
-
(function (SfInfoKeys) {
|
|
9
|
-
SfInfoKeys["ORGS"] = "orgs";
|
|
10
|
-
SfInfoKeys["TOKENS"] = "tokens";
|
|
11
|
-
SfInfoKeys["ALIASES"] = "aliases";
|
|
12
|
-
SfInfoKeys["SANDBOXES"] = "sandboxes";
|
|
13
|
-
})(SfInfoKeys = exports.SfInfoKeys || (exports.SfInfoKeys = {}));
|
|
14
|
-
//# sourceMappingURL=types.js.map
|