@salesforce/plugin-sobject 1.4.0 → 1.4.2
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/lib/commands/schema/generate/field.d.ts +1 -1
- package/lib/commands/schema/generate/tab.d.ts +1 -1
- package/lib/shared/convert.d.ts +1 -1
- package/lib/shared/fs.d.ts +1 -1
- package/lib/shared/prompts/picklist.d.ts +1 -1
- package/lib/shared/prompts/relationshipField.d.ts +1 -1
- package/lib/shared/types.d.ts +1 -1
- package/npm-shrinkwrap.json +483 -2267
- package/oclif.lock +250 -573
- package/oclif.manifest.json +1 -1
- package/package.json +6 -7
- package/schemas/schema-generate-field.json +0 -109
- package/schemas/schema-generate-platformevent.json +0 -59
- package/schemas/schema-generate-sobject.json +0 -141
- package/schemas/schema-generate-tab.json +0 -28
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-sobject",
|
|
3
3
|
"description": "Create objects, fields, tabs, etc",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.2",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@inquirer/input": "^2.1.6",
|
|
10
10
|
"@inquirer/select": "^2.3.2",
|
|
11
11
|
"@oclif/core": "^3.26.5",
|
|
12
|
-
"@salesforce/core": "^7.3.
|
|
12
|
+
"@salesforce/core": "^7.3.6",
|
|
13
13
|
"@salesforce/kit": "^3.1.0",
|
|
14
14
|
"@salesforce/sf-plugins-core": "^9.0.7",
|
|
15
15
|
"fast-glob": "^3.3.2",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"@oclif/plugin-command-snapshot": "^5.1.7",
|
|
21
21
|
"@salesforce/cli-plugins-testkit": "^5.3.2",
|
|
22
22
|
"@salesforce/dev-scripts": "^9.0.0",
|
|
23
|
-
"@salesforce/plugin-command-reference": "^3.0.
|
|
23
|
+
"@salesforce/plugin-command-reference": "^3.0.84",
|
|
24
24
|
"@salesforce/types": "^1.1.0",
|
|
25
25
|
"eslint-plugin-sf-plugin": "^1.18.3",
|
|
26
|
-
"oclif": "^4.10.
|
|
26
|
+
"oclif": "^4.10.7",
|
|
27
27
|
"ts-node": "^10.9.2",
|
|
28
28
|
"typescript": "^5.4.5"
|
|
29
29
|
},
|
|
@@ -150,7 +150,6 @@
|
|
|
150
150
|
"test:command-reference",
|
|
151
151
|
"test:deprecation-policy",
|
|
152
152
|
"lint",
|
|
153
|
-
"test:json-schema",
|
|
154
153
|
"link-check"
|
|
155
154
|
]
|
|
156
155
|
},
|
|
@@ -211,7 +210,7 @@
|
|
|
211
210
|
"exports": "./lib/index.js",
|
|
212
211
|
"type": "module",
|
|
213
212
|
"sfdx": {
|
|
214
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-sobject/1.4.
|
|
215
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-sobject/1.4.
|
|
213
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-sobject/1.4.2.crt",
|
|
214
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-sobject/1.4.2.sig"
|
|
216
215
|
}
|
|
217
216
|
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$ref": "#/definitions/FieldGenerateResult",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"FieldGenerateResult": {
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"field": {
|
|
9
|
-
"type": "object",
|
|
10
|
-
"additionalProperties": false,
|
|
11
|
-
"properties": {
|
|
12
|
-
"type": {
|
|
13
|
-
"$ref": "#/definitions/FieldType"
|
|
14
|
-
},
|
|
15
|
-
"label": {
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
|
-
"description": {
|
|
19
|
-
"type": "string"
|
|
20
|
-
},
|
|
21
|
-
"trackHistory": {
|
|
22
|
-
"type": "boolean"
|
|
23
|
-
},
|
|
24
|
-
"inlineHelpText": {
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"required": {
|
|
28
|
-
"type": "boolean"
|
|
29
|
-
},
|
|
30
|
-
"fullName": {
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"scale": {
|
|
34
|
-
"type": "number"
|
|
35
|
-
},
|
|
36
|
-
"precision": {
|
|
37
|
-
"type": "number"
|
|
38
|
-
},
|
|
39
|
-
"visibleLines": {
|
|
40
|
-
"type": "number"
|
|
41
|
-
},
|
|
42
|
-
"length": {
|
|
43
|
-
"type": "number"
|
|
44
|
-
},
|
|
45
|
-
"unique": {
|
|
46
|
-
"type": "boolean"
|
|
47
|
-
},
|
|
48
|
-
"externalId": {
|
|
49
|
-
"type": "boolean"
|
|
50
|
-
},
|
|
51
|
-
"startingNumber": {
|
|
52
|
-
"type": "number"
|
|
53
|
-
},
|
|
54
|
-
"defaultValue": {
|
|
55
|
-
"type": "string"
|
|
56
|
-
},
|
|
57
|
-
"securityClassification": {
|
|
58
|
-
"type": "string"
|
|
59
|
-
},
|
|
60
|
-
"displayLocationInDecimal": {
|
|
61
|
-
"type": "boolean"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"required": ["type"]
|
|
65
|
-
},
|
|
66
|
-
"path": {
|
|
67
|
-
"type": "string"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"required": ["field", "path"],
|
|
71
|
-
"additionalProperties": false
|
|
72
|
-
},
|
|
73
|
-
"FieldType": {
|
|
74
|
-
"type": "string",
|
|
75
|
-
"enum": [
|
|
76
|
-
"AutoNumber",
|
|
77
|
-
"Lookup",
|
|
78
|
-
"MasterDetail",
|
|
79
|
-
"Checkbox",
|
|
80
|
-
"Currency",
|
|
81
|
-
"Date",
|
|
82
|
-
"DateTime",
|
|
83
|
-
"Email",
|
|
84
|
-
"Number",
|
|
85
|
-
"Percent",
|
|
86
|
-
"Phone",
|
|
87
|
-
"Picklist",
|
|
88
|
-
"MultiselectPicklist",
|
|
89
|
-
"Text",
|
|
90
|
-
"TextArea",
|
|
91
|
-
"LongTextArea",
|
|
92
|
-
"Html",
|
|
93
|
-
"Url",
|
|
94
|
-
"EncryptedText",
|
|
95
|
-
"Summary",
|
|
96
|
-
"Hierarchy",
|
|
97
|
-
"File",
|
|
98
|
-
"MetadataRelationship",
|
|
99
|
-
"Location",
|
|
100
|
-
"ExternalLookup",
|
|
101
|
-
"IndirectLookup",
|
|
102
|
-
"CustomDataType",
|
|
103
|
-
"Time",
|
|
104
|
-
"Address",
|
|
105
|
-
"Array"
|
|
106
|
-
]
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$ref": "#/definitions/PlatformEventGenerateResult",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"PlatformEventGenerateResult": {
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"object": {
|
|
9
|
-
"$ref": "#/definitions/SaveablePlatformEvent"
|
|
10
|
-
},
|
|
11
|
-
"path": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"required": ["object", "path"],
|
|
16
|
-
"additionalProperties": false
|
|
17
|
-
},
|
|
18
|
-
"SaveablePlatformEvent": {
|
|
19
|
-
"type": "object",
|
|
20
|
-
"properties": {
|
|
21
|
-
"fullName": {
|
|
22
|
-
"type": "string"
|
|
23
|
-
},
|
|
24
|
-
"label": {
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"deploymentStatus": {
|
|
28
|
-
"$ref": "#/definitions/DeploymentStatus"
|
|
29
|
-
},
|
|
30
|
-
"description": {
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"pluralLabel": {
|
|
34
|
-
"type": "string"
|
|
35
|
-
},
|
|
36
|
-
"eventType": {
|
|
37
|
-
"$ref": "#/definitions/PlatformEventType"
|
|
38
|
-
},
|
|
39
|
-
"publishBehavior": {
|
|
40
|
-
"$ref": "#/definitions/PlatformEventPublishBehavior"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"additionalProperties": false,
|
|
44
|
-
"description": "This type represents a PlatformEvent that can deploy."
|
|
45
|
-
},
|
|
46
|
-
"DeploymentStatus": {
|
|
47
|
-
"type": "string",
|
|
48
|
-
"enum": ["InDevelopment", "Deployed"]
|
|
49
|
-
},
|
|
50
|
-
"PlatformEventType": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"enum": ["HighVolume", "StandardVolume", "ExternalEvent"]
|
|
53
|
-
},
|
|
54
|
-
"PlatformEventPublishBehavior": {
|
|
55
|
-
"type": "string",
|
|
56
|
-
"enum": ["PublishAfterCommit", "PublishImmediately"]
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$ref": "#/definitions/CustomObjectGenerateResult",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"CustomObjectGenerateResult": {
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"object": {
|
|
9
|
-
"$ref": "#/definitions/SaveableCustomObject"
|
|
10
|
-
},
|
|
11
|
-
"path": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"required": ["object", "path"],
|
|
16
|
-
"additionalProperties": false
|
|
17
|
-
},
|
|
18
|
-
"SaveableCustomObject": {
|
|
19
|
-
"type": "object",
|
|
20
|
-
"additionalProperties": false,
|
|
21
|
-
"properties": {
|
|
22
|
-
"nameField": {
|
|
23
|
-
"$ref": "#/definitions/NameField"
|
|
24
|
-
},
|
|
25
|
-
"label": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"deploymentStatus": {
|
|
29
|
-
"$ref": "#/definitions/DeploymentStatus"
|
|
30
|
-
},
|
|
31
|
-
"description": {
|
|
32
|
-
"type": "string"
|
|
33
|
-
},
|
|
34
|
-
"enableHistory": {
|
|
35
|
-
"type": "boolean"
|
|
36
|
-
},
|
|
37
|
-
"enableActivities": {
|
|
38
|
-
"type": "boolean"
|
|
39
|
-
},
|
|
40
|
-
"enableBulkApi": {
|
|
41
|
-
"type": "boolean"
|
|
42
|
-
},
|
|
43
|
-
"enableFeeds": {
|
|
44
|
-
"type": "boolean"
|
|
45
|
-
},
|
|
46
|
-
"enableReports": {
|
|
47
|
-
"type": "boolean"
|
|
48
|
-
},
|
|
49
|
-
"enableSearch": {
|
|
50
|
-
"type": "boolean"
|
|
51
|
-
},
|
|
52
|
-
"enableStreamingApi": {
|
|
53
|
-
"type": "boolean"
|
|
54
|
-
},
|
|
55
|
-
"enableSharing": {
|
|
56
|
-
"type": "boolean"
|
|
57
|
-
},
|
|
58
|
-
"pluralLabel": {
|
|
59
|
-
"type": "string"
|
|
60
|
-
},
|
|
61
|
-
"sharingModel": {
|
|
62
|
-
"$ref": "#/definitions/SharingModel"
|
|
63
|
-
},
|
|
64
|
-
"fullName": {
|
|
65
|
-
"type": "string"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"required": ["nameField"],
|
|
69
|
-
"description": "This type represents a \"classical\" CustomObject subset that can deploy."
|
|
70
|
-
},
|
|
71
|
-
"NameField": {
|
|
72
|
-
"type": "object",
|
|
73
|
-
"properties": {
|
|
74
|
-
"label": {
|
|
75
|
-
"type": "string"
|
|
76
|
-
},
|
|
77
|
-
"type": {
|
|
78
|
-
"$ref": "#/definitions/FieldType"
|
|
79
|
-
},
|
|
80
|
-
"displayFormat": {
|
|
81
|
-
"type": "string"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"additionalProperties": false,
|
|
85
|
-
"description": "Used by classical CustomObject"
|
|
86
|
-
},
|
|
87
|
-
"FieldType": {
|
|
88
|
-
"type": "string",
|
|
89
|
-
"enum": [
|
|
90
|
-
"AutoNumber",
|
|
91
|
-
"Lookup",
|
|
92
|
-
"MasterDetail",
|
|
93
|
-
"Checkbox",
|
|
94
|
-
"Currency",
|
|
95
|
-
"Date",
|
|
96
|
-
"DateTime",
|
|
97
|
-
"Email",
|
|
98
|
-
"Number",
|
|
99
|
-
"Percent",
|
|
100
|
-
"Phone",
|
|
101
|
-
"Picklist",
|
|
102
|
-
"MultiselectPicklist",
|
|
103
|
-
"Text",
|
|
104
|
-
"TextArea",
|
|
105
|
-
"LongTextArea",
|
|
106
|
-
"Html",
|
|
107
|
-
"Url",
|
|
108
|
-
"EncryptedText",
|
|
109
|
-
"Summary",
|
|
110
|
-
"Hierarchy",
|
|
111
|
-
"File",
|
|
112
|
-
"MetadataRelationship",
|
|
113
|
-
"Location",
|
|
114
|
-
"ExternalLookup",
|
|
115
|
-
"IndirectLookup",
|
|
116
|
-
"CustomDataType",
|
|
117
|
-
"Time",
|
|
118
|
-
"Address",
|
|
119
|
-
"Array"
|
|
120
|
-
]
|
|
121
|
-
},
|
|
122
|
-
"DeploymentStatus": {
|
|
123
|
-
"type": "string",
|
|
124
|
-
"enum": ["InDevelopment", "Deployed"]
|
|
125
|
-
},
|
|
126
|
-
"SharingModel": {
|
|
127
|
-
"type": "string",
|
|
128
|
-
"enum": [
|
|
129
|
-
"Private",
|
|
130
|
-
"Read",
|
|
131
|
-
"ReadSelect",
|
|
132
|
-
"ReadWrite",
|
|
133
|
-
"ReadWriteTransfer",
|
|
134
|
-
"FullAccess",
|
|
135
|
-
"ControlledByParent",
|
|
136
|
-
"ControlledByLeadOrContact",
|
|
137
|
-
"ControlledByCampaign"
|
|
138
|
-
]
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$ref": "#/definitions/GenerateTabResult",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"GenerateTabResult": {
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"tab": {
|
|
9
|
-
"type": "object",
|
|
10
|
-
"properties": {
|
|
11
|
-
"customObject": {
|
|
12
|
-
"type": "boolean"
|
|
13
|
-
},
|
|
14
|
-
"motif": {
|
|
15
|
-
"type": "string"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"additionalProperties": false
|
|
19
|
-
},
|
|
20
|
-
"path": {
|
|
21
|
-
"type": "string"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"required": ["tab", "path"],
|
|
25
|
-
"additionalProperties": false
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|