@salesforce/plugin-schema 1.0.7 → 1.1.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
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
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
|
+
## [1.1.0](https://github.com/salesforcecli/plugin-schema/compare/v1.0.10...v1.1.0) (2021-12-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* bump deps ([75830fa](https://github.com/salesforcecli/plugin-schema/commit/75830fa414f40d1fc4f0731eaba9f6d977ceb779))
|
|
11
|
+
|
|
12
|
+
### [1.0.10](https://github.com/salesforcecli/plugin-schema/compare/v1.0.9...v1.0.10) (2021-10-12)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* update dependencies ([299c7e9](https://github.com/salesforcecli/plugin-schema/commit/299c7e9582ccc16026c27b4a27afdc072013b697))
|
|
18
|
+
|
|
19
|
+
### [1.0.9](https://github.com/salesforcecli/plugin-schema/compare/v1.0.8...v1.0.9) (2021-10-12)
|
|
20
|
+
|
|
21
|
+
### [1.0.8](https://github.com/salesforcecli/plugin-schema/compare/v1.0.7...v1.0.8) (2021-07-01)
|
|
22
|
+
|
|
5
23
|
### [1.0.7](https://github.com/salesforcecli/plugin-schema/compare/v1.0.6...v1.0.7) (2021-05-10)
|
|
6
24
|
|
|
7
25
|
### [1.0.6](https://github.com/salesforcecli/plugin-schema/compare/v1.0.5...v1.0.6) (2021-04-13)
|
package/README.md
CHANGED
|
@@ -77,6 +77,8 @@ sfdx plugins
|
|
|
77
77
|
displays the metadata for a standard or custom object
|
|
78
78
|
|
|
79
79
|
```
|
|
80
|
+
displays the metadata for a standard or custom object
|
|
81
|
+
|
|
80
82
|
USAGE
|
|
81
83
|
$ sfdx force:schema:sobject:describe -s <string> [-t] [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
82
84
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
@@ -104,13 +106,15 @@ EXAMPLES
|
|
|
104
106
|
sfdx force:schema:sobject:describe -s ApexClass -t
|
|
105
107
|
```
|
|
106
108
|
|
|
107
|
-
_See code: [src/commands/force/schema/sobject/describe.ts](https://github.com/salesforcecli/plugin-schema/blob/v1.0.
|
|
109
|
+
_See code: [src/commands/force/schema/sobject/describe.ts](https://github.com/salesforcecli/plugin-schema/blob/v1.0.10/src/commands/force/schema/sobject/describe.ts)_
|
|
108
110
|
|
|
109
111
|
## `sfdx force:schema:sobject:list [-c <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
110
112
|
|
|
111
113
|
list all objects of a specified category
|
|
112
114
|
|
|
113
115
|
```
|
|
116
|
+
list all objects of a specified category
|
|
117
|
+
|
|
114
118
|
USAGE
|
|
115
119
|
$ sfdx force:schema:sobject:list [-c <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
116
120
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
@@ -136,5 +140,5 @@ EXAMPLES
|
|
|
136
140
|
sfdx force:schema:sobject:list -c standard
|
|
137
141
|
```
|
|
138
142
|
|
|
139
|
-
_See code: [src/commands/force/schema/sobject/list.ts](https://github.com/salesforcecli/plugin-schema/blob/v1.0.
|
|
143
|
+
_See code: [src/commands/force/schema/sobject/list.ts](https://github.com/salesforcecli/plugin-schema/blob/v1.0.10/src/commands/force/schema/sobject/list.ts)_
|
|
140
144
|
<!-- commandsstop -->
|
|
@@ -7,7 +7,7 @@ exports.SchemaSobjectList = exports.SObjectType = void 0;
|
|
|
7
7
|
* Licensed under the BSD 3-Clause license.
|
|
8
8
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
9
9
|
*/
|
|
10
|
-
const
|
|
10
|
+
const os_1 = require("os");
|
|
11
11
|
const command_1 = require("@salesforce/command");
|
|
12
12
|
const core_1 = require("@salesforce/core");
|
|
13
13
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
@@ -46,7 +46,7 @@ class SchemaSobjectList extends command_1.SfdxCommand {
|
|
|
46
46
|
}
|
|
47
47
|
exports.SchemaSobjectList = SchemaSobjectList;
|
|
48
48
|
SchemaSobjectList.description = messages.getMessage('description');
|
|
49
|
-
SchemaSobjectList.examples = messages.getMessage('examples').split(
|
|
49
|
+
SchemaSobjectList.examples = messages.getMessage('examples').split(os_1.EOL);
|
|
50
50
|
SchemaSobjectList.flagsConfig = {
|
|
51
51
|
sobjecttypecategory: command_1.flags.string({
|
|
52
52
|
char: 'c',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../src/commands/force/schema/sobject/list.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../src/commands/force/schema/sobject/list.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,2BAAyB;AACzB,iDAAsE;AACtE,2CAAmE;AAGnE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC;AAE5E,qCAAqC;AACrC,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,2CAAG,CAAA;IACH,qDAAQ,CAAA;IACR,iDAAM,CAAA;AACR,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AAED,MAAa,iBAAkB,SAAQ,qBAAW;IAoBzC,KAAK,CAAC,GAAG;QACd,MAAM,QAAQ,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C,QAAG,CAAC,CAAC;AACtD,6BAAW,GAAgB;IAChD,mBAAmB,EAAE,eAAK,CAAC,MAAM,CAAC;QAChC,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE;YAChB,MAAM,WAAW,GAAG,GAAG,CAAC,WAAW,EAAE,CAAC;YACtC,MAAM,MAAM,GAAG,WAAW,KAAK,KAAK,IAAI,WAAW,KAAK,UAAU,IAAI,WAAW,KAAK,QAAQ,CAAC;YAC/F,IAAI,CAAC,MAAM,EAAE;gBACX,MAAM,gBAAS,CAAC,MAAM,CAAC,2BAA2B,EAAE,MAAM,EAAE,wBAAwB,CAAC,CAAC;aACvF;YACD,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;KAC1D,CAAC;CACH,CAAC;AACqB,kCAAgB,GAAG,IAAI,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0
|
|
1
|
+
{"version":"1.1.0","commands":{"force:schema:sobject:describe":{"id":"force:schema:sobject:describe","description":"displays the metadata for a standard or custom object","usage":"<%= command.id %> -s <string> [-t] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-schema","pluginType":"core","aliases":[],"examples":["sfdx force:schema:sobject:describe -s Account","sfdx force:schema:sobject:describe -s MyObject__c","sfdx force:schema:sobject:describe -s ApexClass -t"],"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":"the API name of the object to describe","required":true},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"execute with Tooling API","allowNo":false}},"args":[]},"force:schema:sobject:list":{"id":"force:schema:sobject:list","description":"list all objects of a specified category","usage":"<%= command.id %> [-c <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-schema","pluginType":"core","aliases":[],"examples":["sfdx force:schema:sobject:list -c all","sfdx force:schema:sobject:list -c custom","sfdx force:schema:sobject:list -c standard"],"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"},"sobjecttypecategory":{"name":"sobjecttypecategory","type":"option","char":"c","description":"the type of objects to list (all|custom|standard)","default":"ALL"}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-schema",
|
|
3
3
|
"description": "Commands to interact with salesforce sobject schemas",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@oclif/config": "^1",
|
|
9
|
-
"@salesforce/command": "^
|
|
10
|
-
"@salesforce/core": "^2.
|
|
9
|
+
"@salesforce/command": "^4.2.0",
|
|
10
|
+
"@salesforce/core": "^2.31.0",
|
|
11
11
|
"tslib": "^2"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@oclif/dev-cli": "^1",
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^2.
|
|
16
|
-
"@salesforce/cli-plugins-testkit": "^
|
|
17
|
-
"@salesforce/dev-config": "^2.1.
|
|
18
|
-
"@salesforce/dev-scripts": "0.9.
|
|
15
|
+
"@oclif/plugin-command-snapshot": "^2.2.2",
|
|
16
|
+
"@salesforce/cli-plugins-testkit": "^1.4.11",
|
|
17
|
+
"@salesforce/dev-config": "^2.1.2",
|
|
18
|
+
"@salesforce/dev-scripts": "^0.9.15",
|
|
19
19
|
"@salesforce/plugin-command-reference": "^1.3.0",
|
|
20
20
|
"@salesforce/prettier-config": "^0.0.2",
|
|
21
|
-
"@salesforce/ts-sinon": "1.3.
|
|
21
|
+
"@salesforce/ts-sinon": "1.3.21",
|
|
22
22
|
"@typescript-eslint/eslint-plugin": "^4.2.0",
|
|
23
23
|
"@typescript-eslint/parser": "^4.2.0",
|
|
24
24
|
"chai": "^4.2.0",
|
|
25
25
|
"cz-conventional-changelog": "^3.2.0",
|
|
26
|
-
"eslint": "^
|
|
27
|
-
"eslint-config-prettier": "^
|
|
28
|
-
"eslint-config-salesforce": "^0.1.
|
|
29
|
-
"eslint-config-salesforce-license": "^0.1.
|
|
30
|
-
"eslint-config-salesforce-typescript": "^0.2.
|
|
26
|
+
"eslint": "^7.27.0",
|
|
27
|
+
"eslint-config-prettier": "^8.3.0",
|
|
28
|
+
"eslint-config-salesforce": "^0.1.6",
|
|
29
|
+
"eslint-config-salesforce-license": "^0.1.6",
|
|
30
|
+
"eslint-config-salesforce-typescript": "^0.2.8",
|
|
31
31
|
"eslint-plugin-header": "^3.0.0",
|
|
32
|
-
"eslint-plugin-import": "
|
|
33
|
-
"eslint-plugin-jsdoc": "^
|
|
32
|
+
"eslint-plugin-import": "2.25.2",
|
|
33
|
+
"eslint-plugin-jsdoc": "^35.1.2",
|
|
34
34
|
"eslint-plugin-prettier": "^3.1.3",
|
|
35
|
-
"husky": "^4.
|
|
36
|
-
"lint-staged": "^
|
|
37
|
-
"mocha": "^8.
|
|
35
|
+
"husky": "^4.3.8",
|
|
36
|
+
"lint-staged": "^11.0.0",
|
|
37
|
+
"mocha": "^8.4.0",
|
|
38
38
|
"nyc": "^15.1.0",
|
|
39
39
|
"prettier": "^2.0.5",
|
|
40
|
-
"pretty-quick": "^
|
|
40
|
+
"pretty-quick": "^3.1.0",
|
|
41
41
|
"shx": "0.3.3",
|
|
42
|
-
"sinon": "
|
|
43
|
-
"ts-node": "^
|
|
42
|
+
"sinon": "10.0.0",
|
|
43
|
+
"ts-node": "^10.0.0",
|
|
44
44
|
"typescript": "^4.1.3"
|
|
45
45
|
},
|
|
46
46
|
"config": {
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"access": "public"
|
|
123
123
|
},
|
|
124
124
|
"sfdx": {
|
|
125
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/
|
|
126
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/
|
|
125
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/1.1.0.crt",
|
|
126
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/1.1.0.sig"
|
|
127
127
|
}
|
|
128
128
|
}
|