@salesforce/plugin-limits 2.3.41 → 3.0.2

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.
@@ -1,76 +1,127 @@
1
1
  {
2
- "version": "2.3.41",
3
2
  "commands": {
4
- "limits:api:display": {
5
- "id": "limits:api:display",
6
- "summary": "Display information about limits in your org.",
7
- "description": "For each limit, this command returns the maximum allocation and the remaining allocation based on usage. See this topic for a description of each limit: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_limits.htm.",
8
- "strict": true,
9
- "pluginName": "@salesforce/plugin-limits",
10
- "pluginAlias": "@salesforce/plugin-limits",
11
- "pluginType": "core",
3
+ "org:list:limits": {
12
4
  "aliases": [
13
5
  "force:limits:api:display",
14
- "org:list:limits"
6
+ "limits:api:display"
15
7
  ],
8
+ "args": {},
9
+ "description": "For each limit, this command returns the maximum allocation and the remaining allocation based on usage. See this topic for a description of each limit: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_limits.htm.",
16
10
  "examples": [
17
11
  "Display limits in your default org:\n<%= config.bin %> <%= command.id %>",
18
12
  "Display limits in the org with alias \"my-scratch-org\":\n<%= config.bin %> <%= command.id %> --target-org my-scratch-org"
19
13
  ],
20
14
  "flags": {
21
15
  "json": {
22
- "name": "json",
23
- "type": "boolean",
24
16
  "description": "Format output as json.",
25
17
  "helpGroup": "GLOBAL",
26
- "allowNo": false
18
+ "name": "json",
19
+ "allowNo": false,
20
+ "type": "boolean"
27
21
  },
28
22
  "target-org": {
29
- "name": "target-org",
30
- "type": "option",
31
- "char": "o",
32
- "summary": "Username or alias of the target org.",
33
- "required": true,
34
- "multiple": false,
35
23
  "aliases": [
36
24
  "targetusername",
37
25
  "u"
38
- ]
26
+ ],
27
+ "char": "o",
28
+ "deprecateAliases": true,
29
+ "name": "target-org",
30
+ "noCacheDefault": true,
31
+ "required": true,
32
+ "summary": "Username or alias of the target org.",
33
+ "hasDynamicHelp": true,
34
+ "multiple": false,
35
+ "type": "option"
39
36
  },
40
37
  "api-version": {
41
- "name": "api-version",
42
- "type": "option",
43
- "description": "Override the api version used for api requests made by this command",
44
- "multiple": false,
45
38
  "aliases": [
46
39
  "apiversion"
47
- ]
40
+ ],
41
+ "deprecateAliases": true,
42
+ "description": "Override the api version used for api requests made by this command",
43
+ "name": "api-version",
44
+ "hasDynamicHelp": false,
45
+ "multiple": false,
46
+ "type": "option"
48
47
  },
49
48
  "loglevel": {
50
- "name": "loglevel",
51
- "type": "option",
52
- "hidden": true,
53
- "multiple": false,
54
49
  "deprecated": {
55
50
  "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
56
- }
51
+ },
52
+ "hidden": true,
53
+ "name": "loglevel",
54
+ "hasDynamicHelp": false,
55
+ "multiple": false,
56
+ "type": "option"
57
57
  }
58
58
  },
59
- "args": {},
60
- "hasDynamicHelp": true
61
- },
62
- "limits:recordcounts:display": {
63
- "id": "limits:recordcounts:display",
64
- "summary": "Display record counts for the specified standard or custom objects.",
65
- "description": "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 the Setup UI. 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 --sobject flag.",
66
- "strict": true,
67
- "pluginName": "@salesforce/plugin-limits",
59
+ "hasDynamicHelp": true,
60
+ "hiddenAliases": [],
61
+ "id": "org:list:limits",
68
62
  "pluginAlias": "@salesforce/plugin-limits",
63
+ "pluginName": "@salesforce/plugin-limits",
69
64
  "pluginType": "core",
65
+ "strict": true,
66
+ "summary": "Display information about limits in your org.",
67
+ "enableJsonFlag": true,
68
+ "SF_ENV": "SF_ENV",
69
+ "isESM": true,
70
+ "relativePath": [
71
+ "lib",
72
+ "commands",
73
+ "org",
74
+ "list",
75
+ "limits.js"
76
+ ],
77
+ "aliasPermutations": [
78
+ "force:limits:api:display",
79
+ "limits:force:api:display",
80
+ "limits:api:force:display",
81
+ "limits:api:display:force",
82
+ "force:api:limits:display",
83
+ "api:force:limits:display",
84
+ "api:limits:force:display",
85
+ "api:limits:display:force",
86
+ "force:api:display:limits",
87
+ "api:force:display:limits",
88
+ "api:display:force:limits",
89
+ "api:display:limits:force",
90
+ "force:limits:display:api",
91
+ "limits:force:display:api",
92
+ "limits:display:force:api",
93
+ "limits:display:api:force",
94
+ "force:display:limits:api",
95
+ "display:force:limits:api",
96
+ "display:limits:force:api",
97
+ "display:limits:api:force",
98
+ "force:display:api:limits",
99
+ "display:force:api:limits",
100
+ "display:api:force:limits",
101
+ "display:api:limits:force",
102
+ "limits:api:display",
103
+ "api:limits:display",
104
+ "api:display:limits",
105
+ "limits:display:api",
106
+ "display:limits:api",
107
+ "display:api:limits"
108
+ ],
109
+ "permutations": [
110
+ "org:list:limits",
111
+ "list:org:limits",
112
+ "list:limits:org",
113
+ "org:limits:list",
114
+ "limits:org:list",
115
+ "limits:list:org"
116
+ ]
117
+ },
118
+ "org:list:sobject:record-counts": {
70
119
  "aliases": [
71
120
  "force:limits:recordcounts:display",
72
- "org:list:sobject:record-counts"
121
+ "limits:recordcounts:display"
73
122
  ],
123
+ "args": {},
124
+ "description": "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 the Setup UI. 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 --sobject flag.",
74
125
  "examples": [
75
126
  "Display all available record counts in your default org:\n<%= config.bin %> <%= command.id %>",
76
127
  "Display record counts for the Account, Contact, Lead, and Opportunity objects in your default org:\n<%= config.bin %> <%= command.id %> --sobject Account --sobject Contact --sobject Lead --sobject Opportunity",
@@ -78,57 +129,140 @@
78
129
  ],
79
130
  "flags": {
80
131
  "json": {
81
- "name": "json",
82
- "type": "boolean",
83
132
  "description": "Format output as json.",
84
133
  "helpGroup": "GLOBAL",
85
- "allowNo": false
134
+ "name": "json",
135
+ "allowNo": false,
136
+ "type": "boolean"
86
137
  },
87
138
  "sobject": {
88
- "name": "sobject",
89
- "type": "option",
90
- "char": "s",
91
- "summary": "API name of the standard or custom object for which to display record counts.",
92
- "multiple": true,
93
- "default": [],
94
139
  "aliases": [
95
140
  "sobjecttype"
96
141
  ],
97
- "delimiter": ","
142
+ "char": "s",
143
+ "name": "sobject",
144
+ "summary": "API name of the standard or custom object for which to display record counts.",
145
+ "default": [],
146
+ "delimiter": ",",
147
+ "hasDynamicHelp": false,
148
+ "multiple": true,
149
+ "type": "option"
98
150
  },
99
151
  "target-org": {
100
- "name": "target-org",
101
- "type": "option",
102
- "char": "o",
103
- "summary": "Username or alias of the target org.",
104
- "required": true,
105
- "multiple": false,
106
152
  "aliases": [
107
153
  "targetusername",
108
154
  "u"
109
- ]
155
+ ],
156
+ "char": "o",
157
+ "deprecateAliases": true,
158
+ "name": "target-org",
159
+ "noCacheDefault": true,
160
+ "required": true,
161
+ "summary": "Username or alias of the target org.",
162
+ "hasDynamicHelp": true,
163
+ "multiple": false,
164
+ "type": "option"
110
165
  },
111
166
  "api-version": {
112
- "name": "api-version",
113
- "type": "option",
114
- "description": "Override the api version used for api requests made by this command",
115
- "multiple": false,
116
167
  "aliases": [
117
168
  "apiversion"
118
- ]
169
+ ],
170
+ "deprecateAliases": true,
171
+ "description": "Override the api version used for api requests made by this command",
172
+ "name": "api-version",
173
+ "hasDynamicHelp": false,
174
+ "multiple": false,
175
+ "type": "option"
119
176
  },
120
177
  "loglevel": {
121
- "name": "loglevel",
122
- "type": "option",
123
- "hidden": true,
124
- "multiple": false,
125
178
  "deprecated": {
126
179
  "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
127
- }
180
+ },
181
+ "hidden": true,
182
+ "name": "loglevel",
183
+ "hasDynamicHelp": false,
184
+ "multiple": false,
185
+ "type": "option"
128
186
  }
129
187
  },
130
- "args": {},
131
- "hasDynamicHelp": true
188
+ "hasDynamicHelp": true,
189
+ "hiddenAliases": [],
190
+ "id": "org:list:sobject:record-counts",
191
+ "pluginAlias": "@salesforce/plugin-limits",
192
+ "pluginName": "@salesforce/plugin-limits",
193
+ "pluginType": "core",
194
+ "strict": true,
195
+ "summary": "Display record counts for the specified standard or custom objects.",
196
+ "enableJsonFlag": true,
197
+ "SF_ENV": "SF_ENV",
198
+ "isESM": true,
199
+ "relativePath": [
200
+ "lib",
201
+ "commands",
202
+ "org",
203
+ "list",
204
+ "sobject",
205
+ "record-counts.js"
206
+ ],
207
+ "aliasPermutations": [
208
+ "force:limits:recordcounts:display",
209
+ "limits:force:recordcounts:display",
210
+ "limits:recordcounts:force:display",
211
+ "limits:recordcounts:display:force",
212
+ "force:recordcounts:limits:display",
213
+ "recordcounts:force:limits:display",
214
+ "recordcounts:limits:force:display",
215
+ "recordcounts:limits:display:force",
216
+ "force:recordcounts:display:limits",
217
+ "recordcounts:force:display:limits",
218
+ "recordcounts:display:force:limits",
219
+ "recordcounts:display:limits:force",
220
+ "force:limits:display:recordcounts",
221
+ "limits:force:display:recordcounts",
222
+ "limits:display:force:recordcounts",
223
+ "limits:display:recordcounts:force",
224
+ "force:display:limits:recordcounts",
225
+ "display:force:limits:recordcounts",
226
+ "display:limits:force:recordcounts",
227
+ "display:limits:recordcounts:force",
228
+ "force:display:recordcounts:limits",
229
+ "display:force:recordcounts:limits",
230
+ "display:recordcounts:force:limits",
231
+ "display:recordcounts:limits:force",
232
+ "limits:recordcounts:display",
233
+ "recordcounts:limits:display",
234
+ "recordcounts:display:limits",
235
+ "limits:display:recordcounts",
236
+ "display:limits:recordcounts",
237
+ "display:recordcounts:limits"
238
+ ],
239
+ "permutations": [
240
+ "org:list:sobject:record-counts",
241
+ "list:org:sobject:record-counts",
242
+ "list:sobject:org:record-counts",
243
+ "list:sobject:record-counts:org",
244
+ "org:sobject:list:record-counts",
245
+ "sobject:org:list:record-counts",
246
+ "sobject:list:org:record-counts",
247
+ "sobject:list:record-counts:org",
248
+ "org:sobject:record-counts:list",
249
+ "sobject:org:record-counts:list",
250
+ "sobject:record-counts:org:list",
251
+ "sobject:record-counts:list:org",
252
+ "org:list:record-counts:sobject",
253
+ "list:org:record-counts:sobject",
254
+ "list:record-counts:org:sobject",
255
+ "list:record-counts:sobject:org",
256
+ "org:record-counts:list:sobject",
257
+ "record-counts:org:list:sobject",
258
+ "record-counts:list:org:sobject",
259
+ "record-counts:list:sobject:org",
260
+ "org:record-counts:sobject:list",
261
+ "record-counts:org:sobject:list",
262
+ "record-counts:sobject:org:list",
263
+ "record-counts:sobject:list:org"
264
+ ]
132
265
  }
133
- }
266
+ },
267
+ "version": "3.0.2"
134
268
  }
package/package.json CHANGED
@@ -1,70 +1,47 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-limits",
3
3
  "description": "commands to display api limits to your org",
4
- "version": "2.3.41",
4
+ "version": "3.0.2",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
- "main": "lib/index.js",
8
7
  "dependencies": {
9
- "@oclif/core": "^2.15.0",
10
- "@salesforce/core": "^5.3.10",
11
- "@salesforce/kit": "^3.0.11",
12
- "@salesforce/sf-plugins-core": "^3.1.28",
13
- "@salesforce/ts-types": "^2.0.9",
14
- "tslib": "^2"
8
+ "@oclif/core": "^3.9.0",
9
+ "@salesforce/core": "^6.1.0",
10
+ "@salesforce/kit": "^3.0.15",
11
+ "@salesforce/sf-plugins-core": "^5.0.1",
12
+ "@salesforce/ts-types": "^2.0.9"
15
13
  },
16
14
  "devDependencies": {
17
- "@oclif/plugin-command-snapshot": "^4.0.14",
18
- "@oclif/test": "^2.5.6",
19
- "@salesforce/cli-plugins-testkit": "^4.4.7",
20
- "@salesforce/dev-config": "^4.0.1",
21
- "@salesforce/dev-scripts": "^5.11.0",
22
- "@salesforce/plugin-command-reference": "^3.0.41",
23
- "@salesforce/prettier-config": "^0.0.3",
24
- "@salesforce/ts-sinon": "^1.4.17",
25
- "@swc/core": "^1.3.32",
26
- "@typescript-eslint/eslint-plugin": "^5.62.0",
27
- "@typescript-eslint/parser": "^5.62.0",
28
- "chai": "^4.3.10",
29
- "eslint": "^8.51.0",
30
- "eslint-config-prettier": "^8.10.0",
31
- "eslint-config-salesforce": "^2.0.2",
32
- "eslint-config-salesforce-license": "^0.2.0",
33
- "eslint-config-salesforce-typescript": "^1.1.2",
34
- "eslint-plugin-header": "^3.1.1",
35
- "eslint-plugin-import": "2.28.1",
36
- "eslint-plugin-jsdoc": "^43.0.5",
37
- "eslint-plugin-sf-plugin": "^1.16.9",
38
- "husky": "^7.0.4",
39
- "mocha": "^9.1.3",
40
- "nyc": "^15.1.0",
41
- "oclif": "^3.17.2",
42
- "prettier": "^2.8.8",
43
- "pretty-quick": "^3.1.0",
15
+ "@oclif/plugin-command-snapshot": "^5.0.1",
16
+ "@oclif/test": "^3",
17
+ "@salesforce/cli-plugins-testkit": "^5",
18
+ "@salesforce/dev-scripts": "^7.1.0",
19
+ "@salesforce/plugin-command-reference": "^3.0.45",
20
+ "eslint-plugin-sf-plugin": "^1.16.15",
21
+ "oclif": "^4.0.3",
44
22
  "shx": "0.3.4",
45
- "sinon": "10.0.0",
46
- "swc": "^1.0.11",
47
- "ts-node": "^10.4.0",
48
- "typescript": "^4.9.5",
49
- "wireit": "^0.14.0"
23
+ "typescript": "^5.2.2"
50
24
  },
51
25
  "config": {},
52
26
  "engines": {
53
- "node": ">=16.0.0"
27
+ "node": ">=18.0.0"
54
28
  },
55
29
  "files": [
56
30
  "/lib",
57
31
  "/messages",
58
32
  "/oclif.manifest.json",
59
- "/schemas"
33
+ "/schemas",
34
+ "/oclif.lock"
60
35
  ],
61
36
  "homepage": "https://github.com/salesforcecli/plugin-limits",
62
37
  "keywords": [
63
38
  "force",
64
39
  "salesforce",
65
- "sfdx",
66
40
  "salesforcedx",
67
- "sfdx-plugin"
41
+ "sf-plugin",
42
+ "sf",
43
+ "sfdx-plugin",
44
+ "sfdx"
68
45
  ],
69
46
  "license": "BSD-3-Clause",
70
47
  "oclif": {
@@ -72,43 +49,47 @@
72
49
  "additionalHelpFlags": [
73
50
  "-h"
74
51
  ],
75
- "bin": "sfdx",
52
+ "bin": "sf",
76
53
  "devPlugins": [
77
54
  "@oclif/plugin-help",
78
55
  "@oclif/plugin-command-snapshot",
79
56
  "@salesforce/plugin-command-reference"
80
57
  ],
81
58
  "topics": {
82
- "limits": {
83
- "description": "Display an org’s limits.",
59
+ "org": {
60
+ "external": true,
84
61
  "subtopics": {
85
- "api": {
86
- "description": "Display an org’s API limits."
62
+ "list": {
63
+ "external": true
87
64
  },
88
- "recordcounts": {
89
- "description": "Display record counts for an org."
65
+ "subtopics": {
66
+ "sobject": {
67
+ "external": true
68
+ }
90
69
  }
91
70
  }
92
71
  }
93
- }
72
+ },
73
+ "flexibleTaxonomy": true,
74
+ "topicSeparator": " "
94
75
  },
95
76
  "repository": "salesforcecli/plugin-limits",
96
77
  "scripts": {
97
78
  "build": "wireit",
98
79
  "clean": "sf-clean",
99
80
  "clean-all": "sf-clean all",
100
- "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
81
+ "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json oclif.lock",
101
82
  "compile": "wireit",
102
83
  "docs": "sf-docs",
103
84
  "format": "wireit",
104
85
  "lint": "wireit",
105
- "postpack": "shx rm -f oclif.manifest.json",
86
+ "postpack": "shx rm -f oclif.manifest.json oclif.lock",
106
87
  "prepack": "sf-prepack",
107
88
  "prepare": "sf-install",
108
89
  "test": "wireit",
109
90
  "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 5",
110
91
  "test:only": "wireit",
111
- "version": "oclif-dev readme"
92
+ "version": "oclif readme"
112
93
  },
113
94
  "publishConfig": {
114
95
  "access": "public"
@@ -189,7 +170,7 @@
189
170
  "output": []
190
171
  },
191
172
  "test:command-reference": {
192
- "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
173
+ "command": "ts-node \"./bin/dev.js\" commandreference:generate --erroronwarnings",
193
174
  "files": [
194
175
  "src/**/*.ts",
195
176
  "messages/**",
@@ -200,7 +181,7 @@
200
181
  ]
201
182
  },
202
183
  "test:deprecation-policy": {
203
- "command": "\"./bin/dev\" snapshot:compare",
184
+ "command": "ts-node \"./bin/dev.js\" snapshot:compare",
204
185
  "files": [
205
186
  "src/**/*.ts"
206
187
  ],
@@ -210,7 +191,7 @@
210
191
  ]
211
192
  },
212
193
  "test:json-schema": {
213
- "command": "\"./bin/dev\" schema:compare",
194
+ "command": "ts-node \"./bin/dev.js\" schema:compare",
214
195
  "files": [
215
196
  "src/**/*.ts",
216
197
  "schemas"
@@ -218,8 +199,10 @@
218
199
  "output": []
219
200
  }
220
201
  },
202
+ "exports": "./lib/index.js",
203
+ "type": "module",
221
204
  "sfdx": {
222
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.3.41.crt",
223
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.3.41.sig"
205
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/3.0.2.crt",
206
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/3.0.2.sig"
224
207
  }
225
208
  }
@@ -1,20 +0,0 @@
1
- import { SfCommand } from '@salesforce/sf-plugins-core';
2
- type ApiLimit = {
3
- name: string;
4
- max: number;
5
- remaining: number;
6
- };
7
- export type ApiLimits = ApiLimit[];
8
- export declare class LimitsApiDisplayCommand extends SfCommand<ApiLimits> {
9
- static readonly aliases: string[];
10
- static readonly summary: string;
11
- static readonly description: string;
12
- static readonly examples: string[];
13
- static readonly flags: {
14
- 'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
15
- 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
16
- loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
17
- };
18
- run(): Promise<ApiLimits>;
19
- }
20
- export {};
@@ -1,46 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LimitsApiDisplayCommand = void 0;
4
- /*
5
- * Copyright (c) 2020, salesforce.com, inc.
6
- * All rights reserved.
7
- * Licensed under the BSD 3-Clause license.
8
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
9
- */
10
- const core_1 = require("@salesforce/core");
11
- const sf_plugins_core_1 = require("@salesforce/sf-plugins-core");
12
- core_1.Messages.importMessagesDirectory(__dirname);
13
- const messages = core_1.Messages.loadMessages('@salesforce/plugin-limits', 'display');
14
- class LimitsApiDisplayCommand extends sf_plugins_core_1.SfCommand {
15
- async run() {
16
- try {
17
- const { flags } = await this.parse(LimitsApiDisplayCommand);
18
- const conn = flags['target-org'].getConnection(flags['api-version']);
19
- const result = await conn.request('/limits');
20
- const limits = Object.entries(result).map(([name, { Max, Remaining }]) => ({
21
- name,
22
- max: Max,
23
- remaining: Remaining,
24
- }));
25
- this.table(limits, { name: { header: 'Name' }, remaining: { header: 'Remaining' }, max: { header: 'Max' } });
26
- return limits;
27
- }
28
- catch (err) {
29
- if (err instanceof Error || typeof err === 'string') {
30
- throw core_1.SfError.wrap(err);
31
- }
32
- throw err;
33
- }
34
- }
35
- }
36
- exports.LimitsApiDisplayCommand = LimitsApiDisplayCommand;
37
- LimitsApiDisplayCommand.aliases = ['force:limits:api:display', 'org:list:limits'];
38
- LimitsApiDisplayCommand.summary = messages.getMessage('summary');
39
- LimitsApiDisplayCommand.description = messages.getMessage('description');
40
- LimitsApiDisplayCommand.examples = messages.getMessages('examples');
41
- LimitsApiDisplayCommand.flags = {
42
- 'target-org': sf_plugins_core_1.requiredOrgFlagWithDeprecations,
43
- 'api-version': sf_plugins_core_1.orgApiVersionFlagWithDeprecations,
44
- loglevel: sf_plugins_core_1.loglevel,
45
- };
46
- //# sourceMappingURL=display.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"display.js","sourceRoot":"","sources":["../../../../src/commands/limits/api/display.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,2CAAqD;AACrD,iEAKqC;AAErC,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,2BAA2B,EAAE,SAAS,CAAC,CAAC;AAiB/E,MAAa,uBAAwB,SAAQ,2BAAoB;IAWxD,KAAK,CAAC,GAAG;QACd,IAAI;YACF,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;YAC5D,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;YACrE,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAS,SAAS,CAAC,CAAC;YACrD,MAAM,MAAM,GAAc,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;gBACpF,IAAI;gBACJ,GAAG,EAAE,GAAG;gBACR,SAAS,EAAE,SAAS;aACrB,CAAC,CAAC,CAAC;YAEJ,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;YAE7G,OAAO,MAAM,CAAC;SACf;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,GAAG,YAAY,KAAK,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;gBACnD,MAAM,cAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;aACzB;YACD,MAAM,GAAG,CAAC;SACX;IACH,CAAC;;AA/BH,0DAgCC;AA/BwB,+BAAO,GAAG,CAAC,0BAA0B,EAAE,iBAAiB,CAAC,CAAC;AAC1D,+BAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;AACzC,mCAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,gCAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AAC5C,6BAAK,GAAG;IAC7B,YAAY,EAAE,iDAA+B;IAC7C,aAAa,EAAE,mDAAiC;IAChD,QAAQ,EAAR,0BAAQ;CACT,CAAC"}
@@ -1,19 +0,0 @@
1
- import { SfCommand } from '@salesforce/sf-plugins-core';
2
- export type RecordCount = {
3
- name: string;
4
- count: number;
5
- };
6
- export type RecordCounts = RecordCount[];
7
- export declare class LimitsRecordCountsDisplayCommand extends SfCommand<RecordCounts> {
8
- static readonly aliases: string[];
9
- static readonly summary: string;
10
- static readonly description: string;
11
- static readonly examples: string[];
12
- static readonly flags: {
13
- sobject: import("@oclif/core/lib/interfaces").OptionFlag<string[], import("@oclif/core/lib/interfaces/parser").CustomOptions>;
14
- 'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
15
- 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
16
- loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
17
- };
18
- run(): Promise<RecordCounts>;
19
- }