Skip to content

Commit e1bc270

Browse files
authored
Make workflow group color optional (#354)
1 parent 95dc6ff commit e1bc270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/comfyWorkflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const zGroup = z
8282
.object({
8383
title: z.string(),
8484
bounding: z.tuple([z.number(), z.number(), z.number(), z.number()]),
85-
color: z.string(),
85+
color: z.string().optional(),
8686
font_size: z.number().optional(),
8787
locked: z.boolean().optional()
8888
})

0 commit comments

Comments
 (0)