@simplysf/simply-data 1.4.0 → 1.5.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 +9 -0
- package/README.md +3 -3
- package/npm-shrinkwrap.json +22 -20
- package/oclif.manifest.json +111 -111
- package/package.json +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
# [1.5.0](https://github.com/SimplySF/simply-data/compare/1.4.0...1.5.0) (2024-05-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* fix incorrect deps ([98915e6](https://github.com/SimplySF/simply-data/commit/98915e6b7b82e711c71841d07a66cda19e36de6c))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
# [1.4.0](https://github.com/SimplySF/simply-data/compare/1.3.1...1.4.0) (2024-05-05)
|
|
2
11
|
|
|
3
12
|
|
package/README.md
CHANGED
|
@@ -92,7 +92,7 @@ EXAMPLES
|
|
|
92
92
|
$ sf simply data file upload --file-path fileToUpload.txt --first-publish-location-id 0019000000DmehK --target-org myTargetOrg
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
-
_See code: [src/commands/simply/data/file/upload.ts](https://github.com/SimplySF/simply-data/blob/1.
|
|
95
|
+
_See code: [src/commands/simply/data/file/upload.ts](https://github.com/SimplySF/simply-data/blob/1.5.0/src/commands/simply/data/file/upload.ts)_
|
|
96
96
|
|
|
97
97
|
## `sf simply data files download`
|
|
98
98
|
|
|
@@ -137,7 +137,7 @@ FLAG DESCRIPTIONS
|
|
|
137
137
|
Provide a WHERE clause to allow the plugin to specify which ContentVersion records should be downloaded.
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
-
_See code: [src/commands/simply/data/files/download.ts](https://github.com/SimplySF/simply-data/blob/1.
|
|
140
|
+
_See code: [src/commands/simply/data/files/download.ts](https://github.com/SimplySF/simply-data/blob/1.5.0/src/commands/simply/data/files/download.ts)_
|
|
141
141
|
|
|
142
142
|
## `sf simply data files upload`
|
|
143
143
|
|
|
@@ -182,5 +182,5 @@ FLAG DESCRIPTIONS
|
|
|
182
182
|
quasi concurrent uploads. Please note that setting this value too high can cause performance issues.
|
|
183
183
|
```
|
|
184
184
|
|
|
185
|
-
_See code: [src/commands/simply/data/files/upload.ts](https://github.com/SimplySF/simply-data/blob/1.
|
|
185
|
+
_See code: [src/commands/simply/data/files/upload.ts](https://github.com/SimplySF/simply-data/blob/1.5.0/src/commands/simply/data/files/upload.ts)_
|
|
186
186
|
<!-- commandsstop -->
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply-data",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@simplysf/simply-data",
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.5.0",
|
|
10
10
|
"license": "BSD-3-Clause",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@jsforce/jsforce-node": "^3.2.0",
|
|
13
12
|
"@oclif/core": "^3.26.4",
|
|
14
13
|
"@salesforce/core": "^7.3.3",
|
|
15
14
|
"@salesforce/kit": "^3.1.1",
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
"csv-writer": "^1.6.0",
|
|
19
18
|
"form-data": "^4.0.0",
|
|
20
19
|
"got": "13.0.0",
|
|
21
|
-
"nock": "^13.5.4",
|
|
22
20
|
"p-queue": "^8.0.1"
|
|
23
21
|
},
|
|
24
22
|
"devDependencies": {
|
|
@@ -29,6 +27,7 @@
|
|
|
29
27
|
"@simplysf/dev-scripts": "^3.0.0",
|
|
30
28
|
"@types/shelljs": "^0.8.15",
|
|
31
29
|
"eslint-plugin-sf-plugin": "^1.18.2",
|
|
30
|
+
"nock": "^13.5.4",
|
|
32
31
|
"oclif": "^4.10.1",
|
|
33
32
|
"shelljs": "^0.8.5",
|
|
34
33
|
"ts-node": "^10.9.2",
|
|
@@ -5257,6 +5256,18 @@
|
|
|
5257
5256
|
"node": ">=18"
|
|
5258
5257
|
}
|
|
5259
5258
|
},
|
|
5259
|
+
"node_modules/@jsforce/jsforce-node/node_modules/@sindresorhus/is": {
|
|
5260
|
+
"version": "4.6.0",
|
|
5261
|
+
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",
|
|
5262
|
+
"integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==",
|
|
5263
|
+
"license": "MIT",
|
|
5264
|
+
"engines": {
|
|
5265
|
+
"node": ">=10"
|
|
5266
|
+
},
|
|
5267
|
+
"funding": {
|
|
5268
|
+
"url": "https://github.com/sindresorhus/is?sponsor=1"
|
|
5269
|
+
}
|
|
5270
|
+
},
|
|
5260
5271
|
"node_modules/@jsforce/jsforce-node/node_modules/@types/node": {
|
|
5261
5272
|
"version": "18.19.31",
|
|
5262
5273
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.31.tgz",
|
|
@@ -5994,12 +6005,12 @@
|
|
|
5994
6005
|
}
|
|
5995
6006
|
},
|
|
5996
6007
|
"node_modules/@sindresorhus/is": {
|
|
5997
|
-
"version": "
|
|
5998
|
-
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-
|
|
5999
|
-
"integrity": "sha512-
|
|
6008
|
+
"version": "5.6.0",
|
|
6009
|
+
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-5.6.0.tgz",
|
|
6010
|
+
"integrity": "sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==",
|
|
6000
6011
|
"license": "MIT",
|
|
6001
6012
|
"engines": {
|
|
6002
|
-
"node": ">=
|
|
6013
|
+
"node": ">=14.16"
|
|
6003
6014
|
},
|
|
6004
6015
|
"funding": {
|
|
6005
6016
|
"url": "https://github.com/sindresorhus/is?sponsor=1"
|
|
@@ -10399,18 +10410,6 @@
|
|
|
10399
10410
|
"url": "https://github.com/sindresorhus/got?sponsor=1"
|
|
10400
10411
|
}
|
|
10401
10412
|
},
|
|
10402
|
-
"node_modules/got/node_modules/@sindresorhus/is": {
|
|
10403
|
-
"version": "5.6.0",
|
|
10404
|
-
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-5.6.0.tgz",
|
|
10405
|
-
"integrity": "sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==",
|
|
10406
|
-
"license": "MIT",
|
|
10407
|
-
"engines": {
|
|
10408
|
-
"node": ">=14.16"
|
|
10409
|
-
},
|
|
10410
|
-
"funding": {
|
|
10411
|
-
"url": "https://github.com/sindresorhus/is?sponsor=1"
|
|
10412
|
-
}
|
|
10413
|
-
},
|
|
10414
10413
|
"node_modules/graceful-fs": {
|
|
10415
10414
|
"version": "4.2.11",
|
|
10416
10415
|
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
|
@@ -11554,6 +11553,7 @@
|
|
|
11554
11553
|
"version": "5.0.1",
|
|
11555
11554
|
"resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
|
|
11556
11555
|
"integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==",
|
|
11556
|
+
"dev": true,
|
|
11557
11557
|
"license": "ISC"
|
|
11558
11558
|
},
|
|
11559
11559
|
"node_modules/json5": {
|
|
@@ -12692,6 +12692,7 @@
|
|
|
12692
12692
|
"version": "13.5.4",
|
|
12693
12693
|
"resolved": "https://registry.npmjs.org/nock/-/nock-13.5.4.tgz",
|
|
12694
12694
|
"integrity": "sha512-yAyTfdeNJGGBFxWdzSKCBYxs5FxLbCg5X5Q4ets974hcQzG1+qCxvIyOo4j2Ry6MUlhWVMX4OoYDefAIIwupjw==",
|
|
12695
|
+
"dev": true,
|
|
12695
12696
|
"license": "MIT",
|
|
12696
12697
|
"dependencies": {
|
|
12697
12698
|
"debug": "^4.1.0",
|
|
@@ -13656,6 +13657,7 @@
|
|
|
13656
13657
|
"version": "2.0.1",
|
|
13657
13658
|
"resolved": "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz",
|
|
13658
13659
|
"integrity": "sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==",
|
|
13660
|
+
"dev": true,
|
|
13659
13661
|
"license": "MIT",
|
|
13660
13662
|
"engines": {
|
|
13661
13663
|
"node": ">= 8"
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,115 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
+
"simply:data:file:upload": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Uploads a file to a Salesforce org.",
|
|
7
|
+
"examples": [
|
|
8
|
+
"<%= config.bin %> <%= command.id %> --file-path fileToUpload.txt --target-org myTargetOrg",
|
|
9
|
+
"<%= config.bin %> <%= command.id %> --file-path fileToUpload.txt --first-publish-location-id 0019000000DmehK --target-org myTargetOrg"
|
|
10
|
+
],
|
|
11
|
+
"flags": {
|
|
12
|
+
"json": {
|
|
13
|
+
"description": "Format output as json.",
|
|
14
|
+
"helpGroup": "GLOBAL",
|
|
15
|
+
"name": "json",
|
|
16
|
+
"allowNo": false,
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
},
|
|
19
|
+
"flags-dir": {
|
|
20
|
+
"helpGroup": "GLOBAL",
|
|
21
|
+
"name": "flags-dir",
|
|
22
|
+
"summary": "Import flag values from a directory.",
|
|
23
|
+
"hasDynamicHelp": false,
|
|
24
|
+
"multiple": false,
|
|
25
|
+
"type": "option"
|
|
26
|
+
},
|
|
27
|
+
"api-version": {
|
|
28
|
+
"description": "Override the api version used for api requests made by this command",
|
|
29
|
+
"name": "api-version",
|
|
30
|
+
"hasDynamicHelp": false,
|
|
31
|
+
"multiple": false,
|
|
32
|
+
"type": "option"
|
|
33
|
+
},
|
|
34
|
+
"file-path": {
|
|
35
|
+
"name": "file-path",
|
|
36
|
+
"required": true,
|
|
37
|
+
"summary": "Path to the file to upload.",
|
|
38
|
+
"hasDynamicHelp": false,
|
|
39
|
+
"multiple": false,
|
|
40
|
+
"type": "option"
|
|
41
|
+
},
|
|
42
|
+
"first-publish-location-id": {
|
|
43
|
+
"name": "first-publish-location-id",
|
|
44
|
+
"summary": "Specify a record Id that the file should be linked to.",
|
|
45
|
+
"hasDynamicHelp": false,
|
|
46
|
+
"multiple": false,
|
|
47
|
+
"type": "option"
|
|
48
|
+
},
|
|
49
|
+
"target-org": {
|
|
50
|
+
"char": "o",
|
|
51
|
+
"name": "target-org",
|
|
52
|
+
"noCacheDefault": true,
|
|
53
|
+
"required": true,
|
|
54
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
55
|
+
"hasDynamicHelp": true,
|
|
56
|
+
"multiple": false,
|
|
57
|
+
"type": "option"
|
|
58
|
+
},
|
|
59
|
+
"title": {
|
|
60
|
+
"name": "title",
|
|
61
|
+
"summary": "Specify the title for the file being uploaded.",
|
|
62
|
+
"hasDynamicHelp": false,
|
|
63
|
+
"multiple": false,
|
|
64
|
+
"type": "option"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"hasDynamicHelp": true,
|
|
68
|
+
"hiddenAliases": [],
|
|
69
|
+
"id": "simply:data:file:upload",
|
|
70
|
+
"pluginAlias": "@simplysf/simply-data",
|
|
71
|
+
"pluginName": "@simplysf/simply-data",
|
|
72
|
+
"pluginType": "core",
|
|
73
|
+
"strict": true,
|
|
74
|
+
"summary": "Upload a file to a Salesforce org.",
|
|
75
|
+
"enableJsonFlag": true,
|
|
76
|
+
"isESM": true,
|
|
77
|
+
"relativePath": [
|
|
78
|
+
"lib",
|
|
79
|
+
"commands",
|
|
80
|
+
"simply",
|
|
81
|
+
"data",
|
|
82
|
+
"file",
|
|
83
|
+
"upload.js"
|
|
84
|
+
],
|
|
85
|
+
"aliasPermutations": [],
|
|
86
|
+
"permutations": [
|
|
87
|
+
"simply:data:file:upload",
|
|
88
|
+
"data:simply:file:upload",
|
|
89
|
+
"data:file:simply:upload",
|
|
90
|
+
"data:file:upload:simply",
|
|
91
|
+
"simply:file:data:upload",
|
|
92
|
+
"file:simply:data:upload",
|
|
93
|
+
"file:data:simply:upload",
|
|
94
|
+
"file:data:upload:simply",
|
|
95
|
+
"simply:file:upload:data",
|
|
96
|
+
"file:simply:upload:data",
|
|
97
|
+
"file:upload:simply:data",
|
|
98
|
+
"file:upload:data:simply",
|
|
99
|
+
"simply:data:upload:file",
|
|
100
|
+
"data:simply:upload:file",
|
|
101
|
+
"data:upload:simply:file",
|
|
102
|
+
"data:upload:file:simply",
|
|
103
|
+
"simply:upload:data:file",
|
|
104
|
+
"upload:simply:data:file",
|
|
105
|
+
"upload:data:simply:file",
|
|
106
|
+
"upload:data:file:simply",
|
|
107
|
+
"simply:upload:file:data",
|
|
108
|
+
"upload:simply:file:data",
|
|
109
|
+
"upload:file:simply:data",
|
|
110
|
+
"upload:file:data:simply"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
3
113
|
"simply:data:files:download": {
|
|
4
114
|
"aliases": [],
|
|
5
115
|
"args": {},
|
|
@@ -211,117 +321,7 @@
|
|
|
211
321
|
"upload:files:simply:data",
|
|
212
322
|
"upload:files:data:simply"
|
|
213
323
|
]
|
|
214
|
-
},
|
|
215
|
-
"simply:data:file:upload": {
|
|
216
|
-
"aliases": [],
|
|
217
|
-
"args": {},
|
|
218
|
-
"description": "Uploads a file to a Salesforce org.",
|
|
219
|
-
"examples": [
|
|
220
|
-
"<%= config.bin %> <%= command.id %> --file-path fileToUpload.txt --target-org myTargetOrg",
|
|
221
|
-
"<%= config.bin %> <%= command.id %> --file-path fileToUpload.txt --first-publish-location-id 0019000000DmehK --target-org myTargetOrg"
|
|
222
|
-
],
|
|
223
|
-
"flags": {
|
|
224
|
-
"json": {
|
|
225
|
-
"description": "Format output as json.",
|
|
226
|
-
"helpGroup": "GLOBAL",
|
|
227
|
-
"name": "json",
|
|
228
|
-
"allowNo": false,
|
|
229
|
-
"type": "boolean"
|
|
230
|
-
},
|
|
231
|
-
"flags-dir": {
|
|
232
|
-
"helpGroup": "GLOBAL",
|
|
233
|
-
"name": "flags-dir",
|
|
234
|
-
"summary": "Import flag values from a directory.",
|
|
235
|
-
"hasDynamicHelp": false,
|
|
236
|
-
"multiple": false,
|
|
237
|
-
"type": "option"
|
|
238
|
-
},
|
|
239
|
-
"api-version": {
|
|
240
|
-
"description": "Override the api version used for api requests made by this command",
|
|
241
|
-
"name": "api-version",
|
|
242
|
-
"hasDynamicHelp": false,
|
|
243
|
-
"multiple": false,
|
|
244
|
-
"type": "option"
|
|
245
|
-
},
|
|
246
|
-
"file-path": {
|
|
247
|
-
"name": "file-path",
|
|
248
|
-
"required": true,
|
|
249
|
-
"summary": "Path to the file to upload.",
|
|
250
|
-
"hasDynamicHelp": false,
|
|
251
|
-
"multiple": false,
|
|
252
|
-
"type": "option"
|
|
253
|
-
},
|
|
254
|
-
"first-publish-location-id": {
|
|
255
|
-
"name": "first-publish-location-id",
|
|
256
|
-
"summary": "Specify a record Id that the file should be linked to.",
|
|
257
|
-
"hasDynamicHelp": false,
|
|
258
|
-
"multiple": false,
|
|
259
|
-
"type": "option"
|
|
260
|
-
},
|
|
261
|
-
"target-org": {
|
|
262
|
-
"char": "o",
|
|
263
|
-
"name": "target-org",
|
|
264
|
-
"noCacheDefault": true,
|
|
265
|
-
"required": true,
|
|
266
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
267
|
-
"hasDynamicHelp": true,
|
|
268
|
-
"multiple": false,
|
|
269
|
-
"type": "option"
|
|
270
|
-
},
|
|
271
|
-
"title": {
|
|
272
|
-
"name": "title",
|
|
273
|
-
"summary": "Specify the title for the file being uploaded.",
|
|
274
|
-
"hasDynamicHelp": false,
|
|
275
|
-
"multiple": false,
|
|
276
|
-
"type": "option"
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
"hasDynamicHelp": true,
|
|
280
|
-
"hiddenAliases": [],
|
|
281
|
-
"id": "simply:data:file:upload",
|
|
282
|
-
"pluginAlias": "@simplysf/simply-data",
|
|
283
|
-
"pluginName": "@simplysf/simply-data",
|
|
284
|
-
"pluginType": "core",
|
|
285
|
-
"strict": true,
|
|
286
|
-
"summary": "Upload a file to a Salesforce org.",
|
|
287
|
-
"enableJsonFlag": true,
|
|
288
|
-
"isESM": true,
|
|
289
|
-
"relativePath": [
|
|
290
|
-
"lib",
|
|
291
|
-
"commands",
|
|
292
|
-
"simply",
|
|
293
|
-
"data",
|
|
294
|
-
"file",
|
|
295
|
-
"upload.js"
|
|
296
|
-
],
|
|
297
|
-
"aliasPermutations": [],
|
|
298
|
-
"permutations": [
|
|
299
|
-
"simply:data:file:upload",
|
|
300
|
-
"data:simply:file:upload",
|
|
301
|
-
"data:file:simply:upload",
|
|
302
|
-
"data:file:upload:simply",
|
|
303
|
-
"simply:file:data:upload",
|
|
304
|
-
"file:simply:data:upload",
|
|
305
|
-
"file:data:simply:upload",
|
|
306
|
-
"file:data:upload:simply",
|
|
307
|
-
"simply:file:upload:data",
|
|
308
|
-
"file:simply:upload:data",
|
|
309
|
-
"file:upload:simply:data",
|
|
310
|
-
"file:upload:data:simply",
|
|
311
|
-
"simply:data:upload:file",
|
|
312
|
-
"data:simply:upload:file",
|
|
313
|
-
"data:upload:simply:file",
|
|
314
|
-
"data:upload:file:simply",
|
|
315
|
-
"simply:upload:data:file",
|
|
316
|
-
"upload:simply:data:file",
|
|
317
|
-
"upload:data:simply:file",
|
|
318
|
-
"upload:data:file:simply",
|
|
319
|
-
"simply:upload:file:data",
|
|
320
|
-
"upload:simply:file:data",
|
|
321
|
-
"upload:file:simply:data",
|
|
322
|
-
"upload:file:data:simply"
|
|
323
|
-
]
|
|
324
324
|
}
|
|
325
325
|
},
|
|
326
|
-
"version": "1.
|
|
326
|
+
"version": "1.5.0"
|
|
327
327
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply-data",
|
|
3
3
|
"description": "Utilities for working with data",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"bugs": "https://github.com/SimplySF/simply-data/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jsforce/jsforce-node": "^3.2.0",
|
|
9
8
|
"@oclif/core": "^3.26.4",
|
|
10
9
|
"@salesforce/core": "^7.3.3",
|
|
11
10
|
"@salesforce/kit": "^3.1.1",
|
|
@@ -14,7 +13,6 @@
|
|
|
14
13
|
"csv-writer": "^1.6.0",
|
|
15
14
|
"form-data": "^4.0.0",
|
|
16
15
|
"got": "13.0.0",
|
|
17
|
-
"nock": "^13.5.4",
|
|
18
16
|
"p-queue": "^8.0.1"
|
|
19
17
|
},
|
|
20
18
|
"devDependencies": {
|
|
@@ -25,6 +23,7 @@
|
|
|
25
23
|
"@simplysf/dev-scripts": "^3.0.0",
|
|
26
24
|
"@types/shelljs": "^0.8.15",
|
|
27
25
|
"eslint-plugin-sf-plugin": "^1.18.2",
|
|
26
|
+
"nock": "^13.5.4",
|
|
28
27
|
"oclif": "^4.10.1",
|
|
29
28
|
"shelljs": "^0.8.5",
|
|
30
29
|
"ts-node": "^10.9.2",
|