@postman/sdk-config 0.12.0 → 0.13.0
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 +18 -6
- package/dist/index.cjs +158 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +158 -15
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +156 -14
- package/dist/sdk-config/index.cjs.map +1 -1
- package/dist/sdk-config/index.d.cts +1 -1
- package/dist/sdk-config/index.d.ts +1 -1
- package/dist/sdk-config/index.js +156 -14
- package/dist/sdk-config/index.js.map +1 -1
- package/dist/sdk-config/v1/index.cjs +156 -14
- package/dist/sdk-config/v1/index.cjs.map +1 -1
- package/dist/sdk-config/v1/index.d.cts +400 -31
- package/dist/sdk-config/v1/index.d.ts +400 -31
- package/dist/sdk-config/v1/index.js +156 -14
- package/dist/sdk-config/v1/index.js.map +1 -1
- package/dist/sdk-config-ir/index.cjs +18 -5
- package/dist/sdk-config-ir/index.cjs.map +1 -1
- package/dist/sdk-config-ir/index.d.cts +1 -1
- package/dist/sdk-config-ir/index.d.ts +1 -1
- package/dist/sdk-config-ir/index.js +18 -5
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +18 -5
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +27 -4
- package/dist/sdk-config-ir/v1/index.d.ts +27 -4
- package/dist/sdk-config-ir/v1/index.js +18 -5
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/dist/{typescript-Byhn4MqL.d.cts → typescript-BFRxjAah.d.cts} +1 -0
- package/dist/{typescript-Byhn4MqL.d.ts → typescript-BFRxjAah.d.ts} +1 -0
- package/package.json +1 -1
- package/src/sdk-config/v1/README.md +32 -11
- package/src/sdk-config-ir/v1/README.md +36 -29
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as JsonObject, S as SdkConfigDiagnostic } from '../../typescript-
|
|
2
|
-
export { C as CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, a as CliDistributionConfig, b as CliDistributionGithubAppConfig, c as CliDistributionHomebrewConfig, d as CliDistributionScoopConfig, e as CliGenerationConfig, f as CliProfilesConfig, g as CliProfilesProvisionOperation, h as CsharpGenerationConfig, D as Dependency, G as GoGenerationConfig, J as JavaGenerationConfig, j as JsonValue, K as KotlinGenerationConfig, M as McpAvailabilityStatus, k as McpGenerationConfig, l as McpToolFilter, P as PackageConfig, m as PhpGenerationConfig, n as PlanModifiers, o as PythonGenerationConfig, R as RubyGenerationConfig, p as RustGenerationConfig, q as SwiftGenerationConfig, T as TerraformGenerationConfig, r as TypescriptGenerationConfig, s as cliDistributionConfigSchema, t as cliDistributionGithubAppSchema, u as cliDistributionHomebrewSchema, v as cliDistributionScoopSchema, w as cliGenerationConfigSchema, x as composerPackageNameSchema, y as csharpGenerationConfigSchema, z as dependencySchema, A as exactSemverSchema, B as githubActionsSecretNameSchema, E as goGenerationConfigSchema, F as goModulePathSchema, H as javaGenerationConfigSchema, I as jsonObjectSchema, L as jsonValueSchema, N as kotlinGenerationConfigSchema, O as mcpAvailabilityStatuses, Q as mcpGenerationConfigSchema, U as nonEmptyStringSchema, V as packageConfigSchema, W as phpGenerationConfigSchema, X as pythonGenerationConfigSchema, Y as relativePathSchema, Z as rubyGenerationConfigSchema, _ as rustGenerationConfigSchema, $ as swiftGenerationConfigSchema, a0 as terraformGenerationConfigSchema, a1 as typescriptGenerationConfigSchema } from '../../typescript-
|
|
1
|
+
import { i as JsonObject, S as SdkConfigDiagnostic } from '../../typescript-BFRxjAah.cjs';
|
|
2
|
+
export { C as CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, a as CliDistributionConfig, b as CliDistributionGithubAppConfig, c as CliDistributionHomebrewConfig, d as CliDistributionScoopConfig, e as CliGenerationConfig, f as CliProfilesConfig, g as CliProfilesProvisionOperation, h as CsharpGenerationConfig, D as Dependency, G as GoGenerationConfig, J as JavaGenerationConfig, j as JsonValue, K as KotlinGenerationConfig, M as McpAvailabilityStatus, k as McpGenerationConfig, l as McpToolFilter, P as PackageConfig, m as PhpGenerationConfig, n as PlanModifiers, o as PythonGenerationConfig, R as RubyGenerationConfig, p as RustGenerationConfig, q as SwiftGenerationConfig, T as TerraformGenerationConfig, r as TypescriptGenerationConfig, s as cliDistributionConfigSchema, t as cliDistributionGithubAppSchema, u as cliDistributionHomebrewSchema, v as cliDistributionScoopSchema, w as cliGenerationConfigSchema, x as composerPackageNameSchema, y as csharpGenerationConfigSchema, z as dependencySchema, A as exactSemverSchema, B as githubActionsSecretNameSchema, E as goGenerationConfigSchema, F as goModulePathSchema, H as javaGenerationConfigSchema, I as jsonObjectSchema, L as jsonValueSchema, N as kotlinGenerationConfigSchema, O as mcpAvailabilityStatuses, Q as mcpGenerationConfigSchema, U as nonEmptyStringSchema, V as packageConfigSchema, W as phpGenerationConfigSchema, X as pythonGenerationConfigSchema, Y as relativePathSchema, Z as rubyGenerationConfigSchema, _ as rustGenerationConfigSchema, $ as swiftGenerationConfigSchema, a0 as terraformGenerationConfigSchema, a1 as typescriptGenerationConfigSchema } from '../../typescript-BFRxjAah.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
declare const authSchemeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -674,6 +674,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
674
674
|
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
675
675
|
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
676
676
|
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
677
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
677
678
|
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
678
679
|
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
679
680
|
v1: "v1";
|
|
@@ -710,6 +711,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
710
711
|
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
711
712
|
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
712
713
|
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
714
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
713
715
|
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
714
716
|
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
715
717
|
v1: "v1";
|
|
@@ -1130,6 +1132,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1130
1132
|
bucket: z.ZodString;
|
|
1131
1133
|
tokenSecretName: z.ZodOptional<z.ZodString>;
|
|
1132
1134
|
}, z.core.$strict>>;
|
|
1135
|
+
githubAttestations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodBoolean]>>;
|
|
1133
1136
|
}, z.core.$strict>>;
|
|
1134
1137
|
delivery: z.ZodLiteral<"files">;
|
|
1135
1138
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -1197,6 +1200,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1197
1200
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1198
1201
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1199
1202
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
1203
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
1200
1204
|
registry: z.ZodLiteral<"rubygems">;
|
|
1201
1205
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
1202
1206
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1292,6 +1296,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1292
1296
|
bucket: z.ZodString;
|
|
1293
1297
|
tokenSecretName: z.ZodOptional<z.ZodString>;
|
|
1294
1298
|
}, z.core.$strict>>;
|
|
1299
|
+
githubAttestations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodBoolean]>>;
|
|
1295
1300
|
}, z.core.$strict>>;
|
|
1296
1301
|
delivery: z.ZodLiteral<"zip">;
|
|
1297
1302
|
fileName: z.ZodOptional<z.ZodString>;
|
|
@@ -1359,6 +1364,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1359
1364
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1360
1365
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1361
1366
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
1367
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
1362
1368
|
registry: z.ZodLiteral<"rubygems">;
|
|
1363
1369
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
1364
1370
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1454,6 +1460,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1454
1460
|
bucket: z.ZodString;
|
|
1455
1461
|
tokenSecretName: z.ZodOptional<z.ZodString>;
|
|
1456
1462
|
}, z.core.$strict>>;
|
|
1463
|
+
githubAttestations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodBoolean]>>;
|
|
1457
1464
|
}, z.core.$strict>>;
|
|
1458
1465
|
delivery: z.ZodLiteral<"github">;
|
|
1459
1466
|
github: z.ZodObject<{
|
|
@@ -1554,6 +1561,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1554
1561
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1555
1562
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1556
1563
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
1564
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
1557
1565
|
registry: z.ZodLiteral<"rubygems">;
|
|
1558
1566
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
1559
1567
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1772,9 +1780,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1772
1780
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1773
1781
|
fallbackToGeneratedErrorExamples: z.ZodOptional<z.ZodBoolean>;
|
|
1774
1782
|
fixtureSource: z.ZodOptional<z.ZodEnum<{
|
|
1783
|
+
auto: "auto";
|
|
1775
1784
|
synthetic: "synthetic";
|
|
1776
1785
|
recorded: "recorded";
|
|
1777
|
-
auto: "auto";
|
|
1778
1786
|
}>>;
|
|
1779
1787
|
}, z.core.$strict>>;
|
|
1780
1788
|
unitTests: z.ZodOptional<z.ZodObject<{
|
|
@@ -2685,9 +2693,9 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
2685
2693
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2686
2694
|
fallbackToGeneratedErrorExamples: z.ZodOptional<z.ZodBoolean>;
|
|
2687
2695
|
fixtureSource: z.ZodOptional<z.ZodEnum<{
|
|
2696
|
+
auto: "auto";
|
|
2688
2697
|
synthetic: "synthetic";
|
|
2689
2698
|
recorded: "recorded";
|
|
2690
|
-
auto: "auto";
|
|
2691
2699
|
}>>;
|
|
2692
2700
|
}, z.core.$strict>>;
|
|
2693
2701
|
unitTests: z.ZodOptional<z.ZodObject<{
|
|
@@ -3179,6 +3187,8 @@ declare const publishConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3179
3187
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
3180
3188
|
/** Generate registry publishing workflow files when publishing through GitHub delivery. */
|
|
3181
3189
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
3190
|
+
/** Use registry trusted publishing / OIDC instead of a static token secret. */
|
|
3191
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
3182
3192
|
registry: z.ZodLiteral<"rubygems">;
|
|
3183
3193
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
3184
3194
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3308,6 +3318,7 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3308
3318
|
bucket: z.ZodString;
|
|
3309
3319
|
tokenSecretName: z.ZodOptional<z.ZodString>;
|
|
3310
3320
|
}, z.core.$strict>>;
|
|
3321
|
+
githubAttestations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodBoolean]>>;
|
|
3311
3322
|
}, z.core.$strict>>;
|
|
3312
3323
|
delivery: z.ZodLiteral<"files">;
|
|
3313
3324
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -3409,6 +3420,8 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3409
3420
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
3410
3421
|
/** Generate registry publishing workflow files when publishing through GitHub delivery. */
|
|
3411
3422
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
3423
|
+
/** Use registry trusted publishing / OIDC instead of a static token secret. */
|
|
3424
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
3412
3425
|
registry: z.ZodLiteral<"rubygems">;
|
|
3413
3426
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
3414
3427
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3537,6 +3550,7 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3537
3550
|
bucket: z.ZodString;
|
|
3538
3551
|
tokenSecretName: z.ZodOptional<z.ZodString>;
|
|
3539
3552
|
}, z.core.$strict>>;
|
|
3553
|
+
githubAttestations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodBoolean]>>;
|
|
3540
3554
|
}, z.core.$strict>>;
|
|
3541
3555
|
delivery: z.ZodLiteral<"zip">;
|
|
3542
3556
|
fileName: z.ZodOptional<z.ZodString>;
|
|
@@ -3638,6 +3652,8 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3638
3652
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
3639
3653
|
/** Generate registry publishing workflow files when publishing through GitHub delivery. */
|
|
3640
3654
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
3655
|
+
/** Use registry trusted publishing / OIDC instead of a static token secret. */
|
|
3656
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
3641
3657
|
registry: z.ZodLiteral<"rubygems">;
|
|
3642
3658
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
3643
3659
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3766,6 +3782,7 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3766
3782
|
bucket: z.ZodString;
|
|
3767
3783
|
tokenSecretName: z.ZodOptional<z.ZodString>;
|
|
3768
3784
|
}, z.core.$strict>>;
|
|
3785
|
+
githubAttestations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodBoolean]>>;
|
|
3769
3786
|
}, z.core.$strict>>;
|
|
3770
3787
|
delivery: z.ZodLiteral<"github">;
|
|
3771
3788
|
github: z.ZodObject<{
|
|
@@ -3909,6 +3926,8 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3909
3926
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
3910
3927
|
/** Generate registry publishing workflow files when publishing through GitHub delivery. */
|
|
3911
3928
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
3929
|
+
/** Use registry trusted publishing / OIDC instead of a static token secret. */
|
|
3930
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
3912
3931
|
registry: z.ZodLiteral<"rubygems">;
|
|
3913
3932
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
3914
3933
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4048,6 +4067,7 @@ declare const apiImportSettingsSchema: z.ZodObject<{
|
|
|
4048
4067
|
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
4049
4068
|
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
4050
4069
|
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
4070
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
4051
4071
|
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
4052
4072
|
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
4053
4073
|
v1: "v1";
|
|
@@ -4103,6 +4123,7 @@ declare const sourceSpecConfigSchema: z.ZodObject<{
|
|
|
4103
4123
|
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
4104
4124
|
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
4105
4125
|
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
4126
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
4106
4127
|
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
4107
4128
|
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
4108
4129
|
v1: "v1";
|
|
@@ -4152,6 +4173,7 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
4152
4173
|
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
4153
4174
|
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
4154
4175
|
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
4176
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
4155
4177
|
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
4156
4178
|
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
4157
4179
|
v1: "v1";
|
|
@@ -4188,6 +4210,7 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
4188
4210
|
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
4189
4211
|
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
4190
4212
|
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
4213
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
4191
4214
|
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
4192
4215
|
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
4193
4216
|
v1: "v1";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as JsonObject, S as SdkConfigDiagnostic } from '../../typescript-
|
|
2
|
-
export { C as CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, a as CliDistributionConfig, b as CliDistributionGithubAppConfig, c as CliDistributionHomebrewConfig, d as CliDistributionScoopConfig, e as CliGenerationConfig, f as CliProfilesConfig, g as CliProfilesProvisionOperation, h as CsharpGenerationConfig, D as Dependency, G as GoGenerationConfig, J as JavaGenerationConfig, j as JsonValue, K as KotlinGenerationConfig, M as McpAvailabilityStatus, k as McpGenerationConfig, l as McpToolFilter, P as PackageConfig, m as PhpGenerationConfig, n as PlanModifiers, o as PythonGenerationConfig, R as RubyGenerationConfig, p as RustGenerationConfig, q as SwiftGenerationConfig, T as TerraformGenerationConfig, r as TypescriptGenerationConfig, s as cliDistributionConfigSchema, t as cliDistributionGithubAppSchema, u as cliDistributionHomebrewSchema, v as cliDistributionScoopSchema, w as cliGenerationConfigSchema, x as composerPackageNameSchema, y as csharpGenerationConfigSchema, z as dependencySchema, A as exactSemverSchema, B as githubActionsSecretNameSchema, E as goGenerationConfigSchema, F as goModulePathSchema, H as javaGenerationConfigSchema, I as jsonObjectSchema, L as jsonValueSchema, N as kotlinGenerationConfigSchema, O as mcpAvailabilityStatuses, Q as mcpGenerationConfigSchema, U as nonEmptyStringSchema, V as packageConfigSchema, W as phpGenerationConfigSchema, X as pythonGenerationConfigSchema, Y as relativePathSchema, Z as rubyGenerationConfigSchema, _ as rustGenerationConfigSchema, $ as swiftGenerationConfigSchema, a0 as terraformGenerationConfigSchema, a1 as typescriptGenerationConfigSchema } from '../../typescript-
|
|
1
|
+
import { i as JsonObject, S as SdkConfigDiagnostic } from '../../typescript-BFRxjAah.js';
|
|
2
|
+
export { C as CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, a as CliDistributionConfig, b as CliDistributionGithubAppConfig, c as CliDistributionHomebrewConfig, d as CliDistributionScoopConfig, e as CliGenerationConfig, f as CliProfilesConfig, g as CliProfilesProvisionOperation, h as CsharpGenerationConfig, D as Dependency, G as GoGenerationConfig, J as JavaGenerationConfig, j as JsonValue, K as KotlinGenerationConfig, M as McpAvailabilityStatus, k as McpGenerationConfig, l as McpToolFilter, P as PackageConfig, m as PhpGenerationConfig, n as PlanModifiers, o as PythonGenerationConfig, R as RubyGenerationConfig, p as RustGenerationConfig, q as SwiftGenerationConfig, T as TerraformGenerationConfig, r as TypescriptGenerationConfig, s as cliDistributionConfigSchema, t as cliDistributionGithubAppSchema, u as cliDistributionHomebrewSchema, v as cliDistributionScoopSchema, w as cliGenerationConfigSchema, x as composerPackageNameSchema, y as csharpGenerationConfigSchema, z as dependencySchema, A as exactSemverSchema, B as githubActionsSecretNameSchema, E as goGenerationConfigSchema, F as goModulePathSchema, H as javaGenerationConfigSchema, I as jsonObjectSchema, L as jsonValueSchema, N as kotlinGenerationConfigSchema, O as mcpAvailabilityStatuses, Q as mcpGenerationConfigSchema, U as nonEmptyStringSchema, V as packageConfigSchema, W as phpGenerationConfigSchema, X as pythonGenerationConfigSchema, Y as relativePathSchema, Z as rubyGenerationConfigSchema, _ as rustGenerationConfigSchema, $ as swiftGenerationConfigSchema, a0 as terraformGenerationConfigSchema, a1 as typescriptGenerationConfigSchema } from '../../typescript-BFRxjAah.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
declare const authSchemeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -674,6 +674,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
674
674
|
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
675
675
|
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
676
676
|
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
677
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
677
678
|
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
678
679
|
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
679
680
|
v1: "v1";
|
|
@@ -710,6 +711,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
710
711
|
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
711
712
|
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
712
713
|
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
714
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
713
715
|
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
714
716
|
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
715
717
|
v1: "v1";
|
|
@@ -1130,6 +1132,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1130
1132
|
bucket: z.ZodString;
|
|
1131
1133
|
tokenSecretName: z.ZodOptional<z.ZodString>;
|
|
1132
1134
|
}, z.core.$strict>>;
|
|
1135
|
+
githubAttestations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodBoolean]>>;
|
|
1133
1136
|
}, z.core.$strict>>;
|
|
1134
1137
|
delivery: z.ZodLiteral<"files">;
|
|
1135
1138
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -1197,6 +1200,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1197
1200
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1198
1201
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1199
1202
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
1203
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
1200
1204
|
registry: z.ZodLiteral<"rubygems">;
|
|
1201
1205
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
1202
1206
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1292,6 +1296,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1292
1296
|
bucket: z.ZodString;
|
|
1293
1297
|
tokenSecretName: z.ZodOptional<z.ZodString>;
|
|
1294
1298
|
}, z.core.$strict>>;
|
|
1299
|
+
githubAttestations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodBoolean]>>;
|
|
1295
1300
|
}, z.core.$strict>>;
|
|
1296
1301
|
delivery: z.ZodLiteral<"zip">;
|
|
1297
1302
|
fileName: z.ZodOptional<z.ZodString>;
|
|
@@ -1359,6 +1364,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1359
1364
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1360
1365
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1361
1366
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
1367
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
1362
1368
|
registry: z.ZodLiteral<"rubygems">;
|
|
1363
1369
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
1364
1370
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1454,6 +1460,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1454
1460
|
bucket: z.ZodString;
|
|
1455
1461
|
tokenSecretName: z.ZodOptional<z.ZodString>;
|
|
1456
1462
|
}, z.core.$strict>>;
|
|
1463
|
+
githubAttestations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodBoolean]>>;
|
|
1457
1464
|
}, z.core.$strict>>;
|
|
1458
1465
|
delivery: z.ZodLiteral<"github">;
|
|
1459
1466
|
github: z.ZodObject<{
|
|
@@ -1554,6 +1561,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1554
1561
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1555
1562
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1556
1563
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
1564
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
1557
1565
|
registry: z.ZodLiteral<"rubygems">;
|
|
1558
1566
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
1559
1567
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1772,9 +1780,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1772
1780
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1773
1781
|
fallbackToGeneratedErrorExamples: z.ZodOptional<z.ZodBoolean>;
|
|
1774
1782
|
fixtureSource: z.ZodOptional<z.ZodEnum<{
|
|
1783
|
+
auto: "auto";
|
|
1775
1784
|
synthetic: "synthetic";
|
|
1776
1785
|
recorded: "recorded";
|
|
1777
|
-
auto: "auto";
|
|
1778
1786
|
}>>;
|
|
1779
1787
|
}, z.core.$strict>>;
|
|
1780
1788
|
unitTests: z.ZodOptional<z.ZodObject<{
|
|
@@ -2685,9 +2693,9 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
2685
2693
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2686
2694
|
fallbackToGeneratedErrorExamples: z.ZodOptional<z.ZodBoolean>;
|
|
2687
2695
|
fixtureSource: z.ZodOptional<z.ZodEnum<{
|
|
2696
|
+
auto: "auto";
|
|
2688
2697
|
synthetic: "synthetic";
|
|
2689
2698
|
recorded: "recorded";
|
|
2690
|
-
auto: "auto";
|
|
2691
2699
|
}>>;
|
|
2692
2700
|
}, z.core.$strict>>;
|
|
2693
2701
|
unitTests: z.ZodOptional<z.ZodObject<{
|
|
@@ -3179,6 +3187,8 @@ declare const publishConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3179
3187
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
3180
3188
|
/** Generate registry publishing workflow files when publishing through GitHub delivery. */
|
|
3181
3189
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
3190
|
+
/** Use registry trusted publishing / OIDC instead of a static token secret. */
|
|
3191
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
3182
3192
|
registry: z.ZodLiteral<"rubygems">;
|
|
3183
3193
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
3184
3194
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3308,6 +3318,7 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3308
3318
|
bucket: z.ZodString;
|
|
3309
3319
|
tokenSecretName: z.ZodOptional<z.ZodString>;
|
|
3310
3320
|
}, z.core.$strict>>;
|
|
3321
|
+
githubAttestations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodBoolean]>>;
|
|
3311
3322
|
}, z.core.$strict>>;
|
|
3312
3323
|
delivery: z.ZodLiteral<"files">;
|
|
3313
3324
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -3409,6 +3420,8 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3409
3420
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
3410
3421
|
/** Generate registry publishing workflow files when publishing through GitHub delivery. */
|
|
3411
3422
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
3423
|
+
/** Use registry trusted publishing / OIDC instead of a static token secret. */
|
|
3424
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
3412
3425
|
registry: z.ZodLiteral<"rubygems">;
|
|
3413
3426
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
3414
3427
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3537,6 +3550,7 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3537
3550
|
bucket: z.ZodString;
|
|
3538
3551
|
tokenSecretName: z.ZodOptional<z.ZodString>;
|
|
3539
3552
|
}, z.core.$strict>>;
|
|
3553
|
+
githubAttestations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodBoolean]>>;
|
|
3540
3554
|
}, z.core.$strict>>;
|
|
3541
3555
|
delivery: z.ZodLiteral<"zip">;
|
|
3542
3556
|
fileName: z.ZodOptional<z.ZodString>;
|
|
@@ -3638,6 +3652,8 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3638
3652
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
3639
3653
|
/** Generate registry publishing workflow files when publishing through GitHub delivery. */
|
|
3640
3654
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
3655
|
+
/** Use registry trusted publishing / OIDC instead of a static token secret. */
|
|
3656
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
3641
3657
|
registry: z.ZodLiteral<"rubygems">;
|
|
3642
3658
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
3643
3659
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3766,6 +3782,7 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3766
3782
|
bucket: z.ZodString;
|
|
3767
3783
|
tokenSecretName: z.ZodOptional<z.ZodString>;
|
|
3768
3784
|
}, z.core.$strict>>;
|
|
3785
|
+
githubAttestations: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodBoolean]>>;
|
|
3769
3786
|
}, z.core.$strict>>;
|
|
3770
3787
|
delivery: z.ZodLiteral<"github">;
|
|
3771
3788
|
github: z.ZodObject<{
|
|
@@ -3909,6 +3926,8 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3909
3926
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
3910
3927
|
/** Generate registry publishing workflow files when publishing through GitHub delivery. */
|
|
3911
3928
|
shouldGeneratePublishWorkflow: z.ZodOptional<z.ZodBoolean>;
|
|
3929
|
+
/** Use registry trusted publishing / OIDC instead of a static token secret. */
|
|
3930
|
+
trustedPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
3912
3931
|
registry: z.ZodLiteral<"rubygems">;
|
|
3913
3932
|
apiKeyEnvironmentVariable: z.ZodOptional<z.ZodString>;
|
|
3914
3933
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4048,6 +4067,7 @@ declare const apiImportSettingsSchema: z.ZodObject<{
|
|
|
4048
4067
|
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
4049
4068
|
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
4050
4069
|
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
4070
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
4051
4071
|
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
4052
4072
|
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
4053
4073
|
v1: "v1";
|
|
@@ -4103,6 +4123,7 @@ declare const sourceSpecConfigSchema: z.ZodObject<{
|
|
|
4103
4123
|
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
4104
4124
|
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
4105
4125
|
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
4126
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
4106
4127
|
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
4107
4128
|
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
4108
4129
|
v1: "v1";
|
|
@@ -4152,6 +4173,7 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
4152
4173
|
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
4153
4174
|
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
4154
4175
|
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
4176
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
4155
4177
|
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
4156
4178
|
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
4157
4179
|
v1: "v1";
|
|
@@ -4188,6 +4210,7 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
4188
4210
|
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
4189
4211
|
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
4190
4212
|
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
4213
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
4191
4214
|
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
4192
4215
|
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
4193
4216
|
v1: "v1";
|
|
@@ -440,7 +440,10 @@ var cliDistributionConfigSchema = z.strictObject({
|
|
|
440
440
|
"A GitHub App used to mint short-lived tokens for every channel without its own tokenSecretName."
|
|
441
441
|
),
|
|
442
442
|
homebrew: cliDistributionHomebrewSchema.optional().describe("Publishes a Homebrew formula to a tap repository on each tagged release."),
|
|
443
|
-
scoop: cliDistributionScoopSchema.optional().describe("Publishes a Scoop manifest to a bucket repository on each tagged release.")
|
|
443
|
+
scoop: cliDistributionScoopSchema.optional().describe("Publishes a Scoop manifest to a bucket repository on each tagged release."),
|
|
444
|
+
githubAttestations: z.union([z.literal("auto"), z.boolean()], { error: 'must be "auto", true, or false' }).optional().describe(
|
|
445
|
+
'Whether the generated release workflow attests build provenance. "auto" (the generator default) attests only on public repositories; true always attests, for private repositories on GitHub Enterprise Cloud; false omits the attestation step and its permissions.'
|
|
446
|
+
)
|
|
444
447
|
}).superRefine((distribution, context) => {
|
|
445
448
|
if (distribution.homebrew !== void 0 || distribution.scoop !== void 0) {
|
|
446
449
|
return;
|
|
@@ -453,6 +456,9 @@ var cliDistributionConfigSchema = z.strictObject({
|
|
|
453
456
|
});
|
|
454
457
|
return;
|
|
455
458
|
}
|
|
459
|
+
if (distribution.githubAttestations !== void 0) {
|
|
460
|
+
return;
|
|
461
|
+
}
|
|
456
462
|
context.addIssue({
|
|
457
463
|
code: "custom",
|
|
458
464
|
message: "distribution must configure at least one channel: homebrew or scoop"
|
|
@@ -464,14 +470,17 @@ var CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE = "CLI_DISTRIBUTION_NON_RELEASE_MODE"
|
|
|
464
470
|
var nonReleaseGithubModes = /* @__PURE__ */ new Set(["pull-request", "push", "commit"]);
|
|
465
471
|
function cliDistributionModeDiagnostic(output, outputPath) {
|
|
466
472
|
const mode = output?.github?.mode;
|
|
467
|
-
|
|
473
|
+
const distribution = output?.distribution;
|
|
474
|
+
if (distribution === void 0 || mode === void 0 || !nonReleaseGithubModes.has(mode)) {
|
|
468
475
|
return void 0;
|
|
469
476
|
}
|
|
477
|
+
const hasChannel = distribution.homebrew !== void 0 || distribution.scoop !== void 0;
|
|
478
|
+
const consequence = hasChannel ? "Homebrew and Scoop publish only after a semantic-version tag is pushed to the repository." : "the release workflow, including its githubAttestations setting, runs only after a semantic-version tag is pushed to the repository.";
|
|
470
479
|
return {
|
|
471
480
|
code: CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE,
|
|
472
481
|
severity: "warning",
|
|
473
482
|
path: [...outputPath, "github", "mode"],
|
|
474
|
-
reason: `GitHub mode "${mode}" does not create a release tag, so
|
|
483
|
+
reason: `GitHub mode "${mode}" does not create a release tag, so ${consequence}`,
|
|
475
484
|
suggestedAction: 'Use mode "release" or "commit-and-release", or push a version tag after merging generated changes.'
|
|
476
485
|
};
|
|
477
486
|
}
|
|
@@ -816,7 +825,7 @@ var pythonGenerationConfigSchema = z.strictObject({
|
|
|
816
825
|
additionalInitExports: z.array(additionalInitExportSchema).optional().describe("Additional names re-exported from the package initializer.")
|
|
817
826
|
});
|
|
818
827
|
var rubyGenerationConfigSchema = z.strictObject({
|
|
819
|
-
requirePaths: z.array(nonEmptyStringSchema).optional().describe("
|
|
828
|
+
requirePaths: z.array(nonEmptyStringSchema).optional().describe("Files the generated entry file loads with `require`.")
|
|
820
829
|
});
|
|
821
830
|
var rustGenerationConfigSchema = z.strictObject({
|
|
822
831
|
/**
|
|
@@ -1195,6 +1204,7 @@ var publishConfigSchema = z.discriminatedUnion("registry", [
|
|
|
1195
1204
|
z.strictObject({
|
|
1196
1205
|
registry: z.literal("rubygems").describe("Publishes the package to a RubyGems-compatible registry."),
|
|
1197
1206
|
apiKeyEnvironmentVariable: nonEmptyStringSchema.optional().describe("The environment variable containing the RubyGems API key."),
|
|
1207
|
+
...trustedPublishingShape,
|
|
1198
1208
|
...commonPublishShape
|
|
1199
1209
|
}),
|
|
1200
1210
|
z.strictObject({
|
|
@@ -1265,7 +1275,7 @@ var githubOutputSchema = z.strictObject({
|
|
|
1265
1275
|
var distributionShape = {
|
|
1266
1276
|
/** Valid only for `cli` targets with GitHub delivery; secret names only, never values. */
|
|
1267
1277
|
distribution: cliDistributionConfigSchema.optional().describe(
|
|
1268
|
-
"CLI release channels
|
|
1278
|
+
"CLI release channels and build attestation settings for the generated release workflow; credentials are GitHub Actions secret names."
|
|
1269
1279
|
)
|
|
1270
1280
|
};
|
|
1271
1281
|
var credentialResolutionShape = {
|
|
@@ -1325,6 +1335,9 @@ var apiImportSettingsSchema = z.strictObject({
|
|
|
1325
1335
|
discriminatedUnionV2: z.boolean().optional().describe("Whether oneOf and anyOf schemas use the newer discriminator inference rules."),
|
|
1326
1336
|
undiscriminatedUnionsWithLiterals: z.boolean().optional().describe("Whether literal-bearing unions remain undiscriminated during import."),
|
|
1327
1337
|
inlineAllOfSchemas: z.boolean().optional().describe("Whether schemas composed with allOf are inlined when possible."),
|
|
1338
|
+
inferDiscriminatedUnionBaseProperties: z.boolean().optional().describe(
|
|
1339
|
+
"Whether properties every discriminated-union variant shares are lifted onto the union."
|
|
1340
|
+
),
|
|
1328
1341
|
resolveSchemaCollisions: z.boolean().optional().describe("Whether colliding imported schema names are resolved automatically."),
|
|
1329
1342
|
asyncApiMessageNaming: z.enum(["v1", "v2"]).optional().describe("The naming strategy used for messages imported from AsyncAPI."),
|
|
1330
1343
|
defaultIntegerFormat: z.enum(["int32", "int64", "uint32", "uint64"]).optional().describe("The integer format used when a schema does not declare one.")
|