@salesforce/plugin-limits 3.1.14 → 3.1.15

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/README.md CHANGED
@@ -70,91 +70,8 @@ sfdx plugins
70
70
 
71
71
  <!-- commands -->
72
72
 
73
- - [`sf org list limits`](#sf-org-list-limits)
74
- - [`sf org list sobject record-counts`](#sf-org-list-sobject-record-counts)
73
+ # Command Topics
75
74
 
76
- ## `sf org list limits`
77
-
78
- Display information about limits in your org.
79
-
80
- ```
81
- USAGE
82
- $ sf org list limits -o <value> [--json] [--api-version <value>]
83
-
84
- FLAGS
85
- -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
86
- configuration variable is already set.
87
- --api-version=<value> Override the api version used for api requests made by this command
88
-
89
- GLOBAL FLAGS
90
- --json Format output as json.
91
-
92
- DESCRIPTION
93
- Display information about limits in your org.
94
-
95
- For each limit, this command returns the maximum allocation and the remaining allocation based on usage. See this
96
- topic for a description of each limit:
97
- https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_limits.htm.
98
-
99
- ALIASES
100
- $ sf force limits api display
101
- $ sf limits api display
102
-
103
- EXAMPLES
104
- Display limits in your default org:
105
-
106
- $ sf org list limits
107
-
108
- Display limits in the org with alias "my-scratch-org":
109
-
110
- $ sf org list limits --target-org my-scratch-org
111
- ```
112
-
113
- _See code: [src/commands/org/list/limits.ts](https://github.com/salesforcecli/plugin-limits/blob/3.1.14/src/commands/org/list/limits.ts)_
114
-
115
- ## `sf org list sobject record-counts`
116
-
117
- Display record counts for the specified standard or custom objects.
118
-
119
- ```
120
- USAGE
121
- $ sf org list sobject record-counts -o <value> [--json] [-s <value>] [--api-version <value>]
122
-
123
- FLAGS
124
- -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
125
- configuration variable is already set.
126
- -s, --sobject=<value>... [default: ] API name of the standard or custom object for which to display record counts.
127
- --api-version=<value> Override the api version used for api requests made by this command
128
-
129
- GLOBAL FLAGS
130
- --json Format output as json.
131
-
132
- DESCRIPTION
133
- Display record counts for the specified standard or custom objects.
134
-
135
- Use this command to get an approximate count of the records in standard or custom objects in your org. These record
136
- counts are the same as the counts listed in the Storage Usage page in the Setup UI. The record counts are approximate
137
- because they're calculated asynchronously and your org's storage usage isn't updated immediately. To display all
138
- available record counts, run the command without the --sobject flag.
139
-
140
- ALIASES
141
- $ sf force limits recordcounts display
142
- $ sf limits recordcounts display
143
-
144
- EXAMPLES
145
- Display all available record counts in your default org:
146
-
147
- $ sf org list sobject record-counts
148
-
149
- Display record counts for the Account, Contact, Lead, and Opportunity objects in your default org:
150
-
151
- $ sf org list sobject record-counts --sobject Account --sobject Contact --sobject Lead --sobject Opportunity
152
-
153
- Display record counts for the Account and Lead objects for the org with alias "my-scratch-org":
154
-
155
- $ sf org list sobject record-counts --sobject Account --sobject Lead --target-org my-scratch-org
156
- ```
157
-
158
- _See code: [src/commands/org/list/sobject/record-counts.ts](https://github.com/salesforcecli/plugin-limits/blob/3.1.14/src/commands/org/list/sobject/record-counts.ts)_
75
+ - [`sf org`](docs/org.md)
159
76
 
160
77
  <!-- commandsstop -->
@@ -1,28 +1,28 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-limits",
3
- "version": "3.1.14",
3
+ "version": "3.1.15",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-limits",
9
- "version": "3.1.14",
9
+ "version": "3.1.15",
10
10
  "license": "BSD-3-Clause",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^3.19.2",
13
- "@salesforce/core": "^6.5.2",
13
+ "@salesforce/core": "^6.7.3",
14
14
  "@salesforce/kit": "^3.0.15",
15
15
  "@salesforce/sf-plugins-core": "^7.1.15"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@oclif/plugin-command-snapshot": "^5.1.1",
19
19
  "@oclif/test": "^3",
20
- "@salesforce/cli-plugins-testkit": "^5.1.9",
20
+ "@salesforce/cli-plugins-testkit": "^5.1.11",
21
21
  "@salesforce/dev-scripts": "^8.4.2",
22
22
  "@salesforce/plugin-command-reference": "^3.0.70",
23
23
  "@salesforce/ts-types": "^2.0.9",
24
24
  "eslint-plugin-sf-plugin": "^1.17.4",
25
- "oclif": "^4.5.2",
25
+ "oclif": "^4.5.5",
26
26
  "ts-node": "^10.9.2",
27
27
  "typescript": "^5.4.2"
28
28
  },
@@ -4098,26 +4098,26 @@
4098
4098
  }
4099
4099
  },
4100
4100
  "node_modules/@oclif/plugin-help": {
4101
- "version": "6.0.14",
4102
- "resolved": "https://registry.npmjs.org/@oclif/plugin-help/-/plugin-help-6.0.14.tgz",
4103
- "integrity": "sha512-orKUsV8hYtbnPf1W7y5wnnR2X6UFOl7hqTh/Uj4E+3ju/8TnvpavZXFA2UQecKWcfdbYjuTwxuZdeh8vBWFLIQ==",
4101
+ "version": "6.0.18",
4102
+ "resolved": "https://registry.npmjs.org/@oclif/plugin-help/-/plugin-help-6.0.18.tgz",
4103
+ "integrity": "sha512-Ly0gu/+eq7GfIMT76cirbHgElYGlu+PaZ5elrAKmDiegBh31AXqaPQAj8PH4+sG8RSv5srYtrkrygZaw8IF9CQ==",
4104
4104
  "dev": true,
4105
4105
  "license": "MIT",
4106
4106
  "dependencies": {
4107
- "@oclif/core": "^3.19.2"
4107
+ "@oclif/core": "^3.23.0"
4108
4108
  },
4109
4109
  "engines": {
4110
4110
  "node": ">=18.0.0"
4111
4111
  }
4112
4112
  },
4113
4113
  "node_modules/@oclif/plugin-not-found": {
4114
- "version": "3.0.10",
4115
- "resolved": "https://registry.npmjs.org/@oclif/plugin-not-found/-/plugin-not-found-3.0.10.tgz",
4116
- "integrity": "sha512-vjY0nh+QcnAnKYP1SW/c4YhSBS8AkVsv4J61X2Bg2uedLi8Xaj5wCE8zTkqi/gSUtCH3SC3XZ5XGiqGVJegkTw==",
4114
+ "version": "3.0.14",
4115
+ "resolved": "https://registry.npmjs.org/@oclif/plugin-not-found/-/plugin-not-found-3.0.14.tgz",
4116
+ "integrity": "sha512-HLz04cmS+5F6Tsx1zQEoYV6wamDC/0cM2NqklPIEg8pq/JHPhktmhpzsGaRyBrtx4Pv+uNCo3s+mrTz2v5v03w==",
4117
4117
  "dev": true,
4118
4118
  "license": "MIT",
4119
4119
  "dependencies": {
4120
- "@oclif/core": "^3.18.2",
4120
+ "@oclif/core": "^3.21.0",
4121
4121
  "chalk": "^5.3.0",
4122
4122
  "fast-levenshtein": "^3.0.0"
4123
4123
  },
@@ -4339,13 +4339,13 @@
4339
4339
  }
4340
4340
  },
4341
4341
  "node_modules/@salesforce/cli-plugins-testkit": {
4342
- "version": "5.1.9",
4343
- "resolved": "https://registry.npmjs.org/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.1.9.tgz",
4344
- "integrity": "sha512-8a9dwYdo2tXhVMrDe4ex8tjMYGuIwT9wlltB4+h3gt/IuowazjQGy5VWam08gsm3UT/FhhjZBdN0aKJPbD4wXA==",
4342
+ "version": "5.1.11",
4343
+ "resolved": "https://registry.npmjs.org/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.1.11.tgz",
4344
+ "integrity": "sha512-tmvR1em0GLPQ1O1IHBpc6iQZ56XEu3mWOHb2kun2dIlbZ4DImbrDMFijSzgws7DJ3EXvrace+7Z4Sl3uh/gncA==",
4345
4345
  "dev": true,
4346
4346
  "license": "BSD-3-Clause",
4347
4347
  "dependencies": {
4348
- "@salesforce/core": "^6.5.3",
4348
+ "@salesforce/core": "^6.7.1",
4349
4349
  "@salesforce/kit": "^3.0.15",
4350
4350
  "@salesforce/ts-types": "^2.0.9",
4351
4351
  "@types/shelljs": "^0.8.15",
@@ -4370,9 +4370,9 @@
4370
4370
  }
4371
4371
  },
4372
4372
  "node_modules/@salesforce/core": {
4373
- "version": "6.7.0",
4374
- "resolved": "https://registry.npmjs.org/@salesforce/core/-/core-6.7.0.tgz",
4375
- "integrity": "sha512-KIyoSdQJVwtReSpXfpFZ4D4BXHFh5xcmvY6UJjzxB3H7CqUtC/20ldal/jCD8JEy/jObfG7GyxZmZYZYF88JCw==",
4373
+ "version": "6.7.3",
4374
+ "resolved": "https://registry.npmjs.org/@salesforce/core/-/core-6.7.3.tgz",
4375
+ "integrity": "sha512-uU+PuZZGXxByhvnXLH1V3eY5P1caw401dIZ/QvhzYxoP/alPLk7dpChnZNJYH5Rw3dc/AhSPw+eg0cvUyjhP1Q==",
4376
4376
  "license": "BSD-3-Clause",
4377
4377
  "dependencies": {
4378
4378
  "@salesforce/kit": "^3.0.15",
@@ -13484,17 +13484,17 @@
13484
13484
  }
13485
13485
  },
13486
13486
  "node_modules/oclif": {
13487
- "version": "4.5.2",
13488
- "resolved": "https://registry.npmjs.org/oclif/-/oclif-4.5.2.tgz",
13489
- "integrity": "sha512-9xUwaaNvdrN1tSx/jxKD1tsu/sR3ZHFv1f72S8GAZ01xmp5EGyRw97xUT64TFLPQLp/6h3zXm3VUwhZyCv9bkw==",
13487
+ "version": "4.5.5",
13488
+ "resolved": "https://registry.npmjs.org/oclif/-/oclif-4.5.5.tgz",
13489
+ "integrity": "sha512-SCE73AioYF3a4I4hIc0VhE5KQb80ijXhdwxIoD0HAU49lipJ2YWOxTLfHudDUdPyZHOGNqwU4/wmEkMPhWjf1Q==",
13490
13490
  "dev": true,
13491
13491
  "license": "MIT",
13492
13492
  "dependencies": {
13493
13493
  "@aws-sdk/client-cloudfront": "^3.525.0",
13494
13494
  "@aws-sdk/client-s3": "^3.515.0",
13495
13495
  "@oclif/core": "^3.21.0",
13496
- "@oclif/plugin-help": "^6.0.14",
13497
- "@oclif/plugin-not-found": "^3.0.10",
13496
+ "@oclif/plugin-help": "^6.0.18",
13497
+ "@oclif/plugin-not-found": "^3.0.14",
13498
13498
  "@oclif/plugin-warn-if-update-available": "^3.0.12",
13499
13499
  "async-retry": "^1.3.3",
13500
13500
  "change-case": "^4",
package/oclif.lock CHANGED
@@ -1777,7 +1777,7 @@
1777
1777
  wordwrap "^1.0.0"
1778
1778
  wrap-ansi "^7.0.0"
1779
1779
 
1780
- "@oclif/core@^3.15.1", "@oclif/core@^3.18.2", "@oclif/core@^3.19.2", "@oclif/core@^3.20.0", "@oclif/core@^3.21.0", "@oclif/core@^3.23.0":
1780
+ "@oclif/core@^3.15.1", "@oclif/core@^3.19.2", "@oclif/core@^3.20.0", "@oclif/core@^3.21.0", "@oclif/core@^3.23.0":
1781
1781
  version "3.25.2"
1782
1782
  resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.25.2.tgz#a26d56abe5686c57c1e973957777bd2ae324e973"
1783
1783
  integrity sha512-OkW/cNa/3DhoCz2YlSpymVe8DXqkoRaLY4SPTVqNVzR4R1dFBE5KoCtuwKwnhxYLCRCqaViPgRnB5K26f0MnjA==
@@ -1827,19 +1827,19 @@
1827
1827
  semver "^7.6.0"
1828
1828
  ts-json-schema-generator "^1.5.0"
1829
1829
 
1830
- "@oclif/plugin-help@^6.0.14":
1831
- version "6.0.14"
1832
- resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-6.0.14.tgz#9e572fb8394e9cbe2da3465c029eb9521f9c9198"
1833
- integrity sha512-orKUsV8hYtbnPf1W7y5wnnR2X6UFOl7hqTh/Uj4E+3ju/8TnvpavZXFA2UQecKWcfdbYjuTwxuZdeh8vBWFLIQ==
1830
+ "@oclif/plugin-help@^6.0.18":
1831
+ version "6.0.18"
1832
+ resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-6.0.18.tgz#9ba4151b5d77b78a345ad1308620a1fbf9731ac8"
1833
+ integrity sha512-Ly0gu/+eq7GfIMT76cirbHgElYGlu+PaZ5elrAKmDiegBh31AXqaPQAj8PH4+sG8RSv5srYtrkrygZaw8IF9CQ==
1834
1834
  dependencies:
1835
- "@oclif/core" "^3.19.2"
1835
+ "@oclif/core" "^3.23.0"
1836
1836
 
1837
- "@oclif/plugin-not-found@^3.0.10":
1838
- version "3.0.10"
1839
- resolved "https://registry.yarnpkg.com/@oclif/plugin-not-found/-/plugin-not-found-3.0.10.tgz#c1e60386f4509b43636214f8d6efff7b8e5a75bc"
1840
- integrity sha512-vjY0nh+QcnAnKYP1SW/c4YhSBS8AkVsv4J61X2Bg2uedLi8Xaj5wCE8zTkqi/gSUtCH3SC3XZ5XGiqGVJegkTw==
1837
+ "@oclif/plugin-not-found@^3.0.14":
1838
+ version "3.0.14"
1839
+ resolved "https://registry.yarnpkg.com/@oclif/plugin-not-found/-/plugin-not-found-3.0.14.tgz#a5eb6d38cd185e9d30178f5fbd0dc674dbae9b01"
1840
+ integrity sha512-HLz04cmS+5F6Tsx1zQEoYV6wamDC/0cM2NqklPIEg8pq/JHPhktmhpzsGaRyBrtx4Pv+uNCo3s+mrTz2v5v03w==
1841
1841
  dependencies:
1842
- "@oclif/core" "^3.18.2"
1842
+ "@oclif/core" "^3.21.0"
1843
1843
  chalk "^5.3.0"
1844
1844
  fast-levenshtein "^3.0.0"
1845
1845
 
@@ -1969,12 +1969,12 @@
1969
1969
  resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
1970
1970
  integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
1971
1971
 
1972
- "@salesforce/cli-plugins-testkit@^5.1.9":
1973
- version "5.1.9"
1974
- resolved "https://registry.yarnpkg.com/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.1.9.tgz#c21b0d282c0d309141ca5e2fe47835530a24621d"
1975
- integrity sha512-8a9dwYdo2tXhVMrDe4ex8tjMYGuIwT9wlltB4+h3gt/IuowazjQGy5VWam08gsm3UT/FhhjZBdN0aKJPbD4wXA==
1972
+ "@salesforce/cli-plugins-testkit@^5.1.11":
1973
+ version "5.1.11"
1974
+ resolved "https://registry.yarnpkg.com/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.1.11.tgz#74430d60cfc17d3ea931cb26aad7890a325696ca"
1975
+ integrity sha512-tmvR1em0GLPQ1O1IHBpc6iQZ56XEu3mWOHb2kun2dIlbZ4DImbrDMFijSzgws7DJ3EXvrace+7Z4Sl3uh/gncA==
1976
1976
  dependencies:
1977
- "@salesforce/core" "^6.5.3"
1977
+ "@salesforce/core" "^6.7.1"
1978
1978
  "@salesforce/kit" "^3.0.15"
1979
1979
  "@salesforce/ts-types" "^2.0.9"
1980
1980
  "@types/shelljs" "^0.8.15"
@@ -1984,10 +1984,10 @@
1984
1984
  strip-ansi "6.0.1"
1985
1985
  ts-retry-promise "^0.8.0"
1986
1986
 
1987
- "@salesforce/core@^6.4.1", "@salesforce/core@^6.5.2", "@salesforce/core@^6.5.3", "@salesforce/core@^6.6.0", "@salesforce/core@^6.7.0":
1988
- version "6.7.0"
1989
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.7.0.tgz#f838f5704aa2f14296fd85691c9bcd8da33dca5d"
1990
- integrity sha512-KIyoSdQJVwtReSpXfpFZ4D4BXHFh5xcmvY6UJjzxB3H7CqUtC/20ldal/jCD8JEy/jObfG7GyxZmZYZYF88JCw==
1987
+ "@salesforce/core@^6.4.1", "@salesforce/core@^6.5.3", "@salesforce/core@^6.6.0", "@salesforce/core@^6.7.0", "@salesforce/core@^6.7.1", "@salesforce/core@^6.7.3":
1988
+ version "6.7.3"
1989
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.7.3.tgz#5d8f30c40ac3cebb898c8e845fe9a067bc729268"
1990
+ integrity sha512-uU+PuZZGXxByhvnXLH1V3eY5P1caw401dIZ/QvhzYxoP/alPLk7dpChnZNJYH5Rw3dc/AhSPw+eg0cvUyjhP1Q==
1991
1991
  dependencies:
1992
1992
  "@salesforce/kit" "^3.0.15"
1993
1993
  "@salesforce/schemas" "^1.6.1"
@@ -7469,16 +7469,16 @@ object.values@^1.1.7:
7469
7469
  define-properties "^1.2.0"
7470
7470
  es-abstract "^1.22.1"
7471
7471
 
7472
- oclif@^4.5.2:
7473
- version "4.5.2"
7474
- resolved "https://registry.yarnpkg.com/oclif/-/oclif-4.5.2.tgz#b90f9bb624fccb73e57dd733e3a5146f3eeb7599"
7475
- integrity sha512-9xUwaaNvdrN1tSx/jxKD1tsu/sR3ZHFv1f72S8GAZ01xmp5EGyRw97xUT64TFLPQLp/6h3zXm3VUwhZyCv9bkw==
7472
+ oclif@^4.5.5:
7473
+ version "4.5.5"
7474
+ resolved "https://registry.yarnpkg.com/oclif/-/oclif-4.5.5.tgz#f56543d62ab6bfb17f0080b9a3f5ff4b85e7f79c"
7475
+ integrity sha512-SCE73AioYF3a4I4hIc0VhE5KQb80ijXhdwxIoD0HAU49lipJ2YWOxTLfHudDUdPyZHOGNqwU4/wmEkMPhWjf1Q==
7476
7476
  dependencies:
7477
7477
  "@aws-sdk/client-cloudfront" "^3.525.0"
7478
7478
  "@aws-sdk/client-s3" "^3.515.0"
7479
7479
  "@oclif/core" "^3.21.0"
7480
- "@oclif/plugin-help" "^6.0.14"
7481
- "@oclif/plugin-not-found" "^3.0.10"
7480
+ "@oclif/plugin-help" "^6.0.18"
7481
+ "@oclif/plugin-not-found" "^3.0.14"
7482
7482
  "@oclif/plugin-warn-if-update-available" "^3.0.12"
7483
7483
  async-retry "^1.3.3"
7484
7484
  change-case "^4"
@@ -264,5 +264,5 @@
264
264
  ]
265
265
  }
266
266
  },
267
- "version": "3.1.14"
267
+ "version": "3.1.15"
268
268
  }
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-limits",
3
3
  "description": "commands to display api limits to your org",
4
- "version": "3.1.14",
4
+ "version": "3.1.15",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^3.19.2",
9
- "@salesforce/core": "^6.5.2",
9
+ "@salesforce/core": "^6.7.3",
10
10
  "@salesforce/kit": "^3.0.15",
11
11
  "@salesforce/sf-plugins-core": "^7.1.15"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@oclif/plugin-command-snapshot": "^5.1.1",
15
15
  "@oclif/test": "^3",
16
- "@salesforce/cli-plugins-testkit": "^5.1.9",
16
+ "@salesforce/cli-plugins-testkit": "^5.1.11",
17
17
  "@salesforce/dev-scripts": "^8.4.2",
18
18
  "@salesforce/plugin-command-reference": "^3.0.70",
19
19
  "@salesforce/ts-types": "^2.0.9",
20
20
  "eslint-plugin-sf-plugin": "^1.17.4",
21
- "oclif": "^4.5.2",
21
+ "oclif": "^4.5.5",
22
22
  "ts-node": "^10.9.2",
23
23
  "typescript": "^5.4.2"
24
24
  },
@@ -213,7 +213,7 @@
213
213
  "exports": "./lib/index.js",
214
214
  "type": "module",
215
215
  "sfdx": {
216
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/3.1.14.crt",
217
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/3.1.14.sig"
216
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/3.1.15.crt",
217
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/3.1.15.sig"
218
218
  }
219
219
  }