@@ -34177,7 +34177,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
3417734177 const migrationsListForOrgQuerySchema = z.object({
3417834178 per_page: z.coerce.number().optional(),
3417934179 page: z.coerce.number().optional(),
34180- exclude: z.array(z.enum(["repositories"])).optional(),
34180+ exclude: z
34181+ .union([z.array(z.enum(["repositories"])), z.enum(["repositories"])])
34182+ .optional()
34183+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
3418134184 })
3418234185
3418334186 const migrationsListForOrgResponseValidator = responseValidationFactory(
@@ -34304,7 +34307,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
3430434307 })
3430534308
3430634309 const migrationsGetStatusForOrgQuerySchema = z.object({
34307- exclude: z.array(z.enum(["repositories"])).optional(),
34310+ exclude: z
34311+ .union([z.array(z.enum(["repositories"])), z.enum(["repositories"])])
34312+ .optional()
34313+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
3430834314 })
3430934315
3431034316 const migrationsGetStatusForOrgResponseValidator = responseValidationFactory(
@@ -36199,7 +36205,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
3619936205 page: z.coerce.number().optional(),
3620036206 sort: z.enum(["created_at"]).optional(),
3620136207 direction: z.enum(["asc", "desc"]).optional(),
36202- owner: z.array(z.string()).max(10).optional(),
36208+ owner: z
36209+ .union([z.array(z.string()).max(10), z.string()])
36210+ .optional()
36211+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
3620336212 repository: z.string().optional(),
3620436213 permission: z.string().optional(),
3620536214 last_used_before: z.string().datetime({ offset: true }).optional(),
@@ -36508,7 +36517,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
3650836517 page: z.coerce.number().optional(),
3650936518 sort: z.enum(["created_at"]).optional(),
3651036519 direction: z.enum(["asc", "desc"]).optional(),
36511- owner: z.array(z.string()).max(10).optional(),
36520+ owner: z
36521+ .union([z.array(z.string()).max(10), z.string()])
36522+ .optional()
36523+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
3651236524 repository: z.string().optional(),
3651336525 permission: z.string().optional(),
3651436526 last_used_before: z.string().datetime({ offset: true }).optional(),
@@ -77418,7 +77430,10 @@ export function createRouter(implementation: Implementation): KoaRouter {
7741877430 })
7741977431
7742077432 const migrationsGetStatusForAuthenticatedUserQuerySchema = z.object({
77421- exclude: z.array(z.string()).optional(),
77433+ exclude: z
77434+ .union([z.array(z.string()), z.string()])
77435+ .optional()
77436+ .transform((it) => (Array.isArray(it) || it === undefined ? it : [it])),
7742277437 })
7742377438
7742477439 const migrationsGetStatusForAuthenticatedUserResponseValidator =
0 commit comments