@salesforce/plugin-data 0.6.9 → 0.6.12

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,11 +2,23 @@
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
+ ### [0.6.12](https://github.com/salesforcecli/plugin-data/compare/v0.6.11...v0.6.12) (2022-03-30)
6
+
7
+ ### [0.6.11](https://github.com/salesforcecli/plugin-data/compare/v0.6.10...v0.6.11) (2022-03-25)
8
+
9
+ ### [0.6.10](https://github.com/salesforcecli/plugin-data/compare/v0.6.9...v0.6.10) (2022-03-10)
10
+
11
+ ### Bug Fixes
12
+
13
+ - bump core and jsforce
14
+ versions ([#283](https://github.com/salesforcecli/plugin-data/issues/283)) ([11908be](https://github.com/salesforcecli/plugin-data/commit/11908bedd9538aeddc1631afa99f4ae01150935d))
15
+
5
16
  ### [0.6.9](https://github.com/salesforcecli/plugin-data/compare/v0.6.8...v0.6.9) (2022-02-07)
6
17
 
7
18
  ### Bug Fixes
8
19
 
9
- - fix 3 data bugs ([801a7aa](https://github.com/salesforcecli/plugin-data/commit/801a7aaaae5346c8c6617ba6c8dc5ca297a86f17))
20
+ - fix 3 data
21
+ bugs ([801a7aa](https://github.com/salesforcecli/plugin-data/commit/801a7aaaae5346c8c6617ba6c8dc5ca297a86f17))
10
22
 
11
23
  ### [0.6.8](https://github.com/salesforcecli/plugin-data/compare/v0.6.7...v0.6.8) (2022-01-03)
12
24
 
@@ -22,14 +34,17 @@ All notable changes to this project will be documented in this file. See [standa
22
34
 
23
35
  ### Bug Fixes
24
36
 
25
- - adds note about non-inclusive language ([844f74a](https://github.com/salesforcecli/plugin-data/commit/844f74a5ceddb917491a519a760304fdd0b796f1))
26
- - remove "master-detail" from long desc ([67460fc](https://github.com/salesforcecli/plugin-data/commit/67460fcac2a0e2afb784a0d038760afda2239e96))
37
+ - adds note about non-inclusive
38
+ language ([844f74a](https://github.com/salesforcecli/plugin-data/commit/844f74a5ceddb917491a519a760304fdd0b796f1))
39
+ - remove "master-detail" from long
40
+ desc ([67460fc](https://github.com/salesforcecli/plugin-data/commit/67460fcac2a0e2afb784a0d038760afda2239e96))
27
41
 
28
42
  ### [0.6.4](https://github.com/salesforcecli/plugin-data/compare/v0.6.3...v0.6.4) (2021-10-21)
29
43
 
30
44
  ### Bug Fixes
31
45
 
32
- - downgrade eslint jsdoc dep ([8775d6c](https://github.com/salesforcecli/plugin-data/commit/8775d6cca6b7240b023958e282cfadbe2e16ec6e))
46
+ - downgrade eslint jsdoc
47
+ dep ([8775d6c](https://github.com/salesforcecli/plugin-data/commit/8775d6cca6b7240b023958e282cfadbe2e16ec6e))
33
48
 
34
49
  ### [0.6.3](https://github.com/salesforcecli/plugin-data/compare/v0.6.2...v0.6.3) (2021-10-12)
35
50
 
@@ -43,27 +58,39 @@ All notable changes to this project will be documented in this file. See [standa
43
58
 
44
59
  ### Features
45
60
 
46
- - @W-8449669@ migrate force:data:soql:query ([#16](https://github.com/salesforcecli/plugin-data/issues/16)) ([b6820f8](https://github.com/salesforcecli/plugin-data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9))
47
- - added new flag for serial process ([#166](https://github.com/salesforcecli/plugin-data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/plugin-data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2))
48
- - record commands ([37f5d61](https://github.com/salesforcecli/plugin-data/commit/37f5d61f65055c76aceac85077fd484c810bd49c))
61
+ - @W-8449669@ migrate force:data:soql:
62
+ query ([#16](https://github.com/salesforcecli/plugin-data/issues/16)) ([b6820f8](https://github.com/salesforcecli/plugin-data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9))
63
+ - added new flag for serial
64
+ process ([#166](https://github.com/salesforcecli/plugin-data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/plugin-data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2))
65
+ - record
66
+ commands ([37f5d61](https://github.com/salesforcecli/plugin-data/commit/37f5d61f65055c76aceac85077fd484c810bd49c))
49
67
 
50
68
  ### Bug Fixes
51
69
 
52
- - add oclif/dev dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/plugin-data/issues/90)) ([ecbd054](https://github.com/salesforcecli/plugin-data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e))
53
- - commands ignore --usetoolingapi ([#40](https://github.com/salesforcecli/plugin-data/issues/40)) ([d787ebc](https://github.com/salesforcecli/plugin-data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce))
54
- - correct help for data commands ([#69](https://github.com/salesforcecli/plugin-data/issues/69)) ([80b601b](https://github.com/salesforcecli/plugin-data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc))
55
- - depend on 0.1.5 ([#132](https://github.com/salesforcecli/plugin-data/issues/132)) ([97c1199](https://github.com/salesforcecli/plugin-data/commit/97c119977b4749e1add714ce2a04ef2940e627f3))
56
- - dependency pruning ([#141](https://github.com/salesforcecli/plugin-data/issues/141)) ([7a8212d](https://github.com/salesforcecli/plugin-data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f))
57
- - force release ([9545abe](https://github.com/salesforcecli/plugin-data/commit/9545abea419807e84bbb758dcb735eb5cb6aa91d))
58
- - parse csv as utf-8 and enable bom parsing ([#31](https://github.com/salesforcecli/plugin-data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/plugin-data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a))
59
- - Unlerna data #(184) ([18fa280](https://github.com/salesforcecli/plugin-data/commit/18fa2809f1337a56364bd713d3336b72d6026637))
60
- - various data:record bugs ([a05ac07](https://github.com/salesforcecli/plugin-data/commit/a05ac07e7beb9d73776908beed085b7644d580fe))
70
+ - add oclif/dev
71
+ dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/plugin-data/issues/90)) ([ecbd054](https://github.com/salesforcecli/plugin-data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e))
72
+ - commands ignore
73
+ --usetoolingapi ([#40](https://github.com/salesforcecli/plugin-data/issues/40)) ([d787ebc](https://github.com/salesforcecli/plugin-data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce))
74
+ - correct help for data
75
+ commands ([#69](https://github.com/salesforcecli/plugin-data/issues/69)) ([80b601b](https://github.com/salesforcecli/plugin-data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc))
76
+ - depend on
77
+ 0.1.5 ([#132](https://github.com/salesforcecli/plugin-data/issues/132)) ([97c1199](https://github.com/salesforcecli/plugin-data/commit/97c119977b4749e1add714ce2a04ef2940e627f3))
78
+ - dependency
79
+ pruning ([#141](https://github.com/salesforcecli/plugin-data/issues/141)) ([7a8212d](https://github.com/salesforcecli/plugin-data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f))
80
+ - force
81
+ release ([9545abe](https://github.com/salesforcecli/plugin-data/commit/9545abea419807e84bbb758dcb735eb5cb6aa91d))
82
+ - parse csv as utf-8 and enable bom
83
+ parsing ([#31](https://github.com/salesforcecli/plugin-data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/plugin-data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a))
84
+ - Unlerna data #( 184) ([18fa280](https://github.com/salesforcecli/plugin-data/commit/18fa2809f1337a56364bd713d3336b72d6026637))
85
+ - various data:record
86
+ bugs ([a05ac07](https://github.com/salesforcecli/plugin-data/commit/a05ac07e7beb9d73776908beed085b7644d580fe))
61
87
 
62
88
  # [0.6.0](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.5.2...@salesforce/plugin-data@0.6.0) (2021-07-26)
63
89
 
64
90
  ### Features
65
91
 
66
- - added new flag for serial process ([#166](https://github.com/salesforcecli/data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2))
92
+ - added new flag for serial
93
+ process ([#166](https://github.com/salesforcecli/data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2))
67
94
 
68
95
  ## [0.5.2](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.5.1...@salesforce/plugin-data@0.5.2) (2021-07-08)
69
96
 
@@ -77,7 +104,8 @@ All notable changes to this project will be documented in this file. See [standa
77
104
 
78
105
  ### Bug Fixes
79
106
 
80
- - dependency pruning ([#141](https://github.com/salesforcecli/data/issues/141)) ([7a8212d](https://github.com/salesforcecli/data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f))
107
+ - dependency
108
+ pruning ([#141](https://github.com/salesforcecli/data/issues/141)) ([7a8212d](https://github.com/salesforcecli/data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f))
81
109
 
82
110
  ## [0.4.11](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.10...@salesforce/plugin-data@0.4.11) (2021-06-04)
83
111
 
@@ -87,7 +115,8 @@ All notable changes to this project will be documented in this file. See [standa
87
115
 
88
116
  ### Bug Fixes
89
117
 
90
- - depend on 0.1.5 ([#132](https://github.com/salesforcecli/data/issues/132)) ([97c1199](https://github.com/salesforcecli/data/commit/97c119977b4749e1add714ce2a04ef2940e627f3))
118
+ - depend on
119
+ 0.1.5 ([#132](https://github.com/salesforcecli/data/issues/132)) ([97c1199](https://github.com/salesforcecli/data/commit/97c119977b4749e1add714ce2a04ef2940e627f3))
91
120
 
92
121
  ## [0.4.9](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.8...@salesforce/plugin-data@0.4.9) (2021-06-02)
93
122
 
@@ -103,19 +132,22 @@ All notable changes to this project will be documented in this file. See [standa
103
132
 
104
133
  ### Bug Fixes
105
134
 
106
- - add oclif/dev dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/data/issues/90)) ([ecbd054](https://github.com/salesforcecli/data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e))
135
+ - add oclif/dev
136
+ dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/data/issues/90)) ([ecbd054](https://github.com/salesforcecli/data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e))
107
137
 
108
138
  ## [0.4.5](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.3...@salesforce/plugin-data@0.4.5) (2021-04-09)
109
139
 
110
140
  ### Bug Fixes
111
141
 
112
- - correct help for data commands ([#69](https://github.com/salesforcecli/data/issues/69)) ([80b601b](https://github.com/salesforcecli/data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc))
142
+ - correct help for data
143
+ commands ([#69](https://github.com/salesforcecli/data/issues/69)) ([80b601b](https://github.com/salesforcecli/data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc))
113
144
 
114
145
  ## [0.4.3](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.2...@salesforce/plugin-data@0.4.3) (2021-02-24)
115
146
 
116
147
  ### Bug Fixes
117
148
 
118
- - commands ignore --usetoolingapi ([#40](https://github.com/salesforcecli/data/issues/40)) ([d787ebc](https://github.com/salesforcecli/data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce))
149
+ - commands ignore
150
+ --usetoolingapi ([#40](https://github.com/salesforcecli/data/issues/40)) ([d787ebc](https://github.com/salesforcecli/data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce))
119
151
 
120
152
  ## [0.4.2](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.1...@salesforce/plugin-data@0.4.2) (2021-02-10)
121
153
 
@@ -125,13 +157,15 @@ All notable changes to this project will be documented in this file. See [standa
125
157
 
126
158
  ### Bug Fixes
127
159
 
128
- - parse csv as utf-8 and enable bom parsing ([#31](https://github.com/salesforcecli/data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a))
160
+ - parse csv as utf-8 and enable bom
161
+ parsing ([#31](https://github.com/salesforcecli/data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a))
129
162
 
130
163
  # [0.4.0](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.2.5...@salesforce/plugin-data@0.4.0) (2021-02-01)
131
164
 
132
165
  ### Features
133
166
 
134
- - @W-8449669@ migrate force:data:soql:query ([#16](https://github.com/salesforcecli/data/issues/16)) ([b6820f8](https://github.com/salesforcecli/data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9))
167
+ - @W-8449669@ migrate force:data:soql:
168
+ query ([#16](https://github.com/salesforcecli/data/issues/16)) ([b6820f8](https://github.com/salesforcecli/data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9))
135
169
 
136
170
  ## [0.2.5](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.2.4...@salesforce/plugin-data@0.2.5) (2020-12-15)
137
171
 
@@ -153,7 +187,8 @@ All notable changes to this project will be documented in this file. See [standa
153
187
 
154
188
  ### Bug Fixes
155
189
 
156
- - various data:record bugs ([a05ac07](https://github.com/salesforcecli/data/commit/a05ac07e7beb9d73776908beed085b7644d580fe))
190
+ - various data:record
191
+ bugs ([a05ac07](https://github.com/salesforcecli/data/commit/a05ac07e7beb9d73776908beed085b7644d580fe))
157
192
 
158
193
  # 0.2.0 (2020-11-24)
159
194
 
package/README.md CHANGED
@@ -4,9 +4,13 @@
4
4
 
5
5
  `data` commands for Salesforce CLI.
6
6
 
7
- This plugin is bundled with the [Salesforce CLI](https://developer.salesforce.com/tools/sfdxcli). For more information on the CLI, read the [getting started guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm).
7
+ This plugin is bundled with the [Salesforce CLI](https://developer.salesforce.com/tools/sfdxcli). For more information
8
+ on the CLI, read
9
+ the [getting started guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm)
10
+ .
8
11
 
9
- We always recommend using the latest version of these commands bundled with the CLI, however, you can install a specific version or tag if needed.
12
+ We always recommend using the latest version of these commands bundled with the CLI, however, you can install a specific
13
+ version or tag if needed.
10
14
 
11
15
  ## Install
12
16
 
@@ -21,21 +25,22 @@ Please report any issues at https://github.com/forcedotcom/cli/issues
21
25
  ## Contributing
22
26
 
23
27
  1. Please read our [Code of Conduct](CODE_OF_CONDUCT.md)
24
- 2. Create a new issue before starting your project so that we can keep track of
25
- what you are trying to add/fix. That way, we can also offer suggestions or
26
- let you know if there is already an effort in progress.
28
+ 2. Create a new issue before starting your project so that we can keep track of what you are trying to add/fix. That
29
+ way, we can also offer suggestions or let you know if there is already an effort in progress.
27
30
  3. Fork this repository.
28
31
  4. [Build the plugin locally](#build)
29
- 5. Create a _topic_ branch in your fork. Note, this step is recommended but technically not required if contributing using a fork.
32
+ 5. Create a _topic_ branch in your fork. Note, this step is recommended but technically not required if contributing
33
+ using a fork.
30
34
  6. Edit the code in your fork.
31
- 7. Write appropriate tests for your changes. Try to achieve at least 95% code coverage on any new code. No pull request will be accepted without unit tests.
35
+ 7. Write appropriate tests for your changes. Try to achieve at least 95% code coverage on any new code. No pull request
36
+ will be accepted without unit tests.
32
37
  8. Sign CLA (see [CLA](#cla) below).
33
38
  9. Send us a pull request when you are done. We'll review your code, suggest any needed changes, and merge it in.
34
39
 
35
40
  ### CLA
36
41
 
37
- External contributors will be required to sign a Contributor's License
38
- Agreement. You can do so by going to https://cla.salesforce.com/sign-cla.
42
+ External contributors will be required to sign a Contributor's License Agreement. You can do so by going
43
+ to https://cla.salesforce.com/sign-cla.
39
44
 
40
45
  ### Build
41
46
 
@@ -57,7 +62,8 @@ To use your plugin, run using the local `./bin/run` or `./bin/run.cmd` file.
57
62
  ./bin/run force:data
58
63
  ```
59
64
 
60
- There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be useful to link the plugin to do some additional testing or run your commands from anywhere on your machine.
65
+ There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be
66
+ useful to link the plugin to do some additional testing or run your commands from anywhere on your machine.
61
67
 
62
68
  ```bash
63
69
  # Link your plugin to the sfdx cli
@@ -123,7 +129,7 @@ EXAMPLES
123
129
  sfdx force:data:bulk:delete -s MyObject__c -f ./path/to/file.csv
124
130
  ```
125
131
 
126
- _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/bulk/delete.ts)_
132
+ _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.11/src/commands/force/data/bulk/delete.ts)_
127
133
 
128
134
  ## `sfdx force:data:bulk:status -i <string> [-b <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
129
135
 
@@ -162,7 +168,7 @@ EXAMPLES
162
168
  sfdx force:data:bulk:status -i 750xx000000005sAAA -b 751xx000000005nAAA
163
169
  ```
164
170
 
165
- _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/bulk/status.ts)_
171
+ _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.11/src/commands/force/data/bulk/status.ts)_
166
172
 
167
173
  ## `sfdx force:data:bulk:upsert -i <string> -f <filepath> -s <string> [-w <minutes>] [-r] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
168
174
 
@@ -215,7 +221,7 @@ EXAMPLES
215
221
  sfdx force:data:bulk:upsert -s MyObject__c -f ./path/to/file.csv -i Id -w 2
216
222
  ```
217
223
 
218
- _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/bulk/upsert.ts)_
224
+ _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.11/src/commands/force/data/bulk/upsert.ts)_
219
225
 
220
226
  ## `sfdx force:data:record:create -s <string> -v <string> [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
221
227
 
@@ -265,7 +271,7 @@ EXAMPLES
265
271
  sfdx force:data:record:create -s Account -v "Name=Acme" --perflog --json
266
272
  ```
267
273
 
268
- _See code: [src/commands/force/data/record/create.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/record/create.ts)_
274
+ _See code: [src/commands/force/data/record/create.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.11/src/commands/force/data/record/create.ts)_
269
275
 
270
276
  ## `sfdx force:data:record:delete -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
271
277
 
@@ -316,7 +322,7 @@ EXAMPLES
316
322
  sfdx force:data:record:delete -t -s TraceFlag -i 7tf170000009cU6AAI --perflog --json
317
323
  ```
318
324
 
319
- _See code: [src/commands/force/data/record/delete.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/record/delete.ts)_
325
+ _See code: [src/commands/force/data/record/delete.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.11/src/commands/force/data/record/delete.ts)_
320
326
 
321
327
  ## `sfdx force:data:record:get -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
322
328
 
@@ -368,7 +374,7 @@ EXAMPLES
368
374
  sfdx force:data:record:get -t -s TraceFlag -i 7tf170000009cUBAAY --perflog --json
369
375
  ```
370
376
 
371
- _See code: [src/commands/force/data/record/get.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/record/get.ts)_
377
+ _See code: [src/commands/force/data/record/get.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.11/src/commands/force/data/record/get.ts)_
372
378
 
373
379
  ## `sfdx force:data:record:update -s <string> -v <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
374
380
 
@@ -421,7 +427,7 @@ EXAMPLES
421
427
  sfdx force:data:record:update -s Account -i 001D000000Kv3dl -v "Name=NewAcme" --perflog --json
422
428
  ```
423
429
 
424
- _See code: [src/commands/force/data/record/update.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/record/update.ts)_
430
+ _See code: [src/commands/force/data/record/update.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.11/src/commands/force/data/record/update.ts)_
425
431
 
426
432
  ## `sfdx force:data:soql:query -q <string> [-t] [-r human|csv|json] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
427
433
 
@@ -466,7 +472,7 @@ EXAMPLES
466
472
  sfdx force:data:soql:query -q "SELECT Name FROM ApexTrigger" -t
467
473
  ```
468
474
 
469
- _See code: [src/commands/force/data/soql/query.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/soql/query.ts)_
475
+ _See code: [src/commands/force/data/soql/query.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.11/src/commands/force/data/soql/query.ts)_
470
476
 
471
477
  ## `sfdx force:data:tree:export -q <string> [-p] [-x <string>] [-d <directory>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
472
478
 
@@ -511,7 +517,7 @@ EXAMPLES
511
517
  sfdx force:data:tree:export -q <path to file containing soql query> -x export-demo -d /tmp/sfdx-out -p
512
518
  ```
513
519
 
514
- _See code: [src/commands/force/data/tree/export.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/tree/export.ts)_
520
+ _See code: [src/commands/force/data/tree/export.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.11/src/commands/force/data/tree/export.ts)_
515
521
 
516
522
  ## `sfdx force:data:tree:import [-f <array> | -p <filepath>] [--confighelp] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
517
523
 
@@ -562,6 +568,6 @@ EXAMPLES
562
568
  sfdx force:data:tree:import -p Account-Contact-plan.json -u me@my.org
563
569
  ```
564
570
 
565
- _See code: [src/commands/force/data/tree/import.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/tree/import.ts)_
571
+ _See code: [src/commands/force/data/tree/import.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.11/src/commands/force/data/tree/import.ts)_
566
572
 
567
573
  <!-- commandsstop -->
@@ -1,6 +1,6 @@
1
1
  import { Org } from '@salesforce/core';
2
- import { AnyJson } from '@salesforce/ts-types';
3
2
  import { UX } from '@salesforce/command';
3
+ import { DataPlanPart, SObjectTreeFileContents } from '../../../dataSoqlQueryTypes';
4
4
  export interface ExportConfig {
5
5
  query: string;
6
6
  outputDir?: string;
@@ -15,7 +15,7 @@ export declare class ExportApi {
15
15
  private readonly ux;
16
16
  private logger;
17
17
  private objectTypeRegistry;
18
- private referenceRegistry;
18
+ private refFromIdByType;
19
19
  private typeRefIndexes;
20
20
  private config;
21
21
  constructor(org: Org, ux: UX);
@@ -25,7 +25,7 @@ export declare class ExportApi {
25
25
  *
26
26
  * @param config
27
27
  */
28
- export(config: ExportConfig): Promise<AnyJson>;
28
+ export(config: ExportConfig): Promise<SObjectTreeFileContents | DataPlanPart[]>;
29
29
  /**
30
30
  * Ensures a valid query is defined in the export configuration,
31
31
  * which can be either a soql query or a path to a file containing
@@ -36,8 +36,11 @@ export declare class ExportApi {
36
36
  private validate;
37
37
  private setupOutputDirectory;
38
38
  private processQueryResults;
39
+ /**
40
+ * Register object types and type hierarchy for plan generation
41
+ **/
39
42
  private recordObjectTypes;
40
- private processRecordList;
43
+ private queryResultsToTree;
41
44
  private processRecords;
42
45
  private incrementTypeRefIndex;
43
46
  private processRecordAttributes;
@@ -50,6 +53,11 @@ export declare class ExportApi {
50
53
  private isRelationshipWithMetadata;
51
54
  private getRelatedTo;
52
55
  private getRelatedToWithMetadata;
56
+ /**
57
+ * Register object type's id to reference mapping
58
+ *
59
+ * @param refId like '@AccountRef1'
60
+ * */
53
61
  private saveRecordRef;
54
62
  /**
55
63
  * Walk the final data set and split out into files. The main queried
@@ -65,5 +73,6 @@ export declare class ExportApi {
65
73
  */
66
74
  private finalApplyRefs;
67
75
  private countRecords;
76
+ private getPrefixedFileName;
68
77
  private writeDataFileSync;
69
78
  }