File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50760,7 +50760,7 @@ const baseSchema = zod_1.z.object({
5076050760 .enum(['create-and-execute', 'create-only', 'execute-only'])
5076150761 .default('create-and-execute'),
5076250762 name: zod_1.z.string().min(1, 'Stack name is required'),
50763- 'http-proxy': zod_1.z.string().optional()
50763+ 'http-proxy': zod_1.z.string().optional().transform(emptyToUndefined)
5076450764});
5076550765const createSchema = baseSchema.extend({
5076650766 mode: zod_1.z.enum(['create-and-execute', 'create-only']),
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const baseSchema = z.object({
5656 . enum ( [ 'create-and-execute' , 'create-only' , 'execute-only' ] )
5757 . default ( 'create-and-execute' ) ,
5858 name : z . string ( ) . min ( 1 , 'Stack name is required' ) ,
59- 'http-proxy' : z . string ( ) . optional ( )
59+ 'http-proxy' : z . string ( ) . optional ( ) . transform ( emptyToUndefined )
6060} )
6161
6262const createSchema = baseSchema . extend ( {
You can’t perform that action at this time.
0 commit comments