Skip to content

Commit 21dbe55

Browse files
committed
chore: schema and snapshot
1 parent 466fab5 commit 21dbe55

3 files changed

Lines changed: 40 additions & 1 deletion

File tree

command-snapshot.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[
2+
{
3+
"alias": [],
4+
"command": "data:setup:transfer",
5+
"flagAliases": [],
6+
"flagChars": ["e", "i", "o", "s", "v", "x"],
7+
"flags": [
8+
"api-version",
9+
"definition-identifier",
10+
"extended-definition-file",
11+
"filter-value",
12+
"flags-dir",
13+
"json",
14+
"source-org",
15+
"target-org",
16+
"version"
17+
],
18+
"plugin": "plugin-data-setup-transfer"
19+
}
20+
]

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
"bin": "sf",
4141
"topicSeparator": " ",
4242
"devPlugins": [
43-
"@oclif/plugin-help"
43+
"@oclif/plugin-help",
44+
"@oclif/plugin-command-snapshot"
4445
],
4546
"topics": {
4647
"data": {

schemas/data-setup-transfer.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$ref": "#/definitions/SetupTransferResult",
4+
"definitions": {
5+
"SetupTransferResult": {
6+
"type": "object",
7+
"properties": {
8+
"success": {
9+
"type": "boolean"
10+
},
11+
"exportResponse": {},
12+
"importResponse": {}
13+
},
14+
"required": ["success", "exportResponse", "importResponse"],
15+
"additionalProperties": false
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)