@postman/sdk-config 0.18.0 → 0.19.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.
@@ -1309,6 +1309,14 @@ var zipOutputSchema = z.strictObject({
1309
1309
  ...distributionShape,
1310
1310
  ...credentialResolutionShape
1311
1311
  });
1312
+ var localAliasOutputSchema = zipOutputSchema.extend({
1313
+ delivery: z.literal("local").describe('Alias of "zip": the package on the local machine.')
1314
+ }).transform(
1315
+ (output) => ({
1316
+ ...output,
1317
+ delivery: "zip"
1318
+ })
1319
+ );
1312
1320
  var githubDeliverySchema = z.strictObject({
1313
1321
  delivery: z.literal("github").describe("Delivers the generated SDK to GitHub."),
1314
1322
  github: githubOutputSchema.describe("GitHub repository delivery settings."),
@@ -1318,9 +1326,9 @@ var githubDeliverySchema = z.strictObject({
1318
1326
  });
1319
1327
  var outputConfigSchema = z.discriminatedUnion(
1320
1328
  "delivery",
1321
- [filesOutputSchema, zipOutputSchema, githubDeliverySchema],
1329
+ [filesOutputSchema, zipOutputSchema, githubDeliverySchema, localAliasOutputSchema],
1322
1330
  {
1323
- error: 'output.delivery must be one of "files", "zip", or "github"'
1331
+ error: 'output.delivery must be one of "files", "zip", "local", or "github"'
1324
1332
  }
1325
1333
  );
1326
1334
  var replayConfigSchema = z.strictObject({