@salesforce/core 8.28.1 → 8.28.3

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.
@@ -34,6 +34,18 @@ exports.ScratchOrgDefSchema = zod_1.z
34
34
  return validOptions.includes(val.toLowerCase());
35
35
  }, {
36
36
  message: 'Invalid Salesforce edition. Valid options are: developer, enterprise, group, partner developer, partner enterprise, partner group, partner professional, professional.',
37
+ })
38
+ .meta({
39
+ enum: [
40
+ 'Developer',
41
+ 'Enterprise',
42
+ 'Group',
43
+ 'Professional',
44
+ 'Partner Developer',
45
+ 'Partner Enterprise',
46
+ 'Partner Group',
47
+ 'Partner Professional',
48
+ ],
37
49
  })
38
50
  .describe('The Salesforce edition of the scratch org.'),
39
51
  country: zod_1.z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/core",
3
- "version": "8.28.1",
3
+ "version": "8.28.3",
4
4
  "description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
5
5
  "main": "lib/index",
6
6
  "types": "lib/index.d.ts",
@@ -8,6 +8,16 @@
8
8
  "type": "string"
9
9
  },
10
10
  "edition": {
11
+ "enum": [
12
+ "Developer",
13
+ "Enterprise",
14
+ "Group",
15
+ "Professional",
16
+ "Partner Developer",
17
+ "Partner Enterprise",
18
+ "Partner Group",
19
+ "Partner Professional"
20
+ ],
11
21
  "description": "The Salesforce edition of the scratch org.",
12
22
  "type": "string"
13
23
  },