@salesforce/plugin-limits 1.3.0 → 2.0.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 +11 -0
- package/LICENSE.txt +1 -1
- package/README.md +11 -16
- package/lib/commands/force/limits/api/display.js +2 -8
- package/lib/commands/force/limits/api/display.js.map +1 -1
- package/lib/commands/force/limits/recordcounts/display.js +14 -14
- package/lib/commands/force/limits/recordcounts/display.js.map +1 -1
- package/messages/recordcounts.json +2 -1
- package/oclif.manifest.json +1 -1
- package/package.json +16 -12
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.0.0](https://github.com/salesforcecli/plugin-limits/compare/v1.3.0...v2.0.0) (2022-04-01)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- display all record counts ([2e905ce](https://github.com/salesforcecli/plugin-limits/commit/2e905ceaef69865680b1cdfb5a9cd0468302f753))
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
- parking orbit plugin-limits ([e870115](https://github.com/salesforcecli/plugin-limits/commit/e870115b61bb8d6201787bf2d74e2ae3de5b13e2))
|
|
14
|
+
- parking orbit plugin-limits ([ce77180](https://github.com/salesforcecli/plugin-limits/commit/ce77180d05176f6f1016762a06356210d6bf46d3))
|
|
15
|
+
|
|
5
16
|
## [1.3.0](https://github.com/salesforcecli/plugin-limits/compare/v1.2.3...v1.3.0) (2021-12-02)
|
|
6
17
|
|
|
7
18
|
### Features
|
package/LICENSE.txt
CHANGED
package/README.md
CHANGED
|
@@ -71,16 +71,13 @@ sfdx plugins
|
|
|
71
71
|
<!-- commands -->
|
|
72
72
|
|
|
73
73
|
- [`sfdx force:limits:api:display [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcelimitsapidisplay--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
74
|
-
- [`sfdx force:limits:recordcounts:display -s <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcelimitsrecordcountsdisplay--s-array--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
74
|
+
- [`sfdx force:limits:recordcounts:display [-s <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcelimitsrecordcountsdisplay--s-array--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
75
75
|
|
|
76
76
|
## `sfdx force:limits:api:display [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
77
77
|
|
|
78
78
|
display current org’s limits
|
|
79
79
|
|
|
80
80
|
```
|
|
81
|
-
display current org’s limits
|
|
82
|
-
When you execute this command in a project, it provides limit information for your default scratch org.
|
|
83
|
-
|
|
84
81
|
USAGE
|
|
85
82
|
$ sfdx force:limits:api:display [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
86
83
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
@@ -105,25 +102,21 @@ EXAMPLES
|
|
|
105
102
|
sfdx force:limits:api:display -u me@my.org
|
|
106
103
|
```
|
|
107
104
|
|
|
108
|
-
_See code: [src/commands/force/limits/api/display.ts](https://github.com/salesforcecli/plugin-limits/blob/
|
|
105
|
+
_See code: [src/commands/force/limits/api/display.ts](https://github.com/salesforcecli/plugin-limits/blob/v2.0.0/src/commands/force/limits/api/display.ts)_
|
|
109
106
|
|
|
110
|
-
## `sfdx force:limits:recordcounts:display -s <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
107
|
+
## `sfdx force:limits:recordcounts:display [-s <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
111
108
|
|
|
112
109
|
display record counts for the specified standard and custom objects
|
|
113
110
|
|
|
114
111
|
```
|
|
115
|
-
display record counts for the specified standard and custom objects
|
|
116
|
-
Use this command to get an approximate count of the records in standard or custom objects in your org. These record counts are the same as the counts listed in the Storage Usage page in Setup. The record counts are approximate because they're calculated asynchronously and your org’s storage usage isn’t updated immediately.
|
|
117
|
-
|
|
118
112
|
USAGE
|
|
119
|
-
$ sfdx force:limits:recordcounts:display -s <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
113
|
+
$ sfdx force:limits:recordcounts:display [-s <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
120
114
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
121
115
|
|
|
122
116
|
OPTIONS
|
|
123
|
-
-s, --sobjecttype=sobjecttype
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
counts
|
|
117
|
+
-s, --sobjecttype=sobjecttype comma-separated list of API names of
|
|
118
|
+
standard or custom objects for which
|
|
119
|
+
to display record counts
|
|
127
120
|
|
|
128
121
|
-u, --targetusername=targetusername username or alias for the target
|
|
129
122
|
org; overrides default target org
|
|
@@ -139,13 +132,15 @@ OPTIONS
|
|
|
139
132
|
DESCRIPTION
|
|
140
133
|
Use this command to get an approximate count of the records in standard or custom objects in your org. These record
|
|
141
134
|
counts are the same as the counts listed in the Storage Usage page in Setup. The record counts are approximate because
|
|
142
|
-
|
|
135
|
+
they're calculated asynchronously and your org's storage usage isn't updated immediately. To display all available
|
|
136
|
+
record counts, run the command without the '--sobjecttype' parameter.
|
|
143
137
|
|
|
144
138
|
EXAMPLES
|
|
139
|
+
sfdx force:limits:recordcounts:display
|
|
145
140
|
sfdx force:limits:recordcounts:display -s Account,Contact,Lead,Opportunity
|
|
146
141
|
sfdx force:limits:recordcounts:display -s Account,Contact -u me@my.org
|
|
147
142
|
```
|
|
148
143
|
|
|
149
|
-
_See code: [src/commands/force/limits/recordcounts/display.ts](https://github.com/salesforcecli/plugin-limits/blob/
|
|
144
|
+
_See code: [src/commands/force/limits/recordcounts/display.ts](https://github.com/salesforcecli/plugin-limits/blob/v2.0.0/src/commands/force/limits/recordcounts/display.ts)_
|
|
150
145
|
|
|
151
146
|
<!-- commandsstop -->
|
|
@@ -26,17 +26,11 @@ class LimitsApiDisplayCommand extends command_1.SfdxCommand {
|
|
|
26
26
|
remaining: result[limitName].Remaining,
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
this.ux.table(limits, {
|
|
30
|
-
columns: [
|
|
31
|
-
{ key: 'name', label: 'Name' },
|
|
32
|
-
{ key: 'remaining', label: 'Remaining' },
|
|
33
|
-
{ key: 'max', label: 'Max' },
|
|
34
|
-
],
|
|
35
|
-
});
|
|
29
|
+
this.ux.table(limits, { name: { header: 'Name' }, remaining: { header: 'Remaining' }, max: { header: 'Max' } });
|
|
36
30
|
return limits;
|
|
37
31
|
}
|
|
38
32
|
catch (err) {
|
|
39
|
-
throw core_1.
|
|
33
|
+
throw core_1.SfError.wrap(err);
|
|
40
34
|
}
|
|
41
35
|
}
|
|
42
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../../../src/commands/force/limits/api/display.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"display.js","sourceRoot":"","sources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B,mCAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,gCAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AACzD,wCAAgB,GAAG,IAAI,CAAC"}
|
|
@@ -15,20 +15,23 @@ const messages = core_1.Messages.loadMessages('@salesforce/plugin-limits', 'reco
|
|
|
15
15
|
class LimitsRecordCountsDisplayCommand extends command_1.SfdxCommand {
|
|
16
16
|
async run() {
|
|
17
17
|
try {
|
|
18
|
-
const
|
|
18
|
+
const sobjectsPassed = this.flags.sobjecttype;
|
|
19
|
+
const sobjectsQuery = sobjectsPassed ? `=${sobjectsPassed.join()}` : '';
|
|
19
20
|
const conn = this.org.getConnection();
|
|
20
|
-
const geturl = `${conn.baseUrl()}/limits/recordCount?sObjects
|
|
21
|
-
const result =
|
|
21
|
+
const geturl = `${conn.baseUrl()}/limits/recordCount?sObjects${sobjectsQuery}`;
|
|
22
|
+
const result = await conn.request(geturl);
|
|
22
23
|
// if an object is requested, but there's 0 of them on the server, append that object to the result
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
result.sObjects.
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
if (sobjectsPassed) {
|
|
25
|
+
sobjectsPassed.forEach((name) => {
|
|
26
|
+
if (!result.sObjects.find((record) => record.name === name)) {
|
|
27
|
+
result.sObjects.push({ name, count: 0 });
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
28
31
|
return result.sObjects;
|
|
29
32
|
}
|
|
30
33
|
catch (err) {
|
|
31
|
-
throw core_1.
|
|
34
|
+
throw core_1.SfError.wrap(err);
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
37
|
}
|
|
@@ -38,10 +41,8 @@ LimitsRecordCountsDisplayCommand.examples = messages.getMessage('examples').spli
|
|
|
38
41
|
LimitsRecordCountsDisplayCommand.requiresUsername = true;
|
|
39
42
|
LimitsRecordCountsDisplayCommand.result = {
|
|
40
43
|
tableColumnData: {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
{ key: 'count', label: 'Record Count' },
|
|
44
|
-
],
|
|
44
|
+
name: { header: 'sObject' },
|
|
45
|
+
count: { header: 'Record Count' },
|
|
45
46
|
},
|
|
46
47
|
display() {
|
|
47
48
|
if (Array.isArray(this.data) && this.data.length) {
|
|
@@ -52,7 +53,6 @@ LimitsRecordCountsDisplayCommand.result = {
|
|
|
52
53
|
LimitsRecordCountsDisplayCommand.flagsConfig = {
|
|
53
54
|
sobjecttype: command_1.flags.array({
|
|
54
55
|
char: 's',
|
|
55
|
-
required: true,
|
|
56
56
|
description: messages.getMessage('sobjecttypeFlagDescription'),
|
|
57
57
|
}),
|
|
58
58
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../../../src/commands/force/limits/recordcounts/display.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAkF;AAClF,
|
|
1
|
+
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../../../src/commands/force/limits/recordcounts/display.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAkF;AAClF,2CAAqD;AAErD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,2BAA2B,EAAE,cAAc,CAAC,CAAC;AAWpF,MAAa,gCAAiC,SAAQ,qBAAW;IAuBxD,KAAK,CAAC,GAAG;QACd,IAAI;YACF,MAAM,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,WAAuB,CAAC;YAC1D,MAAM,aAAa,GAAG,cAAc,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAExE,MAAM,IAAI,GAAG,IAAI,CAAC,GAA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,eAAe,CAAC,CAAC;SAChD;IACH,CAAC;CACF,CAAC;AAEwB,4CAAW,GAAgB;IACnD,WAAW,EAAE,eAAK,CAAC,KAAK,CAAC;QACvB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,4BAA4B,CAAC;KAC/D,CAAC;CACH,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commandDescription": "display record counts for the specified standard and custom objects\nUse this command to get an approximate count of the records in standard or custom objects in your org. These record counts are the same as the counts listed in the Storage Usage page in Setup. The record counts are approximate because they're calculated asynchronously and your org
|
|
2
|
+
"commandDescription": "display record counts for the specified standard and custom objects\nUse this command to get an approximate count of the records in standard or custom objects in your org. These record counts are the same as the counts listed in the Storage Usage page in Setup. The record counts are approximate because they're calculated asynchronously and your org's storage usage isn't updated immediately. To display all available record counts, run the command without the '--sobjecttype' parameter.",
|
|
3
3
|
"examples": [
|
|
4
|
+
"sfdx force:limits:recordcounts:display",
|
|
4
5
|
"sfdx force:limits:recordcounts:display -s Account,Contact,Lead,Opportunity",
|
|
5
6
|
"sfdx force:limits:recordcounts:display -s Account,Contact -u me@my.org"
|
|
6
7
|
],
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"2.0.0","commands":{"force:limits:api:display":{"id":"force:limits:api:display","description":"display current org’s limits\nWhen you execute this command in a project, it provides limit information for your default scratch org.","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-limits","pluginType":"core","aliases":[],"examples":["sfdx force:limits:api:display","sfdx force:limits:api:display -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"force:limits:recordcounts:display":{"id":"force:limits:recordcounts:display","description":"display record counts for the specified standard and custom objects\nUse this command to get an approximate count of the records in standard or custom objects in your org. These record counts are the same as the counts listed in the Storage Usage page in Setup. The record counts are approximate because they're calculated asynchronously and your org's storage usage isn't updated immediately. To display all available record counts, run the command without the '--sobjecttype' parameter.","usage":"<%= command.id %> [-s <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-limits","pluginType":"core","aliases":[],"examples":["sfdx force:limits:recordcounts:display","sfdx force:limits:recordcounts:display -s Account,Contact,Lead,Opportunity","sfdx force:limits:recordcounts:display -s Account,Contact -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"comma-separated list of API names of standard or custom objects for which to display record counts"}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-limits",
|
|
3
3
|
"description": "commands to display api limits to your org",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
|
+
"main": "lib/index.js",
|
|
7
8
|
"dependencies": {
|
|
8
|
-
"@oclif/
|
|
9
|
-
"@salesforce/command": "^
|
|
10
|
-
"@salesforce/core": "^
|
|
9
|
+
"@oclif/core": "^1.6.3",
|
|
10
|
+
"@salesforce/command": "^5.0.4",
|
|
11
|
+
"@salesforce/core": "^3.10.1",
|
|
11
12
|
"tslib": "^2"
|
|
12
13
|
},
|
|
13
14
|
"devDependencies": {
|
|
14
15
|
"@oclif/dev-cli": "^1",
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^
|
|
16
|
+
"@oclif/plugin-command-snapshot": "^3",
|
|
16
17
|
"@salesforce/cli-plugins-testkit": "^1.4.10",
|
|
17
|
-
"@salesforce/dev-config": "^
|
|
18
|
-
"@salesforce/dev-scripts": "^
|
|
18
|
+
"@salesforce/dev-config": "^3.0.0",
|
|
19
|
+
"@salesforce/dev-scripts": "^2.0.0",
|
|
19
20
|
"@salesforce/plugin-command-reference": "^1.3.0",
|
|
20
21
|
"@salesforce/prettier-config": "^0.0.2",
|
|
21
22
|
"@salesforce/ts-sinon": "1.3.21",
|
|
@@ -29,16 +30,16 @@
|
|
|
29
30
|
"eslint-config-salesforce-license": "^0.1.6",
|
|
30
31
|
"eslint-config-salesforce-typescript": "^0.2.7",
|
|
31
32
|
"eslint-plugin-header": "^3.0.0",
|
|
32
|
-
"eslint-plugin-import": "2.25.
|
|
33
|
+
"eslint-plugin-import": "2.25.4",
|
|
33
34
|
"eslint-plugin-jsdoc": "^35.1.2",
|
|
34
35
|
"eslint-plugin-prettier": "^3.1.3",
|
|
35
36
|
"husky": "^7.0.4",
|
|
36
37
|
"lint-staged": "^11.0.0",
|
|
37
|
-
"mocha": "^
|
|
38
|
+
"mocha": "^9.1.3",
|
|
38
39
|
"nyc": "^15.1.0",
|
|
39
40
|
"prettier": "^2.4.1",
|
|
40
41
|
"pretty-quick": "^3.1.0",
|
|
41
|
-
"shx": "0.3.
|
|
42
|
+
"shx": "0.3.4",
|
|
42
43
|
"sinon": "10.0.0",
|
|
43
44
|
"ts-node": "^10.0.0",
|
|
44
45
|
"typescript": "^4.1.3"
|
|
@@ -67,6 +68,9 @@
|
|
|
67
68
|
"license": "BSD-3-Clause",
|
|
68
69
|
"oclif": {
|
|
69
70
|
"commands": "./lib/commands",
|
|
71
|
+
"additionalHelpFlags": [
|
|
72
|
+
"-h"
|
|
73
|
+
],
|
|
70
74
|
"bin": "sfdx",
|
|
71
75
|
"devPlugins": [
|
|
72
76
|
"@oclif/plugin-help",
|
|
@@ -114,7 +118,7 @@
|
|
|
114
118
|
"access": "public"
|
|
115
119
|
},
|
|
116
120
|
"sfdx": {
|
|
117
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/
|
|
118
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/
|
|
121
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.0.0.crt",
|
|
122
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.0.0.sig"
|
|
119
123
|
}
|
|
120
124
|
}
|