@simplysf/simply-data 1.1.0 → 1.1.1
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 +11 -1
- package/README.md +3 -3
- package/npm-shrinkwrap.json +9 -9
- package/oclif.lock +7 -7
- package/oclif.manifest.json +81 -81
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
## [1.1.1](https://github.com/SimplySF/simply-data/compare/1.1.0...1.1.1) (2024-02-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** bump @oclif/core from 3.19.4 to 3.19.6 ([0f0676d](https://github.com/SimplySF/simply-data/commit/0f0676d3d88ccdcb6e02efbe51f7cff01d6fde42))
|
|
7
|
+
* **deps:** bump ip from 2.0.0 to 2.0.1 ([1bf5e30](https://github.com/SimplySF/simply-data/commit/1bf5e3056cdfb9382055c518163baad210af4199))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# [1.1.0](https://github.com/SimplySF/simply-data/compare/aaa00ae32db5b9864e45dbe5d1b42ef2a7ab6837...1.1.0) (2024-02-24)
|
|
2
12
|
|
|
3
13
|
|
|
4
14
|
### Features
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @simplysf/simply-data
|
|
2
2
|
|
|
3
|
-
[](https://npmjs.com/data/@simplysf/simply-data) [](https://npmjs.com/data/@simplysf/simply-data) [](https://raw.githubusercontent.com/SimplySF/simply-data/main/LICENSE.txt)
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -90,7 +90,7 @@ EXAMPLES
|
|
|
90
90
|
$ sf simply data file upload --file-path fileToUpload.txt --first-publish-location-id 0019000000DmehK --target-org myTargetOrg
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
_See code: [src/commands/simply/data/file/upload.ts](https://github.com/SimplySF/simply-data/blob/
|
|
93
|
+
_See code: [src/commands/simply/data/file/upload.ts](https://github.com/SimplySF/simply-data/blob/1.1.1/src/commands/simply/data/file/upload.ts)_
|
|
94
94
|
|
|
95
95
|
## `sf simply data files upload`
|
|
96
96
|
|
|
@@ -134,5 +134,5 @@ FLAG DESCRIPTIONS
|
|
|
134
134
|
quasi concurrent uploads. Please note that setting this value too high can cause performance issues.
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
-
_See code: [src/commands/simply/data/files/upload.ts](https://github.com/SimplySF/simply-data/blob/
|
|
137
|
+
_See code: [src/commands/simply/data/files/upload.ts](https://github.com/SimplySF/simply-data/blob/1.1.1/src/commands/simply/data/files/upload.ts)_
|
|
138
138
|
<!-- commandsstop -->
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply-data",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@simplysf/simply-data",
|
|
9
|
-
"version": "1.1.
|
|
9
|
+
"version": "1.1.1",
|
|
10
10
|
"license": "BSD-3-Clause",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@oclif/core": "^3.19.
|
|
12
|
+
"@oclif/core": "^3.19.6",
|
|
13
13
|
"@salesforce/core": "^6.5.3",
|
|
14
14
|
"@salesforce/kit": "^3.0.15",
|
|
15
15
|
"@salesforce/sf-plugins-core": "^5.0.13",
|
|
@@ -2899,9 +2899,9 @@
|
|
|
2899
2899
|
}
|
|
2900
2900
|
},
|
|
2901
2901
|
"node_modules/@oclif/core": {
|
|
2902
|
-
"version": "3.19.
|
|
2903
|
-
"resolved": "https://registry.npmjs.org/@oclif/core/-/core-3.19.
|
|
2904
|
-
"integrity": "sha512-
|
|
2902
|
+
"version": "3.19.6",
|
|
2903
|
+
"resolved": "https://registry.npmjs.org/@oclif/core/-/core-3.19.6.tgz",
|
|
2904
|
+
"integrity": "sha512-1ryQWAx7VOf+Wq6pv00uilOo56DrG0drr42crmCQ3eYrPPz252EmNCoFkoOBk7McN6x0f4ega83c0yNNCXmiXw==",
|
|
2905
2905
|
"license": "MIT",
|
|
2906
2906
|
"dependencies": {
|
|
2907
2907
|
"@types/cli-progress": "^3.11.5",
|
|
@@ -9236,9 +9236,9 @@
|
|
|
9236
9236
|
}
|
|
9237
9237
|
},
|
|
9238
9238
|
"node_modules/ip": {
|
|
9239
|
-
"version": "2.0.
|
|
9240
|
-
"resolved": "https://registry.npmjs.org/ip/-/ip-2.0.
|
|
9241
|
-
"integrity": "sha512-
|
|
9239
|
+
"version": "2.0.1",
|
|
9240
|
+
"resolved": "https://registry.npmjs.org/ip/-/ip-2.0.1.tgz",
|
|
9241
|
+
"integrity": "sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==",
|
|
9242
9242
|
"dev": true,
|
|
9243
9243
|
"license": "MIT"
|
|
9244
9244
|
},
|
package/oclif.lock
CHANGED
|
@@ -1400,10 +1400,10 @@
|
|
|
1400
1400
|
read-package-json-fast "^3.0.0"
|
|
1401
1401
|
which "^3.0.0"
|
|
1402
1402
|
|
|
1403
|
-
"@oclif/core@^3.15.1", "@oclif/core@^3.18.2", "@oclif/core@^3.19.1", "@oclif/core@^3.19.2", "@oclif/core@^3.19.3":
|
|
1404
|
-
version "3.19.
|
|
1405
|
-
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.19.
|
|
1406
|
-
integrity sha512-
|
|
1403
|
+
"@oclif/core@^3.15.1", "@oclif/core@^3.18.2", "@oclif/core@^3.19.1", "@oclif/core@^3.19.2", "@oclif/core@^3.19.3", "@oclif/core@^3.19.6":
|
|
1404
|
+
version "3.19.6"
|
|
1405
|
+
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.19.6.tgz#12e5cb073016d8c32c469d2fec0cd585ac5c1c09"
|
|
1406
|
+
integrity sha512-1ryQWAx7VOf+Wq6pv00uilOo56DrG0drr42crmCQ3eYrPPz252EmNCoFkoOBk7McN6x0f4ega83c0yNNCXmiXw==
|
|
1407
1407
|
dependencies:
|
|
1408
1408
|
"@types/cli-progress" "^3.11.5"
|
|
1409
1409
|
ansi-escapes "^4.3.2"
|
|
@@ -5297,9 +5297,9 @@ interpret@^1.0.0:
|
|
|
5297
5297
|
integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==
|
|
5298
5298
|
|
|
5299
5299
|
ip@^2.0.0:
|
|
5300
|
-
version "2.0.
|
|
5301
|
-
resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.
|
|
5302
|
-
integrity sha512-
|
|
5300
|
+
version "2.0.1"
|
|
5301
|
+
resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.1.tgz#e8f3595d33a3ea66490204234b77636965307105"
|
|
5302
|
+
integrity sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==
|
|
5303
5303
|
|
|
5304
5304
|
is-array-buffer@^3.0.1, is-array-buffer@^3.0.2:
|
|
5305
5305
|
version "3.0.2"
|
package/oclif.manifest.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"simply:data:
|
|
3
|
+
"simply:data:files:upload": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "Uploads a
|
|
6
|
+
"description": "Uploads files specified by a csv to a Salesforce org. By default, the plugin uses the REST API for the upload as the Bulk API is limited in its payload size. This means that each file will use one REST API request.",
|
|
7
7
|
"examples": [
|
|
8
|
-
"<%= config.bin %> <%= command.id %> --file-path
|
|
9
|
-
"<%= config.bin %> <%= command.id %> --file-path
|
|
8
|
+
"<%= config.bin %> <%= command.id %> --file-path filesToUpload.csv --target-org myTargetOrg",
|
|
9
|
+
"<%= config.bin %> <%= command.id %> --file-path filesToUpload.csv --max-parallel-jobs 5 --target-org myTargetOrg"
|
|
10
10
|
],
|
|
11
11
|
"flags": {
|
|
12
12
|
"json": {
|
|
@@ -24,16 +24,19 @@
|
|
|
24
24
|
"type": "option"
|
|
25
25
|
},
|
|
26
26
|
"file-path": {
|
|
27
|
+
"description": "The csv file must specify the columns PathOnClient and Title. Optionally, a FirstPublishLocationId can be specified to have it linked directly to a Salesforce record after upload.",
|
|
27
28
|
"name": "file-path",
|
|
28
29
|
"required": true,
|
|
29
|
-
"summary": "Path to the file
|
|
30
|
+
"summary": "Path to the csv file that specifies the upload.",
|
|
30
31
|
"hasDynamicHelp": false,
|
|
31
32
|
"multiple": false,
|
|
32
33
|
"type": "option"
|
|
33
34
|
},
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
35
|
+
"max-parallel-jobs": {
|
|
36
|
+
"description": "By default the plugin will only process a single file upload at a time. You can increase this value to allow for quasi concurrent uploads. Please note that setting this value too high can cause performance issues.",
|
|
37
|
+
"name": "max-parallel-jobs",
|
|
38
|
+
"summary": "Maximum number of parallel jobs.",
|
|
39
|
+
"default": 1,
|
|
37
40
|
"hasDynamicHelp": false,
|
|
38
41
|
"multiple": false,
|
|
39
42
|
"type": "option"
|
|
@@ -47,23 +50,16 @@
|
|
|
47
50
|
"hasDynamicHelp": true,
|
|
48
51
|
"multiple": false,
|
|
49
52
|
"type": "option"
|
|
50
|
-
},
|
|
51
|
-
"title": {
|
|
52
|
-
"name": "title",
|
|
53
|
-
"summary": "Specify the title for the file being uploaded.",
|
|
54
|
-
"hasDynamicHelp": false,
|
|
55
|
-
"multiple": false,
|
|
56
|
-
"type": "option"
|
|
57
53
|
}
|
|
58
54
|
},
|
|
59
55
|
"hasDynamicHelp": true,
|
|
60
56
|
"hiddenAliases": [],
|
|
61
|
-
"id": "simply:data:
|
|
57
|
+
"id": "simply:data:files:upload",
|
|
62
58
|
"pluginAlias": "@simplysf/simply-data",
|
|
63
59
|
"pluginName": "@simplysf/simply-data",
|
|
64
60
|
"pluginType": "core",
|
|
65
61
|
"strict": true,
|
|
66
|
-
"summary": "Upload
|
|
62
|
+
"summary": "Upload files to a Salesforce org.",
|
|
67
63
|
"enableJsonFlag": true,
|
|
68
64
|
"SF_ENV": "SF_ENV",
|
|
69
65
|
"isESM": true,
|
|
@@ -72,44 +68,44 @@
|
|
|
72
68
|
"commands",
|
|
73
69
|
"simply",
|
|
74
70
|
"data",
|
|
75
|
-
"
|
|
71
|
+
"files",
|
|
76
72
|
"upload.js"
|
|
77
73
|
],
|
|
78
74
|
"aliasPermutations": [],
|
|
79
75
|
"permutations": [
|
|
80
|
-
"simply:data:
|
|
81
|
-
"data:simply:
|
|
82
|
-
"data:
|
|
83
|
-
"data:
|
|
84
|
-
"simply:
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"simply:
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"simply:data:upload:
|
|
93
|
-
"data:simply:upload:
|
|
94
|
-
"data:upload:simply:
|
|
95
|
-
"data:upload:
|
|
96
|
-
"simply:upload:data:
|
|
97
|
-
"upload:simply:data:
|
|
98
|
-
"upload:data:simply:
|
|
99
|
-
"upload:data:
|
|
100
|
-
"simply:upload:
|
|
101
|
-
"upload:simply:
|
|
102
|
-
"upload:
|
|
103
|
-
"upload:
|
|
76
|
+
"simply:data:files:upload",
|
|
77
|
+
"data:simply:files:upload",
|
|
78
|
+
"data:files:simply:upload",
|
|
79
|
+
"data:files:upload:simply",
|
|
80
|
+
"simply:files:data:upload",
|
|
81
|
+
"files:simply:data:upload",
|
|
82
|
+
"files:data:simply:upload",
|
|
83
|
+
"files:data:upload:simply",
|
|
84
|
+
"simply:files:upload:data",
|
|
85
|
+
"files:simply:upload:data",
|
|
86
|
+
"files:upload:simply:data",
|
|
87
|
+
"files:upload:data:simply",
|
|
88
|
+
"simply:data:upload:files",
|
|
89
|
+
"data:simply:upload:files",
|
|
90
|
+
"data:upload:simply:files",
|
|
91
|
+
"data:upload:files:simply",
|
|
92
|
+
"simply:upload:data:files",
|
|
93
|
+
"upload:simply:data:files",
|
|
94
|
+
"upload:data:simply:files",
|
|
95
|
+
"upload:data:files:simply",
|
|
96
|
+
"simply:upload:files:data",
|
|
97
|
+
"upload:simply:files:data",
|
|
98
|
+
"upload:files:simply:data",
|
|
99
|
+
"upload:files:data:simply"
|
|
104
100
|
]
|
|
105
101
|
},
|
|
106
|
-
"simply:data:
|
|
102
|
+
"simply:data:file:upload": {
|
|
107
103
|
"aliases": [],
|
|
108
104
|
"args": {},
|
|
109
|
-
"description": "Uploads
|
|
105
|
+
"description": "Uploads a file to a Salesforce org.",
|
|
110
106
|
"examples": [
|
|
111
|
-
"<%= config.bin %> <%= command.id %> --file-path
|
|
112
|
-
"<%= config.bin %> <%= command.id %> --file-path
|
|
107
|
+
"<%= config.bin %> <%= command.id %> --file-path fileToUpload.txt --target-org myTargetOrg",
|
|
108
|
+
"<%= config.bin %> <%= command.id %> --file-path fileToUpload.txt --first-publish-location-id 0019000000DmehK --target-org myTargetOrg"
|
|
113
109
|
],
|
|
114
110
|
"flags": {
|
|
115
111
|
"json": {
|
|
@@ -127,19 +123,16 @@
|
|
|
127
123
|
"type": "option"
|
|
128
124
|
},
|
|
129
125
|
"file-path": {
|
|
130
|
-
"description": "The csv file must specify the columns PathOnClient and Title. Optionally, a FirstPublishLocationId can be specified to have it linked directly to a Salesforce record after upload.",
|
|
131
126
|
"name": "file-path",
|
|
132
127
|
"required": true,
|
|
133
|
-
"summary": "Path to the
|
|
128
|
+
"summary": "Path to the file to upload.",
|
|
134
129
|
"hasDynamicHelp": false,
|
|
135
130
|
"multiple": false,
|
|
136
131
|
"type": "option"
|
|
137
132
|
},
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"summary": "Maximum number of parallel jobs.",
|
|
142
|
-
"default": 1,
|
|
133
|
+
"first-publish-location-id": {
|
|
134
|
+
"name": "first-publish-location-id",
|
|
135
|
+
"summary": "Specify a record Id that the file should be linked to.",
|
|
143
136
|
"hasDynamicHelp": false,
|
|
144
137
|
"multiple": false,
|
|
145
138
|
"type": "option"
|
|
@@ -153,16 +146,23 @@
|
|
|
153
146
|
"hasDynamicHelp": true,
|
|
154
147
|
"multiple": false,
|
|
155
148
|
"type": "option"
|
|
149
|
+
},
|
|
150
|
+
"title": {
|
|
151
|
+
"name": "title",
|
|
152
|
+
"summary": "Specify the title for the file being uploaded.",
|
|
153
|
+
"hasDynamicHelp": false,
|
|
154
|
+
"multiple": false,
|
|
155
|
+
"type": "option"
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
"hasDynamicHelp": true,
|
|
159
159
|
"hiddenAliases": [],
|
|
160
|
-
"id": "simply:data:
|
|
160
|
+
"id": "simply:data:file:upload",
|
|
161
161
|
"pluginAlias": "@simplysf/simply-data",
|
|
162
162
|
"pluginName": "@simplysf/simply-data",
|
|
163
163
|
"pluginType": "core",
|
|
164
164
|
"strict": true,
|
|
165
|
-
"summary": "Upload
|
|
165
|
+
"summary": "Upload a file to a Salesforce org.",
|
|
166
166
|
"enableJsonFlag": true,
|
|
167
167
|
"SF_ENV": "SF_ENV",
|
|
168
168
|
"isESM": true,
|
|
@@ -171,37 +171,37 @@
|
|
|
171
171
|
"commands",
|
|
172
172
|
"simply",
|
|
173
173
|
"data",
|
|
174
|
-
"
|
|
174
|
+
"file",
|
|
175
175
|
"upload.js"
|
|
176
176
|
],
|
|
177
177
|
"aliasPermutations": [],
|
|
178
178
|
"permutations": [
|
|
179
|
-
"simply:data:
|
|
180
|
-
"data:simply:
|
|
181
|
-
"data:
|
|
182
|
-
"data:
|
|
183
|
-
"simply:
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"simply:
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"simply:data:upload:
|
|
192
|
-
"data:simply:upload:
|
|
193
|
-
"data:upload:simply:
|
|
194
|
-
"data:upload:
|
|
195
|
-
"simply:upload:data:
|
|
196
|
-
"upload:simply:data:
|
|
197
|
-
"upload:data:simply:
|
|
198
|
-
"upload:data:
|
|
199
|
-
"simply:upload:
|
|
200
|
-
"upload:simply:
|
|
201
|
-
"upload:
|
|
202
|
-
"upload:
|
|
179
|
+
"simply:data:file:upload",
|
|
180
|
+
"data:simply:file:upload",
|
|
181
|
+
"data:file:simply:upload",
|
|
182
|
+
"data:file:upload:simply",
|
|
183
|
+
"simply:file:data:upload",
|
|
184
|
+
"file:simply:data:upload",
|
|
185
|
+
"file:data:simply:upload",
|
|
186
|
+
"file:data:upload:simply",
|
|
187
|
+
"simply:file:upload:data",
|
|
188
|
+
"file:simply:upload:data",
|
|
189
|
+
"file:upload:simply:data",
|
|
190
|
+
"file:upload:data:simply",
|
|
191
|
+
"simply:data:upload:file",
|
|
192
|
+
"data:simply:upload:file",
|
|
193
|
+
"data:upload:simply:file",
|
|
194
|
+
"data:upload:file:simply",
|
|
195
|
+
"simply:upload:data:file",
|
|
196
|
+
"upload:simply:data:file",
|
|
197
|
+
"upload:data:simply:file",
|
|
198
|
+
"upload:data:file:simply",
|
|
199
|
+
"simply:upload:file:data",
|
|
200
|
+
"upload:simply:file:data",
|
|
201
|
+
"upload:file:simply:data",
|
|
202
|
+
"upload:file:data:simply"
|
|
203
203
|
]
|
|
204
204
|
}
|
|
205
205
|
},
|
|
206
|
-
"version": "1.1.
|
|
206
|
+
"version": "1.1.1"
|
|
207
207
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply-data",
|
|
3
3
|
"description": "Utilities for working with data",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"bugs": "https://github.com/SimplySF/simply-data/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "^3.19.
|
|
8
|
+
"@oclif/core": "^3.19.6",
|
|
9
9
|
"@salesforce/core": "^6.5.3",
|
|
10
10
|
"@salesforce/kit": "^3.0.15",
|
|
11
11
|
"@salesforce/sf-plugins-core": "^5.0.13",
|