@@ -33182,7 +33182,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
33182
33182
const migrationsListForOrgQuerySchema = z.object({
33183
33183
per_page: z.coerce.number().optional(),
33184
33184
page: z.coerce.number().optional(),
33185
- exclude: z.array(z.enum(["repositories"])).optional(),
33185
+ exclude: z
33186
+ .union([z.array(z.enum(["repositories"])), z.enum(["repositories"])])
33187
+ .optional()
33188
+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
33186
33189
})
33187
33190
33188
33191
const migrationsListForOrgResponseValidator = responseValidationFactory(
@@ -33309,7 +33312,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
33309
33312
})
33310
33313
33311
33314
const migrationsGetStatusForOrgQuerySchema = z.object({
33312
- exclude: z.array(z.enum(["repositories"])).optional(),
33315
+ exclude: z
33316
+ .union([z.array(z.enum(["repositories"])), z.enum(["repositories"])])
33317
+ .optional()
33318
+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
33313
33319
})
33314
33320
33315
33321
const migrationsGetStatusForOrgResponseValidator = responseValidationFactory(
@@ -35204,7 +35210,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
35204
35210
page: z.coerce.number().optional(),
35205
35211
sort: z.enum(["created_at"]).optional(),
35206
35212
direction: z.enum(["asc", "desc"]).optional(),
35207
- owner: z.array(z.string()).max(10).optional(),
35213
+ owner: z
35214
+ .union([z.array(z.string()).max(10), z.string()])
35215
+ .optional()
35216
+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
35208
35217
repository: z.string().optional(),
35209
35218
permission: z.string().optional(),
35210
35219
last_used_before: z.string().datetime({ offset: true }).optional(),
@@ -35513,7 +35522,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
35513
35522
page: z.coerce.number().optional(),
35514
35523
sort: z.enum(["created_at"]).optional(),
35515
35524
direction: z.enum(["asc", "desc"]).optional(),
35516
- owner: z.array(z.string()).max(10).optional(),
35525
+ owner: z
35526
+ .union([z.array(z.string()).max(10), z.string()])
35527
+ .optional()
35528
+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
35517
35529
repository: z.string().optional(),
35518
35530
permission: z.string().optional(),
35519
35531
last_used_before: z.string().datetime({ offset: true }).optional(),
@@ -76414,7 +76426,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
76414
76426
})
76415
76427
76416
76428
const migrationsGetStatusForAuthenticatedUserQuerySchema = z.object({
76417
- exclude: z.array(z.string()).optional(),
76429
+ exclude: z
76430
+ .union([z.array(z.string()), z.string()])
76431
+ .optional()
76432
+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
76418
76433
})
76419
76434
76420
76435
const migrationsGetStatusForAuthenticatedUserResponseValidator =
0 commit comments