@salesforce/plugin-data 0.6.10 → 0.6.11

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,17 +2,21 @@
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.11](https://github.com/salesforcecli/plugin-data/compare/v0.6.10...v0.6.11) (2022-03-25)
6
+
5
7
  ### [0.6.10](https://github.com/salesforcecli/plugin-data/compare/v0.6.9...v0.6.10) (2022-03-10)
6
8
 
7
9
  ### Bug Fixes
8
10
 
9
- - bump core and jsforce versions ([#283](https://github.com/salesforcecli/plugin-data/issues/283)) ([11908be](https://github.com/salesforcecli/plugin-data/commit/11908bedd9538aeddc1631afa99f4ae01150935d))
11
+ - bump core and jsforce
12
+ versions ([#283](https://github.com/salesforcecli/plugin-data/issues/283)) ([11908be](https://github.com/salesforcecli/plugin-data/commit/11908bedd9538aeddc1631afa99f4ae01150935d))
10
13
 
11
14
  ### [0.6.9](https://github.com/salesforcecli/plugin-data/compare/v0.6.8...v0.6.9) (2022-02-07)
12
15
 
13
16
  ### Bug Fixes
14
17
 
15
- - fix 3 data bugs ([801a7aa](https://github.com/salesforcecli/plugin-data/commit/801a7aaaae5346c8c6617ba6c8dc5ca297a86f17))
18
+ - fix 3 data
19
+ bugs ([801a7aa](https://github.com/salesforcecli/plugin-data/commit/801a7aaaae5346c8c6617ba6c8dc5ca297a86f17))
16
20
 
17
21
  ### [0.6.8](https://github.com/salesforcecli/plugin-data/compare/v0.6.7...v0.6.8) (2022-01-03)
18
22
 
@@ -28,14 +32,17 @@ All notable changes to this project will be documented in this file. See [standa
28
32
 
29
33
  ### Bug Fixes
30
34
 
31
- - adds note about non-inclusive language ([844f74a](https://github.com/salesforcecli/plugin-data/commit/844f74a5ceddb917491a519a760304fdd0b796f1))
32
- - remove "master-detail" from long desc ([67460fc](https://github.com/salesforcecli/plugin-data/commit/67460fcac2a0e2afb784a0d038760afda2239e96))
35
+ - adds note about non-inclusive
36
+ language ([844f74a](https://github.com/salesforcecli/plugin-data/commit/844f74a5ceddb917491a519a760304fdd0b796f1))
37
+ - remove "master-detail" from long
38
+ desc ([67460fc](https://github.com/salesforcecli/plugin-data/commit/67460fcac2a0e2afb784a0d038760afda2239e96))
33
39
 
34
40
  ### [0.6.4](https://github.com/salesforcecli/plugin-data/compare/v0.6.3...v0.6.4) (2021-10-21)
35
41
 
36
42
  ### Bug Fixes
37
43
 
38
- - downgrade eslint jsdoc dep ([8775d6c](https://github.com/salesforcecli/plugin-data/commit/8775d6cca6b7240b023958e282cfadbe2e16ec6e))
44
+ - downgrade eslint jsdoc
45
+ dep ([8775d6c](https://github.com/salesforcecli/plugin-data/commit/8775d6cca6b7240b023958e282cfadbe2e16ec6e))
39
46
 
40
47
  ### [0.6.3](https://github.com/salesforcecli/plugin-data/compare/v0.6.2...v0.6.3) (2021-10-12)
41
48
 
@@ -49,27 +56,39 @@ All notable changes to this project will be documented in this file. See [standa
49
56
 
50
57
  ### Features
51
58
 
52
- - @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))
53
- - added new flag for serial process ([#166](https://github.com/salesforcecli/plugin-data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/plugin-data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2))
54
- - record commands ([37f5d61](https://github.com/salesforcecli/plugin-data/commit/37f5d61f65055c76aceac85077fd484c810bd49c))
59
+ - @W-8449669@ migrate force:data:soql:
60
+ query ([#16](https://github.com/salesforcecli/plugin-data/issues/16)) ([b6820f8](https://github.com/salesforcecli/plugin-data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9))
61
+ - added new flag for serial
62
+ process ([#166](https://github.com/salesforcecli/plugin-data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/plugin-data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2))
63
+ - record
64
+ commands ([37f5d61](https://github.com/salesforcecli/plugin-data/commit/37f5d61f65055c76aceac85077fd484c810bd49c))
55
65
 
56
66
  ### Bug Fixes
57
67
 
58
- - 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))
59
- - commands ignore --usetoolingapi ([#40](https://github.com/salesforcecli/plugin-data/issues/40)) ([d787ebc](https://github.com/salesforcecli/plugin-data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce))
60
- - correct help for data commands ([#69](https://github.com/salesforcecli/plugin-data/issues/69)) ([80b601b](https://github.com/salesforcecli/plugin-data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc))
61
- - depend on 0.1.5 ([#132](https://github.com/salesforcecli/plugin-data/issues/132)) ([97c1199](https://github.com/salesforcecli/plugin-data/commit/97c119977b4749e1add714ce2a04ef2940e627f3))
62
- - dependency pruning ([#141](https://github.com/salesforcecli/plugin-data/issues/141)) ([7a8212d](https://github.com/salesforcecli/plugin-data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f))
63
- - force release ([9545abe](https://github.com/salesforcecli/plugin-data/commit/9545abea419807e84bbb758dcb735eb5cb6aa91d))
64
- - 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))
65
- - Unlerna data #(184) ([18fa280](https://github.com/salesforcecli/plugin-data/commit/18fa2809f1337a56364bd713d3336b72d6026637))
66
- - various data:record bugs ([a05ac07](https://github.com/salesforcecli/plugin-data/commit/a05ac07e7beb9d73776908beed085b7644d580fe))
68
+ - add oclif/dev
69
+ dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/plugin-data/issues/90)) ([ecbd054](https://github.com/salesforcecli/plugin-data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e))
70
+ - commands ignore
71
+ --usetoolingapi ([#40](https://github.com/salesforcecli/plugin-data/issues/40)) ([d787ebc](https://github.com/salesforcecli/plugin-data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce))
72
+ - correct help for data
73
+ commands ([#69](https://github.com/salesforcecli/plugin-data/issues/69)) ([80b601b](https://github.com/salesforcecli/plugin-data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc))
74
+ - depend on
75
+ 0.1.5 ([#132](https://github.com/salesforcecli/plugin-data/issues/132)) ([97c1199](https://github.com/salesforcecli/plugin-data/commit/97c119977b4749e1add714ce2a04ef2940e627f3))
76
+ - dependency
77
+ pruning ([#141](https://github.com/salesforcecli/plugin-data/issues/141)) ([7a8212d](https://github.com/salesforcecli/plugin-data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f))
78
+ - force
79
+ release ([9545abe](https://github.com/salesforcecli/plugin-data/commit/9545abea419807e84bbb758dcb735eb5cb6aa91d))
80
+ - parse csv as utf-8 and enable bom
81
+ parsing ([#31](https://github.com/salesforcecli/plugin-data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/plugin-data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a))
82
+ - Unlerna data #( 184) ([18fa280](https://github.com/salesforcecli/plugin-data/commit/18fa2809f1337a56364bd713d3336b72d6026637))
83
+ - various data:record
84
+ bugs ([a05ac07](https://github.com/salesforcecli/plugin-data/commit/a05ac07e7beb9d73776908beed085b7644d580fe))
67
85
 
68
86
  # [0.6.0](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.5.2...@salesforce/plugin-data@0.6.0) (2021-07-26)
69
87
 
70
88
  ### Features
71
89
 
72
- - added new flag for serial process ([#166](https://github.com/salesforcecli/data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2))
90
+ - added new flag for serial
91
+ process ([#166](https://github.com/salesforcecli/data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2))
73
92
 
74
93
  ## [0.5.2](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.5.1...@salesforce/plugin-data@0.5.2) (2021-07-08)
75
94
 
@@ -83,7 +102,8 @@ All notable changes to this project will be documented in this file. See [standa
83
102
 
84
103
  ### Bug Fixes
85
104
 
86
- - dependency pruning ([#141](https://github.com/salesforcecli/data/issues/141)) ([7a8212d](https://github.com/salesforcecli/data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f))
105
+ - dependency
106
+ pruning ([#141](https://github.com/salesforcecli/data/issues/141)) ([7a8212d](https://github.com/salesforcecli/data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f))
87
107
 
88
108
  ## [0.4.11](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.10...@salesforce/plugin-data@0.4.11) (2021-06-04)
89
109
 
@@ -93,7 +113,8 @@ All notable changes to this project will be documented in this file. See [standa
93
113
 
94
114
  ### Bug Fixes
95
115
 
96
- - depend on 0.1.5 ([#132](https://github.com/salesforcecli/data/issues/132)) ([97c1199](https://github.com/salesforcecli/data/commit/97c119977b4749e1add714ce2a04ef2940e627f3))
116
+ - depend on
117
+ 0.1.5 ([#132](https://github.com/salesforcecli/data/issues/132)) ([97c1199](https://github.com/salesforcecli/data/commit/97c119977b4749e1add714ce2a04ef2940e627f3))
97
118
 
98
119
  ## [0.4.9](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.8...@salesforce/plugin-data@0.4.9) (2021-06-02)
99
120
 
@@ -109,19 +130,22 @@ All notable changes to this project will be documented in this file. See [standa
109
130
 
110
131
  ### Bug Fixes
111
132
 
112
- - add oclif/dev dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/data/issues/90)) ([ecbd054](https://github.com/salesforcecli/data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e))
133
+ - add oclif/dev
134
+ dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/data/issues/90)) ([ecbd054](https://github.com/salesforcecli/data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e))
113
135
 
114
136
  ## [0.4.5](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.3...@salesforce/plugin-data@0.4.5) (2021-04-09)
115
137
 
116
138
  ### Bug Fixes
117
139
 
118
- - correct help for data commands ([#69](https://github.com/salesforcecli/data/issues/69)) ([80b601b](https://github.com/salesforcecli/data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc))
140
+ - correct help for data
141
+ commands ([#69](https://github.com/salesforcecli/data/issues/69)) ([80b601b](https://github.com/salesforcecli/data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc))
119
142
 
120
143
  ## [0.4.3](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.2...@salesforce/plugin-data@0.4.3) (2021-02-24)
121
144
 
122
145
  ### Bug Fixes
123
146
 
124
- - commands ignore --usetoolingapi ([#40](https://github.com/salesforcecli/data/issues/40)) ([d787ebc](https://github.com/salesforcecli/data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce))
147
+ - commands ignore
148
+ --usetoolingapi ([#40](https://github.com/salesforcecli/data/issues/40)) ([d787ebc](https://github.com/salesforcecli/data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce))
125
149
 
126
150
  ## [0.4.2](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.1...@salesforce/plugin-data@0.4.2) (2021-02-10)
127
151
 
@@ -131,13 +155,15 @@ All notable changes to this project will be documented in this file. See [standa
131
155
 
132
156
  ### Bug Fixes
133
157
 
134
- - 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))
158
+ - parse csv as utf-8 and enable bom
159
+ parsing ([#31](https://github.com/salesforcecli/data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a))
135
160
 
136
161
  # [0.4.0](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.2.5...@salesforce/plugin-data@0.4.0) (2021-02-01)
137
162
 
138
163
  ### Features
139
164
 
140
- - @W-8449669@ migrate force:data:soql:query ([#16](https://github.com/salesforcecli/data/issues/16)) ([b6820f8](https://github.com/salesforcecli/data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9))
165
+ - @W-8449669@ migrate force:data:soql:
166
+ query ([#16](https://github.com/salesforcecli/data/issues/16)) ([b6820f8](https://github.com/salesforcecli/data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9))
141
167
 
142
168
  ## [0.2.5](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.2.4...@salesforce/plugin-data@0.2.5) (2020-12-15)
143
169
 
@@ -159,7 +185,8 @@ All notable changes to this project will be documented in this file. See [standa
159
185
 
160
186
  ### Bug Fixes
161
187
 
162
- - various data:record bugs ([a05ac07](https://github.com/salesforcecli/data/commit/a05ac07e7beb9d73776908beed085b7644d580fe))
188
+ - various data:record
189
+ bugs ([a05ac07](https://github.com/salesforcecli/data/commit/a05ac07e7beb9d73776908beed085b7644d580fe))
163
190
 
164
191
  # 0.2.0 (2020-11-24)
165
192
 
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.9/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.10/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.9/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.10/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.9/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.10/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.9/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.10/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.9/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.10/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.9/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.10/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.9/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.10/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.9/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.10/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.9/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.10/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.9/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.10/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
  }