@simplysf/simply-sobject 1.4.0 → 1.4.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.
- package/README.md +45 -6
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -10,11 +10,11 @@ sf plugins install @simplysf/simply-sobject
|
|
|
10
10
|
|
|
11
11
|
## Issues
|
|
12
12
|
|
|
13
|
-
Please report any issues at https://github.com/SimplySF/simply/issues
|
|
13
|
+
Please report any issues at https://github.com/SimplySF/simply-node/issues
|
|
14
14
|
|
|
15
15
|
## Contributing
|
|
16
16
|
|
|
17
|
-
This package is part of the [`@simplysf/simply`](https://github.com/SimplySF/simply) monorepo. See the repo's [CONTRIBUTING.md](https://github.com/SimplySF/simply/blob/main/CONTRIBUTING.md) for the repo structure, how to set up and build the project, our commit conventions, and how to submit a pull request. Please also read our [Code of Conduct](https://github.com/SimplySF/simply/blob/main/CODE_OF_CONDUCT.md).
|
|
17
|
+
This package is part of the [`@simplysf/simply`](https://github.com/SimplySF/simply-node) monorepo. See the repo's [CONTRIBUTING.md](https://github.com/SimplySF/simply-node/blob/main/CONTRIBUTING.md) for the repo structure, how to set up and build the project, our commit conventions, and how to submit a pull request. Please also read our [Code of Conduct](https://github.com/SimplySF/simply-node/blob/main/CODE_OF_CONDUCT.md).
|
|
18
18
|
|
|
19
19
|
## Commands
|
|
20
20
|
|
|
@@ -24,6 +24,7 @@ This package is part of the [`@simplysf/simply`](https://github.com/SimplySF/sim
|
|
|
24
24
|
- [`sf simply sobject deduplicate`](#sf-simply-sobject-deduplicate)
|
|
25
25
|
- [`sf simply sobject history export`](#sf-simply-sobject-history-export)
|
|
26
26
|
- [`sf simply sobject history query`](#sf-simply-sobject-history-query)
|
|
27
|
+
- [`sf simply sobject history schema`](#sf-simply-sobject-history-schema)
|
|
27
28
|
|
|
28
29
|
## `sf simply sobject backup`
|
|
29
30
|
|
|
@@ -64,7 +65,7 @@ FLAG DESCRIPTIONS
|
|
|
64
65
|
The API name of the SObject to back up.
|
|
65
66
|
```
|
|
66
67
|
|
|
67
|
-
_See code: [lib/commands/simply/sobject/backup.js](https://github.com/SimplySF/simply/blob/@simplysf/simply-sobject@1.
|
|
68
|
+
_See code: [lib/commands/simply/sobject/backup.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.4.0/packages/simply-sobject/lib/commands/simply/sobject/backup.js)_
|
|
68
69
|
|
|
69
70
|
## `sf simply sobject deduplicate`
|
|
70
71
|
|
|
@@ -117,7 +118,7 @@ FLAG DESCRIPTIONS
|
|
|
117
118
|
The directory to write the generated CSV files to. Defaults to ./temp/<primaryObjectApiName>.
|
|
118
119
|
```
|
|
119
120
|
|
|
120
|
-
_See code: [lib/commands/simply/sobject/deduplicate.js](https://github.com/SimplySF/simply/blob/@simplysf/simply-sobject@1.
|
|
121
|
+
_See code: [lib/commands/simply/sobject/deduplicate.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.4.0/packages/simply-sobject/lib/commands/simply/sobject/deduplicate.js)_
|
|
121
122
|
|
|
122
123
|
## `sf simply sobject history export`
|
|
123
124
|
|
|
@@ -171,7 +172,7 @@ FLAG DESCRIPTIONS
|
|
|
171
172
|
The start of the date range to export history for, inclusive.
|
|
172
173
|
```
|
|
173
174
|
|
|
174
|
-
_See code: [lib/commands/simply/sobject/history/export.js](https://github.com/SimplySF/simply/blob/@simplysf/simply-sobject@1.
|
|
175
|
+
_See code: [lib/commands/simply/sobject/history/export.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.4.0/packages/simply-sobject/lib/commands/simply/sobject/history/export.js)_
|
|
175
176
|
|
|
176
177
|
## `sf simply sobject history query`
|
|
177
178
|
|
|
@@ -227,7 +228,45 @@ FLAG DESCRIPTIONS
|
|
|
227
228
|
The API name of the SObject to query field history for (e.g. Account or Custom_Object__c).
|
|
228
229
|
```
|
|
229
230
|
|
|
230
|
-
_See code: [lib/commands/simply/sobject/history/query.js](https://github.com/SimplySF/simply/blob/@simplysf/simply-sobject@1.
|
|
231
|
+
_See code: [lib/commands/simply/sobject/history/query.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.4.0/packages/simply-sobject/lib/commands/simply/sobject/history/query.js)_
|
|
232
|
+
|
|
233
|
+
## `sf simply sobject history schema`
|
|
234
|
+
|
|
235
|
+
Report on which objects and fields have field history tracking enabled.
|
|
236
|
+
|
|
237
|
+
```
|
|
238
|
+
USAGE
|
|
239
|
+
$ sf simply sobject history schema -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-d <value>]
|
|
240
|
+
|
|
241
|
+
FLAGS
|
|
242
|
+
-d, --output-dir=<value> Output directory
|
|
243
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
244
|
+
configuration variable is already set.
|
|
245
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
246
|
+
|
|
247
|
+
GLOBAL FLAGS
|
|
248
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
249
|
+
--json Format output as json.
|
|
250
|
+
|
|
251
|
+
DESCRIPTION
|
|
252
|
+
Report on which objects and fields have field history tracking enabled.
|
|
253
|
+
|
|
254
|
+
Identifies every object with field history tracking enabled, and every tracked field on each, resolving the
|
|
255
|
+
managed/unlocked package each field belongs to, and writes the results to a timestamped CSV file and a browsable HTML
|
|
256
|
+
report.
|
|
257
|
+
|
|
258
|
+
EXAMPLES
|
|
259
|
+
$ sf simply sobject history schema --target-org myOrg
|
|
260
|
+
|
|
261
|
+
$ sf simply sobject history schema --target-org myOrg --output-dir reports
|
|
262
|
+
|
|
263
|
+
FLAG DESCRIPTIONS
|
|
264
|
+
-d, --output-dir=<value> Output directory
|
|
265
|
+
|
|
266
|
+
The directory to save the generated CSV and HTML report files to. Defaults to the current directory.
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
_See code: [lib/commands/simply/sobject/history/schema.js](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.4.0/packages/simply-sobject/lib/commands/simply/sobject/history/schema.js)_
|
|
231
270
|
<!-- commandsstop -->
|
|
232
271
|
|
|
233
272
|
## Configuration Files
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply-sobject",
|
|
3
3
|
"description": "Utilities for working with SObjects",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.2",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
|
-
"homepage": "https://github.com/SimplySF/simply",
|
|
7
|
-
"bugs": "https://github.com/SimplySF/simply/issues",
|
|
6
|
+
"homepage": "https://github.com/SimplySF/simply-node",
|
|
7
|
+
"bugs": "https://github.com/SimplySF/simply-node/issues",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/SimplySF/simply",
|
|
10
|
+
"url": "https://github.com/SimplySF/simply-node",
|
|
11
11
|
"directory": "packages/simply-sobject"
|
|
12
12
|
},
|
|
13
13
|
"engines": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@salesforce/core": "^8.30.0",
|
|
66
66
|
"@salesforce/kit": "^3.2.6",
|
|
67
67
|
"@salesforce/sf-plugins-core": "^12.2.16",
|
|
68
|
-
"@simplysf/simply-core": "^1.1.
|
|
68
|
+
"@simplysf/simply-core": "^1.1.7",
|
|
69
69
|
"handlebars": "^4.7.9",
|
|
70
70
|
"zod": "^4.1.12"
|
|
71
71
|
},
|
|
@@ -213,5 +213,5 @@
|
|
|
213
213
|
"output": []
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
|
-
"gitHead": "
|
|
216
|
+
"gitHead": "e87938c1f4074def66ef1710aa0cb491054ee000"
|
|
217
217
|
}
|