@salesforce/plugin-data-seeding 1.1.51 → 1.1.53
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 +4 -4
- package/npm-shrinkwrap.json +361 -808
- package/oclif.lock +184 -509
- package/oclif.manifest.json +57 -57
- package/package.json +8 -8
package/oclif.manifest.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"data-seeding:
|
|
3
|
+
"data-seeding:generate": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "This command
|
|
6
|
+
"description": "This command uses AI to generate synthetic (or \"fake\") data that has a similar format to selected data in a source org. The command uses a JSON configuration file to define the characteristics of the synthetic data. For example, the configuration file might specify the number of records to generate for one or more Salesforce objects, along with the subset of fields to include. Once generated, the data is automatically loaded into the specified target org. You must be authenticated to both the source and target orgs before running this command.\n\nBy default, this command runs synchronously and outputs the job ID, along with a running status of each execution phase, such as querying the source org or generating the data. If you prefer, you can run the command asynchronously by specifying the --async flag so that the control of the terminal is immediately returned to you. Then use the job ID to run the \"data-seeding generate report\" command to view the status.",
|
|
7
7
|
"examples": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
8
|
+
"Generate synthetic data similar to existing data in the org with alias \"mySourceOrg\" then load it into the org with alias \"myTargetOrg\"; use the specified config file to determine the format of the generated data:\n<%= config.bin %> <%= command.id %> --source-org mySourceOrg --target-org myTargetOrg --config-file ./config/seed-config.json",
|
|
9
|
+
"Generate synthetic data using org usernames and run the command asynchronously:\n<%= config.bin %> <%= command.id %> --source-org source@org.com\" --target-org target@org.com\" --config-file ./config/seed-config.json --async",
|
|
10
|
+
"Generate synthetic data using org aliases; if after 5 minutes the command hasn't finished, it completes asynchronously:\n<%= config.bin %> <%= command.id %> --source-org source@org.com\" --target-org target@org.com\" --config-file ./config/seed-config.json --wait 5"
|
|
11
11
|
],
|
|
12
12
|
"flags": {
|
|
13
13
|
"json": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"name": "target-org",
|
|
31
31
|
"noCacheDefault": true,
|
|
32
32
|
"required": true,
|
|
33
|
-
"summary": "Username or alias of the target org into which the
|
|
33
|
+
"summary": "Username or alias of the target org into which the generated data will be loaded.",
|
|
34
34
|
"hasDynamicHelp": true,
|
|
35
35
|
"multiple": false,
|
|
36
36
|
"type": "option"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"name": "source-org",
|
|
41
41
|
"noCacheDefault": true,
|
|
42
42
|
"required": true,
|
|
43
|
-
"summary": "Username or alias of the source org that contains the data
|
|
43
|
+
"summary": "Username or alias of the source org that contains the data that AI will mimic.",
|
|
44
44
|
"hasDynamicHelp": true,
|
|
45
45
|
"multiple": false,
|
|
46
46
|
"type": "option"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"char": "f",
|
|
50
50
|
"name": "config-file",
|
|
51
51
|
"required": true,
|
|
52
|
-
"summary": "Path to the data
|
|
52
|
+
"summary": "Path to the data seeding JSON configuration file.",
|
|
53
53
|
"hasDynamicHelp": false,
|
|
54
54
|
"multiple": false,
|
|
55
55
|
"type": "option"
|
|
@@ -78,34 +78,34 @@
|
|
|
78
78
|
},
|
|
79
79
|
"hasDynamicHelp": true,
|
|
80
80
|
"hiddenAliases": [],
|
|
81
|
-
"id": "data-seeding:
|
|
81
|
+
"id": "data-seeding:generate",
|
|
82
82
|
"pluginAlias": "@salesforce/plugin-data-seeding",
|
|
83
83
|
"pluginName": "@salesforce/plugin-data-seeding",
|
|
84
84
|
"pluginType": "core",
|
|
85
85
|
"strict": true,
|
|
86
|
-
"summary": "
|
|
86
|
+
"summary": "Generate synthetic org data that mimics existing data in a source org, and then load it into a separate target org.",
|
|
87
87
|
"enableJsonFlag": true,
|
|
88
88
|
"isESM": true,
|
|
89
89
|
"relativePath": [
|
|
90
90
|
"lib",
|
|
91
91
|
"commands",
|
|
92
92
|
"data-seeding",
|
|
93
|
-
"
|
|
93
|
+
"generate",
|
|
94
94
|
"index.js"
|
|
95
95
|
],
|
|
96
96
|
"aliasPermutations": [],
|
|
97
97
|
"permutations": [
|
|
98
|
-
"data-seeding:
|
|
99
|
-
"
|
|
98
|
+
"data-seeding:generate",
|
|
99
|
+
"generate:data-seeding"
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
|
-
"data-seeding:
|
|
102
|
+
"data-seeding:generate:report": {
|
|
103
103
|
"aliases": [],
|
|
104
104
|
"args": {},
|
|
105
|
-
"description": "This command displays the status of a previously initiated or completed execution of the \"data-seeding
|
|
105
|
+
"description": "This command displays the status of a previously initiated or completed execution of the \"data-seeding generate\" command. Run this command by either passing it the job ID returned by \"data-seeding generate\", or use the --use-most-recent flag to view the status of the most recently run \"data-seeding generate\" command.",
|
|
106
106
|
"examples": [
|
|
107
|
-
"Display the status of a specific execution of the \"data-seeding
|
|
108
|
-
"Display the status of the most recently run \"data-seeding
|
|
107
|
+
"Display the status of a specific execution of the \"data-seeding generate\" command:\n<%= config.bin %> <%= command.id %> --job-id 1234-5678-AAAA-BBBB",
|
|
108
|
+
"Display the status of the most recently run \"data-seeding generate\" command:\n<%= config.bin %> <%= command.id %> --use-most-recent"
|
|
109
109
|
],
|
|
110
110
|
"flags": {
|
|
111
111
|
"json": {
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"job-id": {
|
|
127
127
|
"char": "i",
|
|
128
128
|
"name": "job-id",
|
|
129
|
-
"summary": "ID of a specific execution of the \"data-seeding
|
|
129
|
+
"summary": "ID of a specific execution of the \"data-seeding generate\" command.",
|
|
130
130
|
"hasDynamicHelp": false,
|
|
131
131
|
"multiple": false,
|
|
132
132
|
"type": "option"
|
|
@@ -134,46 +134,46 @@
|
|
|
134
134
|
"use-most-recent": {
|
|
135
135
|
"char": "r",
|
|
136
136
|
"name": "use-most-recent",
|
|
137
|
-
"summary": "View the status of the most recently run \"data-seeding
|
|
137
|
+
"summary": "View the status of the most recently run \"data-seeding generate\" command.",
|
|
138
138
|
"allowNo": false,
|
|
139
139
|
"type": "boolean"
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
142
|
"hasDynamicHelp": false,
|
|
143
143
|
"hiddenAliases": [],
|
|
144
|
-
"id": "data-seeding:
|
|
144
|
+
"id": "data-seeding:generate:report",
|
|
145
145
|
"pluginAlias": "@salesforce/plugin-data-seeding",
|
|
146
146
|
"pluginName": "@salesforce/plugin-data-seeding",
|
|
147
147
|
"pluginType": "core",
|
|
148
148
|
"strict": true,
|
|
149
|
-
"summary": "Display the status of a data-seeding
|
|
149
|
+
"summary": "Display the status of a data-seeding generate job.",
|
|
150
150
|
"enableJsonFlag": true,
|
|
151
151
|
"isESM": true,
|
|
152
152
|
"relativePath": [
|
|
153
153
|
"lib",
|
|
154
154
|
"commands",
|
|
155
155
|
"data-seeding",
|
|
156
|
-
"
|
|
156
|
+
"generate",
|
|
157
157
|
"report.js"
|
|
158
158
|
],
|
|
159
159
|
"aliasPermutations": [],
|
|
160
160
|
"permutations": [
|
|
161
|
-
"data-seeding:
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"data-seeding:report:
|
|
165
|
-
"report:data-seeding:
|
|
166
|
-
"report:
|
|
161
|
+
"data-seeding:generate:report",
|
|
162
|
+
"generate:data-seeding:report",
|
|
163
|
+
"generate:report:data-seeding",
|
|
164
|
+
"data-seeding:report:generate",
|
|
165
|
+
"report:data-seeding:generate",
|
|
166
|
+
"report:generate:data-seeding"
|
|
167
167
|
]
|
|
168
168
|
},
|
|
169
|
-
"data-seeding:
|
|
169
|
+
"data-seeding:migrate": {
|
|
170
170
|
"aliases": [],
|
|
171
171
|
"args": {},
|
|
172
|
-
"description": "This command
|
|
172
|
+
"description": "This command migrates selected data from a source org and loads it into a target org. The command uses a JSON configuration file that defines the characteristics of the data. For example, the configuration file might specify a number of records from one or more Salesforce objects to migrate, along with the subset of fields to include. You must be authenticated to both the source and target orgs before running this command.\n\nBy default, this command runs synchronously and outputs a job ID along with a running status of each execution phase, such as querying the source org or loading into the target. If you prefer, you can run the command asynchronously by specifying the --async flag so that the control of the terminal is immediately returned to you. Then use the job ID to run the \"data-seeding migrate report\" command to view the status.",
|
|
173
173
|
"examples": [
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
174
|
+
"Migrate data from the org with alias \"mySourceOrg\" to the org with alias \"myTargetOrg\"; use the specified configuration file to determine the data to migrate:\n<%= config.bin %> <%= command.id %> --source-org mySourceOrg --target-org myTargetOrg --config-file ./config/data-seed.json",
|
|
175
|
+
"Migrate data by specifying usernames for the source and target orgs, and run the command asynchronously:\n<%= config.bin %> <%= command.id %> --source-org source@org.com --target-org target@org.com --config-file=./config/data-seed.json --async",
|
|
176
|
+
"Migrate data using org aliases; if after 5 minutes the command hasn't finished, it completes asynchronously:\n<%= config.bin %> <%= command.id %> --source-org mySourceOrg --target-org myTargetOrg --config-file ./config/data-seed.json --wait 5"
|
|
177
177
|
],
|
|
178
178
|
"flags": {
|
|
179
179
|
"json": {
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"name": "target-org",
|
|
197
197
|
"noCacheDefault": true,
|
|
198
198
|
"required": true,
|
|
199
|
-
"summary": "Username or alias of the target org into which the
|
|
199
|
+
"summary": "Username or alias of the target org into which the migrated data is loaded.",
|
|
200
200
|
"hasDynamicHelp": true,
|
|
201
201
|
"multiple": false,
|
|
202
202
|
"type": "option"
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"name": "source-org",
|
|
207
207
|
"noCacheDefault": true,
|
|
208
208
|
"required": true,
|
|
209
|
-
"summary": "Username or alias of the source org that contains the data
|
|
209
|
+
"summary": "Username or alias of the source org that contains the data to be migrated.",
|
|
210
210
|
"hasDynamicHelp": true,
|
|
211
211
|
"multiple": false,
|
|
212
212
|
"type": "option"
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"char": "f",
|
|
216
216
|
"name": "config-file",
|
|
217
217
|
"required": true,
|
|
218
|
-
"summary": "Path to the data
|
|
218
|
+
"summary": "Path to the data migration JSON configuration file.",
|
|
219
219
|
"hasDynamicHelp": false,
|
|
220
220
|
"multiple": false,
|
|
221
221
|
"type": "option"
|
|
@@ -244,34 +244,34 @@
|
|
|
244
244
|
},
|
|
245
245
|
"hasDynamicHelp": true,
|
|
246
246
|
"hiddenAliases": [],
|
|
247
|
-
"id": "data-seeding:
|
|
247
|
+
"id": "data-seeding:migrate",
|
|
248
248
|
"pluginAlias": "@salesforce/plugin-data-seeding",
|
|
249
249
|
"pluginName": "@salesforce/plugin-data-seeding",
|
|
250
250
|
"pluginType": "core",
|
|
251
251
|
"strict": true,
|
|
252
|
-
"summary": "
|
|
252
|
+
"summary": "Migrate data from one org to another.",
|
|
253
253
|
"enableJsonFlag": true,
|
|
254
254
|
"isESM": true,
|
|
255
255
|
"relativePath": [
|
|
256
256
|
"lib",
|
|
257
257
|
"commands",
|
|
258
258
|
"data-seeding",
|
|
259
|
-
"
|
|
259
|
+
"migrate",
|
|
260
260
|
"index.js"
|
|
261
261
|
],
|
|
262
262
|
"aliasPermutations": [],
|
|
263
263
|
"permutations": [
|
|
264
|
-
"data-seeding:
|
|
265
|
-
"
|
|
264
|
+
"data-seeding:migrate",
|
|
265
|
+
"migrate:data-seeding"
|
|
266
266
|
]
|
|
267
267
|
},
|
|
268
|
-
"data-seeding:
|
|
268
|
+
"data-seeding:migrate:report": {
|
|
269
269
|
"aliases": [],
|
|
270
270
|
"args": {},
|
|
271
|
-
"description": "This command displays the status of a previously initiated or completed execution of the \"data-seeding
|
|
271
|
+
"description": "This command displays the status of a previously initiated or completed execution of the \"data-seeding migrate\" command. Run this command by either passing it the job ID returned by \"data-seeding migrate\", or use the --use-most-recent flag to view the status of the most recently run \"data-seeding migrate\" command.",
|
|
272
272
|
"examples": [
|
|
273
|
-
"Display the status of a specific execution of the \"data-seeding
|
|
274
|
-
"Display the status of the most recently run \"data-seeding
|
|
273
|
+
"Display the status of a specific execution of the \"data-seeding migrate\" command:\n<%= config.bin %> <%= command.id %> --job-id 1234-5678-AAAA-BBBB",
|
|
274
|
+
"Display the status of the most recently run \"data-seeding migrate\" command:\n<%= config.bin %> <%= command.id %> --use-most-recent"
|
|
275
275
|
],
|
|
276
276
|
"flags": {
|
|
277
277
|
"json": {
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
"job-id": {
|
|
293
293
|
"char": "i",
|
|
294
294
|
"name": "job-id",
|
|
295
|
-
"summary": "ID of a specific execution of the \"data-seeding
|
|
295
|
+
"summary": "ID of a specific execution of the \"data-seeding migrate\" command.",
|
|
296
296
|
"hasDynamicHelp": false,
|
|
297
297
|
"multiple": false,
|
|
298
298
|
"type": "option"
|
|
@@ -300,38 +300,38 @@
|
|
|
300
300
|
"use-most-recent": {
|
|
301
301
|
"char": "r",
|
|
302
302
|
"name": "use-most-recent",
|
|
303
|
-
"summary": "View the status of the most recently run \"data-seeding
|
|
303
|
+
"summary": "View the status of the most recently run \"data-seeding migrate\" command.",
|
|
304
304
|
"allowNo": false,
|
|
305
305
|
"type": "boolean"
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
308
|
"hasDynamicHelp": false,
|
|
309
309
|
"hiddenAliases": [],
|
|
310
|
-
"id": "data-seeding:
|
|
310
|
+
"id": "data-seeding:migrate:report",
|
|
311
311
|
"pluginAlias": "@salesforce/plugin-data-seeding",
|
|
312
312
|
"pluginName": "@salesforce/plugin-data-seeding",
|
|
313
313
|
"pluginType": "core",
|
|
314
314
|
"strict": true,
|
|
315
|
-
"summary": "Display the status of a data-seeding
|
|
315
|
+
"summary": "Display the status of a data-seeding migrate job.",
|
|
316
316
|
"enableJsonFlag": true,
|
|
317
317
|
"isESM": true,
|
|
318
318
|
"relativePath": [
|
|
319
319
|
"lib",
|
|
320
320
|
"commands",
|
|
321
321
|
"data-seeding",
|
|
322
|
-
"
|
|
322
|
+
"migrate",
|
|
323
323
|
"report.js"
|
|
324
324
|
],
|
|
325
325
|
"aliasPermutations": [],
|
|
326
326
|
"permutations": [
|
|
327
|
-
"data-seeding:
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"data-seeding:report:
|
|
331
|
-
"report:data-seeding:
|
|
332
|
-
"report:
|
|
327
|
+
"data-seeding:migrate:report",
|
|
328
|
+
"migrate:data-seeding:report",
|
|
329
|
+
"migrate:report:data-seeding",
|
|
330
|
+
"data-seeding:report:migrate",
|
|
331
|
+
"report:data-seeding:migrate",
|
|
332
|
+
"report:migrate:data-seeding"
|
|
333
333
|
]
|
|
334
334
|
}
|
|
335
335
|
},
|
|
336
|
-
"version": "1.1.
|
|
336
|
+
"version": "1.1.53"
|
|
337
337
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-data-seeding",
|
|
3
3
|
"description": "Migrate real data, generate fake data using GenAI, or deploy data files to target orgs.",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.53",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@oclif/core": "^4",
|
|
9
|
-
"@oclif/multi-stage-output": "^0.8.
|
|
10
|
-
"@salesforce/core": "^8.18.
|
|
9
|
+
"@oclif/multi-stage-output": "^0.8.20",
|
|
10
|
+
"@salesforce/core": "^8.18.7",
|
|
11
11
|
"@salesforce/kit": "^3.2.2",
|
|
12
12
|
"@salesforce/sf-plugins-core": "^11.3.12",
|
|
13
13
|
"form-data": "^4.0.4",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"@oclif/plugin-command-snapshot": "^5.3.5",
|
|
18
18
|
"@salesforce/cli-plugins-testkit": "^5.3.39",
|
|
19
19
|
"@salesforce/dev-scripts": "^10.2.9",
|
|
20
|
-
"@salesforce/plugin-command-reference": "^3.1.
|
|
20
|
+
"@salesforce/plugin-command-reference": "^3.1.63",
|
|
21
21
|
"@types/tough-cookie": "^4.0.5",
|
|
22
|
-
"eslint-plugin-sf-plugin": "^1.20.
|
|
23
|
-
"oclif": "^4.
|
|
22
|
+
"eslint-plugin-sf-plugin": "^1.20.30",
|
|
23
|
+
"oclif": "^4.22.5",
|
|
24
24
|
"ts-node": "^10.9.2",
|
|
25
25
|
"tsx": "^4.20.3",
|
|
26
26
|
"typescript": "^5.5.4"
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
"exports": "./lib/index.js",
|
|
211
211
|
"type": "module",
|
|
212
212
|
"sfdx": {
|
|
213
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data-seeding/1.1.
|
|
214
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data-seeding/1.1.
|
|
213
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data-seeding/1.1.53.crt",
|
|
214
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data-seeding/1.1.53.sig"
|
|
215
215
|
}
|
|
216
216
|
}
|