@salesforce/packaging 5.0.9-spi.6 → 5.0.9-spi.7
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.
|
@@ -245,11 +245,11 @@ export type PackageType = 'Managed' | 'Unlocked';
|
|
|
245
245
|
* The distribution type of a package, controlling install-time security.
|
|
246
246
|
*
|
|
247
247
|
* The Tooling API `Package2.DistributionType` field can hold any of these values, but only
|
|
248
|
-
* `PublicSecure` and `Limited` may be set from the CLI on create/update — `Public`
|
|
249
|
-
*
|
|
250
|
-
*
|
|
248
|
+
* `PublicSecure` and `Limited` may be set from the CLI on create/update — `Public` is a backend-only
|
|
249
|
+
* state (the legacy default the backend assigns). See {@link SettableDistributionType} for the
|
|
250
|
+
* CLI-settable subset.
|
|
251
251
|
*/
|
|
252
|
-
export type DistributionType = 'Public' | 'PublicSecure' | 'Limited'
|
|
252
|
+
export type DistributionType = 'Public' | 'PublicSecure' | 'Limited';
|
|
253
253
|
/** The subset of {@link DistributionType} values a user may set via the CLI on create and update. */
|
|
254
254
|
export type SettableDistributionType = Extract<DistributionType, 'PublicSecure' | 'Limited'>;
|
|
255
255
|
/** The distribution type values a user may set via the CLI on create and update. */
|