@salesforce/plugin-sobject 1.3.7 → 1.4.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/README.md +4 -4
- package/lib/commands/schema/generate/field.d.ts +2 -3
- package/lib/commands/schema/generate/field.js.map +1 -1
- package/lib/commands/schema/generate/platformevent.js +1 -1
- package/lib/commands/schema/generate/platformevent.js.map +1 -1
- package/lib/commands/schema/generate/sobject.js +1 -1
- package/lib/commands/schema/generate/sobject.js.map +1 -1
- package/lib/commands/schema/generate/tab.d.ts +1 -1
- package/lib/commands/schema/generate/tab.js +1 -1
- package/lib/commands/schema/generate/tab.js.map +1 -1
- package/lib/shared/convert.d.ts +1 -1
- package/lib/shared/fs.d.ts +1 -1
- package/lib/shared/prompts/apiName.d.ts +1 -1
- package/lib/shared/prompts/apiName.js +1 -1
- package/lib/shared/prompts/apiName.js.map +1 -1
- package/lib/shared/prompts/description.d.ts +1 -1
- package/lib/shared/prompts/description.js +1 -1
- package/lib/shared/prompts/description.js.map +1 -1
- package/lib/shared/prompts/fields/number.d.ts +1 -1
- package/lib/shared/prompts/fields/number.js +1 -1
- package/lib/shared/prompts/fields/number.js.map +1 -1
- package/lib/shared/prompts/nameField.d.ts +1 -1
- package/lib/shared/prompts/nameField.js +1 -1
- package/lib/shared/prompts/nameField.js.map +1 -1
- package/lib/shared/prompts/picklist.d.ts +1 -1
- package/lib/shared/prompts/picklist.js +7 -1
- package/lib/shared/prompts/picklist.js.map +1 -1
- package/lib/shared/prompts/plural.d.ts +1 -1
- package/lib/shared/prompts/plural.js +1 -1
- package/lib/shared/prompts/plural.js.map +1 -1
- package/lib/shared/prompts/relationshipField.d.ts +1 -1
- package/lib/shared/prompts/relationshipField.js +1 -1
- package/lib/shared/prompts/relationshipField.js.map +1 -1
- package/lib/shared/types.d.ts +4 -13
- package/npm-shrinkwrap.json +341 -1335
- package/oclif.lock +56 -259
- package/oclif.manifest.json +1 -1
- package/package.json +10 -10
- package/schemas/schema-generate-field.json +54 -19
- package/schemas/schema-generate-platformevent.json +20 -8
- package/schemas/schema-generate-sobject.json +71 -18
- package/schemas/schema-generate-tab.json +2 -2
|
@@ -9,56 +9,56 @@
|
|
|
9
9
|
"type": "object",
|
|
10
10
|
"additionalProperties": false,
|
|
11
11
|
"properties": {
|
|
12
|
-
"displayLocationInDecimal": {
|
|
13
|
-
"type": "boolean"
|
|
14
|
-
},
|
|
15
12
|
"type": {
|
|
16
|
-
"
|
|
13
|
+
"$ref": "#/definitions/FieldType"
|
|
17
14
|
},
|
|
18
15
|
"label": {
|
|
19
|
-
"type":
|
|
16
|
+
"type": "string"
|
|
20
17
|
},
|
|
21
18
|
"description": {
|
|
22
|
-
"type":
|
|
19
|
+
"type": "string"
|
|
23
20
|
},
|
|
24
21
|
"trackHistory": {
|
|
25
|
-
"type":
|
|
22
|
+
"type": "boolean"
|
|
26
23
|
},
|
|
27
24
|
"inlineHelpText": {
|
|
28
|
-
"type":
|
|
25
|
+
"type": "string"
|
|
29
26
|
},
|
|
30
27
|
"required": {
|
|
31
|
-
"type":
|
|
28
|
+
"type": "boolean"
|
|
32
29
|
},
|
|
33
30
|
"fullName": {
|
|
34
|
-
"type":
|
|
31
|
+
"type": "string"
|
|
35
32
|
},
|
|
36
33
|
"scale": {
|
|
37
|
-
"type":
|
|
34
|
+
"type": "number"
|
|
38
35
|
},
|
|
39
36
|
"precision": {
|
|
40
|
-
"type":
|
|
37
|
+
"type": "number"
|
|
41
38
|
},
|
|
42
39
|
"visibleLines": {
|
|
43
|
-
"type":
|
|
40
|
+
"type": "number"
|
|
44
41
|
},
|
|
45
42
|
"length": {
|
|
46
|
-
"type":
|
|
43
|
+
"type": "number"
|
|
47
44
|
},
|
|
48
45
|
"unique": {
|
|
49
|
-
"type":
|
|
46
|
+
"type": "boolean"
|
|
50
47
|
},
|
|
51
48
|
"externalId": {
|
|
52
|
-
"type":
|
|
49
|
+
"type": "boolean"
|
|
53
50
|
},
|
|
54
51
|
"startingNumber": {
|
|
55
|
-
"type":
|
|
52
|
+
"type": "number"
|
|
56
53
|
},
|
|
57
54
|
"defaultValue": {
|
|
58
|
-
"type":
|
|
55
|
+
"type": "string"
|
|
59
56
|
},
|
|
60
57
|
"securityClassification": {
|
|
61
|
-
"type":
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"displayLocationInDecimal": {
|
|
61
|
+
"type": "boolean"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"required": ["type"]
|
|
@@ -69,6 +69,41 @@
|
|
|
69
69
|
},
|
|
70
70
|
"required": ["field", "path"],
|
|
71
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
|
+
]
|
|
72
107
|
}
|
|
73
108
|
}
|
|
74
109
|
}
|
|
@@ -19,29 +19,41 @@
|
|
|
19
19
|
"type": "object",
|
|
20
20
|
"properties": {
|
|
21
21
|
"fullName": {
|
|
22
|
-
"type":
|
|
22
|
+
"type": "string"
|
|
23
23
|
},
|
|
24
24
|
"label": {
|
|
25
|
-
"type":
|
|
25
|
+
"type": "string"
|
|
26
26
|
},
|
|
27
27
|
"deploymentStatus": {
|
|
28
|
-
"
|
|
28
|
+
"$ref": "#/definitions/DeploymentStatus"
|
|
29
29
|
},
|
|
30
30
|
"description": {
|
|
31
|
-
"type":
|
|
31
|
+
"type": "string"
|
|
32
32
|
},
|
|
33
33
|
"pluralLabel": {
|
|
34
|
-
"type":
|
|
34
|
+
"type": "string"
|
|
35
35
|
},
|
|
36
36
|
"eventType": {
|
|
37
|
-
"
|
|
37
|
+
"$ref": "#/definitions/PlatformEventType"
|
|
38
38
|
},
|
|
39
39
|
"publishBehavior": {
|
|
40
|
-
"
|
|
40
|
+
"$ref": "#/definitions/PlatformEventPublishBehavior"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"additionalProperties": false,
|
|
44
|
-
"description": "
|
|
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"]
|
|
45
57
|
}
|
|
46
58
|
}
|
|
47
59
|
}
|
|
@@ -23,66 +23,119 @@
|
|
|
23
23
|
"$ref": "#/definitions/NameField"
|
|
24
24
|
},
|
|
25
25
|
"label": {
|
|
26
|
-
"type":
|
|
26
|
+
"type": "string"
|
|
27
27
|
},
|
|
28
28
|
"deploymentStatus": {
|
|
29
|
-
"
|
|
29
|
+
"$ref": "#/definitions/DeploymentStatus"
|
|
30
30
|
},
|
|
31
31
|
"description": {
|
|
32
|
-
"type":
|
|
32
|
+
"type": "string"
|
|
33
33
|
},
|
|
34
34
|
"enableHistory": {
|
|
35
|
-
"type":
|
|
35
|
+
"type": "boolean"
|
|
36
36
|
},
|
|
37
37
|
"enableActivities": {
|
|
38
|
-
"type":
|
|
38
|
+
"type": "boolean"
|
|
39
39
|
},
|
|
40
40
|
"enableBulkApi": {
|
|
41
|
-
"type":
|
|
41
|
+
"type": "boolean"
|
|
42
42
|
},
|
|
43
43
|
"enableFeeds": {
|
|
44
|
-
"type":
|
|
44
|
+
"type": "boolean"
|
|
45
45
|
},
|
|
46
46
|
"enableReports": {
|
|
47
|
-
"type":
|
|
47
|
+
"type": "boolean"
|
|
48
48
|
},
|
|
49
49
|
"enableSearch": {
|
|
50
|
-
"type":
|
|
50
|
+
"type": "boolean"
|
|
51
51
|
},
|
|
52
52
|
"enableStreamingApi": {
|
|
53
|
-
"type":
|
|
53
|
+
"type": "boolean"
|
|
54
54
|
},
|
|
55
55
|
"enableSharing": {
|
|
56
|
-
"type":
|
|
56
|
+
"type": "boolean"
|
|
57
57
|
},
|
|
58
58
|
"pluralLabel": {
|
|
59
|
-
"type":
|
|
59
|
+
"type": "string"
|
|
60
60
|
},
|
|
61
61
|
"sharingModel": {
|
|
62
|
-
"
|
|
62
|
+
"$ref": "#/definitions/SharingModel"
|
|
63
63
|
},
|
|
64
64
|
"fullName": {
|
|
65
|
-
"type":
|
|
65
|
+
"type": "string"
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
"required": ["nameField"],
|
|
69
|
-
"description": "
|
|
69
|
+
"description": "This type represents a \"classical\" CustomObject subset that can deploy."
|
|
70
70
|
},
|
|
71
71
|
"NameField": {
|
|
72
72
|
"type": "object",
|
|
73
73
|
"properties": {
|
|
74
74
|
"label": {
|
|
75
|
-
"type":
|
|
75
|
+
"type": "string"
|
|
76
76
|
},
|
|
77
77
|
"type": {
|
|
78
|
-
"
|
|
78
|
+
"$ref": "#/definitions/FieldType"
|
|
79
79
|
},
|
|
80
80
|
"displayFormat": {
|
|
81
|
-
"type":
|
|
81
|
+
"type": "string"
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"additionalProperties": false,
|
|
85
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
|
+
]
|
|
86
139
|
}
|
|
87
140
|
}
|
|
88
141
|
}
|