@salesforce/plugin-sobject 1.3.7 → 1.4.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.
Files changed (42) hide show
  1. package/README.md +4 -4
  2. package/lib/commands/schema/generate/field.d.ts +2 -3
  3. package/lib/commands/schema/generate/field.js.map +1 -1
  4. package/lib/commands/schema/generate/platformevent.js +1 -1
  5. package/lib/commands/schema/generate/platformevent.js.map +1 -1
  6. package/lib/commands/schema/generate/sobject.js +1 -1
  7. package/lib/commands/schema/generate/sobject.js.map +1 -1
  8. package/lib/commands/schema/generate/tab.d.ts +1 -1
  9. package/lib/commands/schema/generate/tab.js +1 -1
  10. package/lib/commands/schema/generate/tab.js.map +1 -1
  11. package/lib/shared/convert.d.ts +1 -1
  12. package/lib/shared/fs.d.ts +1 -1
  13. package/lib/shared/prompts/apiName.d.ts +1 -1
  14. package/lib/shared/prompts/apiName.js +1 -1
  15. package/lib/shared/prompts/apiName.js.map +1 -1
  16. package/lib/shared/prompts/description.d.ts +1 -1
  17. package/lib/shared/prompts/description.js +1 -1
  18. package/lib/shared/prompts/description.js.map +1 -1
  19. package/lib/shared/prompts/fields/number.d.ts +1 -1
  20. package/lib/shared/prompts/fields/number.js +1 -1
  21. package/lib/shared/prompts/fields/number.js.map +1 -1
  22. package/lib/shared/prompts/nameField.d.ts +1 -1
  23. package/lib/shared/prompts/nameField.js +1 -1
  24. package/lib/shared/prompts/nameField.js.map +1 -1
  25. package/lib/shared/prompts/picklist.d.ts +1 -1
  26. package/lib/shared/prompts/picklist.js +7 -1
  27. package/lib/shared/prompts/picklist.js.map +1 -1
  28. package/lib/shared/prompts/plural.d.ts +1 -1
  29. package/lib/shared/prompts/plural.js +1 -1
  30. package/lib/shared/prompts/plural.js.map +1 -1
  31. package/lib/shared/prompts/relationshipField.d.ts +1 -1
  32. package/lib/shared/prompts/relationshipField.js +1 -1
  33. package/lib/shared/prompts/relationshipField.js.map +1 -1
  34. package/lib/shared/types.d.ts +4 -13
  35. package/npm-shrinkwrap.json +341 -1335
  36. package/oclif.lock +53 -231
  37. package/oclif.manifest.json +1 -1
  38. package/package.json +10 -11
  39. package/schemas/schema-generate-field.json +0 -74
  40. package/schemas/schema-generate-platformevent.json +0 -47
  41. package/schemas/schema-generate-sobject.json +0 -88
  42. package/schemas/schema-generate-tab.json +0 -28
@@ -1,47 +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", "null"]
23
- },
24
- "label": {
25
- "type": ["string", "null"]
26
- },
27
- "deploymentStatus": {
28
- "type": ["string", "null"]
29
- },
30
- "description": {
31
- "type": ["string", "null"]
32
- },
33
- "pluralLabel": {
34
- "type": ["string", "null"]
35
- },
36
- "eventType": {
37
- "type": ["string", "null"]
38
- },
39
- "publishBehavior": {
40
- "type": ["string", "null"]
41
- }
42
- },
43
- "additionalProperties": false,
44
- "description": "There are a lot of properties that we don't, and some that jsforce thinks are mandatory that aren't. Many apply to the various sub-species (mdt, external, events)\n\nThis type represents a PlatformEvent that can deploy."
45
- }
46
- }
47
- }
@@ -1,88 +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", "null"]
27
- },
28
- "deploymentStatus": {
29
- "type": ["string", "null"]
30
- },
31
- "description": {
32
- "type": ["string", "null"]
33
- },
34
- "enableHistory": {
35
- "type": ["boolean", "null"]
36
- },
37
- "enableActivities": {
38
- "type": ["boolean", "null"]
39
- },
40
- "enableBulkApi": {
41
- "type": ["boolean", "null"]
42
- },
43
- "enableFeeds": {
44
- "type": ["boolean", "null"]
45
- },
46
- "enableReports": {
47
- "type": ["boolean", "null"]
48
- },
49
- "enableSearch": {
50
- "type": ["boolean", "null"]
51
- },
52
- "enableStreamingApi": {
53
- "type": ["boolean", "null"]
54
- },
55
- "enableSharing": {
56
- "type": ["boolean", "null"]
57
- },
58
- "pluralLabel": {
59
- "type": ["string", "null"]
60
- },
61
- "sharingModel": {
62
- "type": ["string", "null"]
63
- },
64
- "fullName": {
65
- "type": ["string", "null"]
66
- }
67
- },
68
- "required": ["nameField"],
69
- "description": "There are a lot of properties that we don't, and some that jsforce thinks are mandatory that aren't. Many apply to the various sub-species (mdt, external, events)\n\nThis type represents a \"classical\" CustomObject subset that can deploy."
70
- },
71
- "NameField": {
72
- "type": "object",
73
- "properties": {
74
- "label": {
75
- "type": ["string", "null"]
76
- },
77
- "type": {
78
- "type": ["string", "null"]
79
- },
80
- "displayFormat": {
81
- "type": ["string", "null"]
82
- }
83
- },
84
- "additionalProperties": false,
85
- "description": "Used by classical CustomObject"
86
- }
87
- }
88
- }
@@ -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", "null"]
13
- },
14
- "motif": {
15
- "type": ["string", "null"]
16
- }
17
- },
18
- "additionalProperties": false
19
- },
20
- "path": {
21
- "type": "string"
22
- }
23
- },
24
- "required": ["tab", "path"],
25
- "additionalProperties": false
26
- }
27
- }
28
- }