Mark group.locked optional (#75)

This commit is contained in:
Chenlei Hu
2024-07-01 13:45:23 -04:00
committed by GitHub
parent 41df39d86c
commit e109be4902

View File

@@ -62,7 +62,7 @@ const zGroup = z.object({
bounding: z.tuple([z.number(), z.number(), z.number(), z.number()]),
color: z.string(),
font_size: z.number(),
locked: z.boolean(),
locked: z.boolean().optional(),
}).passthrough();
const zInfo = z.object({