Fix type for Comfy.Sidebar.Size in apiTypes (#932)

This commit is contained in:
Chenlei Hu
2024-09-23 11:31:18 +09:00
committed by GitHub
parent 6a3dbe08de
commit 78dea484c9

View File

@@ -488,7 +488,7 @@ const zSettings = z.record(z.any()).and(
'Comfy.PreviewFormat': z.string(),
'Comfy.PromptFilename': z.boolean(),
'Comfy.Sidebar.Location': z.enum(['left', 'right']),
'Comfy.Sidebar.Size': z.number(),
'Comfy.Sidebar.Size': z.enum(['small', 'normal']),
'Comfy.SwitchUser': z.any(),
'Comfy.SnapToGrid.GridSize': z.number(),
'Comfy.TextareaWidget.FontSize': z.number(),