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