@salesforce/plugin-deploy-retrieve 1.5.5 → 1.6.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 +6 -0
- package/README.md +25 -13
- package/lib/commands/deploy/metadata.js.map +1 -1
- package/lib/commands/deploy.d.ts +1 -1
- package/lib/commands/deploy.js +1 -1
- package/lib/commands/deploy.js.map +1 -1
- package/lib/commands/retrieve/metadata.d.ts +4 -0
- package/lib/commands/retrieve/metadata.js +54 -4
- package/lib/commands/retrieve/metadata.js.map +1 -1
- package/lib/utils/flags.d.ts +14 -4
- package/lib/utils/flags.js +66 -20
- package/lib/utils/flags.js.map +1 -1
- package/lib/utils/output.d.ts +14 -1
- package/lib/utils/output.js +40 -9
- package/lib/utils/output.js.map +1 -1
- package/lib/utils/types.d.ts +5 -1
- package/messages/retrieve.metadata.md +37 -1
- package/messages/validation.md +11 -0
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
- package/schemas/retrieve-metadata.json +121 -52
|
@@ -3,66 +3,73 @@
|
|
|
3
3
|
"$ref": "#/definitions/RetrieveResultJson",
|
|
4
4
|
"definitions": {
|
|
5
5
|
"RetrieveResultJson": {
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
"$ref": "#/definitions/FileResponse"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"done": {
|
|
16
|
-
"type": "boolean"
|
|
17
|
-
},
|
|
18
|
-
"fileProperties": {
|
|
19
|
-
"anyOf": [
|
|
20
|
-
{
|
|
21
|
-
"$ref": "#/definitions/FileProperties"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"type": "array",
|
|
25
|
-
"items": {
|
|
26
|
-
"$ref": "#/definitions/FileProperties"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"id": {
|
|
32
|
-
"type": "string"
|
|
33
|
-
},
|
|
34
|
-
"status": {
|
|
35
|
-
"$ref": "#/definitions/RequestStatus"
|
|
36
|
-
},
|
|
37
|
-
"success": {
|
|
38
|
-
"type": "boolean"
|
|
39
|
-
},
|
|
40
|
-
"messages": {
|
|
41
|
-
"anyOf": [
|
|
42
|
-
{
|
|
6
|
+
"anyOf": [
|
|
7
|
+
{
|
|
8
|
+
"type": "object",
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"properties": {
|
|
11
|
+
"files": {
|
|
43
12
|
"type": "array",
|
|
44
13
|
"items": {
|
|
45
|
-
"$ref": "#/definitions/
|
|
14
|
+
"$ref": "#/definitions/FileResponse"
|
|
46
15
|
}
|
|
47
16
|
},
|
|
48
|
-
{
|
|
49
|
-
"
|
|
17
|
+
"done": {
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"fileProperties": {
|
|
21
|
+
"anyOf": [
|
|
22
|
+
{
|
|
23
|
+
"$ref": "#/definitions/FileProperties"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "array",
|
|
27
|
+
"items": {
|
|
28
|
+
"$ref": "#/definitions/FileProperties"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"id": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"status": {
|
|
37
|
+
"$ref": "#/definitions/RequestStatus"
|
|
38
|
+
},
|
|
39
|
+
"success": {
|
|
40
|
+
"type": "boolean"
|
|
41
|
+
},
|
|
42
|
+
"messages": {
|
|
43
|
+
"anyOf": [
|
|
44
|
+
{
|
|
45
|
+
"type": "array",
|
|
46
|
+
"items": {
|
|
47
|
+
"$ref": "#/definitions/RetrieveMessage"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"$ref": "#/definitions/RetrieveMessage"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"zipFile": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "`base64` encoded string"
|
|
50
58
|
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"done",
|
|
62
|
+
"fileProperties",
|
|
63
|
+
"files",
|
|
64
|
+
"id",
|
|
65
|
+
"status",
|
|
66
|
+
"success",
|
|
67
|
+
"zipFile"
|
|
51
68
|
]
|
|
52
69
|
},
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
"description": "`base64` encoded string"
|
|
70
|
+
{
|
|
71
|
+
"$ref": "#/definitions/MetadataRetrieveResultJson"
|
|
56
72
|
}
|
|
57
|
-
},
|
|
58
|
-
"required": [
|
|
59
|
-
"done",
|
|
60
|
-
"fileProperties",
|
|
61
|
-
"files",
|
|
62
|
-
"id",
|
|
63
|
-
"status",
|
|
64
|
-
"success",
|
|
65
|
-
"zipFile"
|
|
66
73
|
]
|
|
67
74
|
},
|
|
68
75
|
"FileResponse": {
|
|
@@ -231,6 +238,68 @@
|
|
|
231
238
|
"problem"
|
|
232
239
|
],
|
|
233
240
|
"additionalProperties": false
|
|
241
|
+
},
|
|
242
|
+
"MetadataRetrieveResultJson": {
|
|
243
|
+
"type": "object",
|
|
244
|
+
"additionalProperties": false,
|
|
245
|
+
"properties": {
|
|
246
|
+
"zipFilePath": {
|
|
247
|
+
"type": "string"
|
|
248
|
+
},
|
|
249
|
+
"files": {
|
|
250
|
+
"type": "array",
|
|
251
|
+
"items": {
|
|
252
|
+
"$ref": "#/definitions/FileResponse"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"done": {
|
|
256
|
+
"type": "boolean"
|
|
257
|
+
},
|
|
258
|
+
"fileProperties": {
|
|
259
|
+
"anyOf": [
|
|
260
|
+
{
|
|
261
|
+
"$ref": "#/definitions/FileProperties"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"type": "array",
|
|
265
|
+
"items": {
|
|
266
|
+
"$ref": "#/definitions/FileProperties"
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
"id": {
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
"status": {
|
|
275
|
+
"$ref": "#/definitions/RequestStatus"
|
|
276
|
+
},
|
|
277
|
+
"success": {
|
|
278
|
+
"type": "boolean"
|
|
279
|
+
},
|
|
280
|
+
"messages": {
|
|
281
|
+
"anyOf": [
|
|
282
|
+
{
|
|
283
|
+
"type": "array",
|
|
284
|
+
"items": {
|
|
285
|
+
"$ref": "#/definitions/RetrieveMessage"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"$ref": "#/definitions/RetrieveMessage"
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"required": [
|
|
295
|
+
"done",
|
|
296
|
+
"fileProperties",
|
|
297
|
+
"files",
|
|
298
|
+
"id",
|
|
299
|
+
"status",
|
|
300
|
+
"success",
|
|
301
|
+
"zipFilePath"
|
|
302
|
+
]
|
|
234
303
|
}
|
|
235
304
|
}
|
|
236
305
|
}
|