@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.
- package/README.md +1 -1
- package/dist/index.cjs +29 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +29 -8
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +19 -6
- package/dist/sdk-config/index.cjs.map +1 -1
- package/dist/sdk-config/index.js +19 -6
- package/dist/sdk-config/index.js.map +1 -1
- package/dist/sdk-config/v1/index.cjs +19 -6
- package/dist/sdk-config/v1/index.cjs.map +1 -1
- package/dist/sdk-config/v1/index.d.cts +5684 -80
- package/dist/sdk-config/v1/index.d.ts +5684 -80
- package/dist/sdk-config/v1/index.js +19 -6
- package/dist/sdk-config/v1/index.js.map +1 -1
- package/dist/sdk-config-ir/index.cjs +10 -2
- package/dist/sdk-config-ir/index.cjs.map +1 -1
- package/dist/sdk-config-ir/index.js +10 -2
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +10 -2
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +1040 -2
- package/dist/sdk-config-ir/v1/index.d.ts +1040 -2
- package/dist/sdk-config-ir/v1/index.js +10 -2
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -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({
|