From 3c154d8487433e4dc4c7d98effa90e251933dfef Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Thu, 7 Aug 2025 11:52:58 -0700 Subject: [PATCH] [refactor] Remove 5 unused settings from apiSchema (#4811) Co-authored-by: Claude --- src/schemas/apiSchema.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/schemas/apiSchema.ts b/src/schemas/apiSchema.ts index 00e51c7a2..887d16537 100644 --- a/src/schemas/apiSchema.ts +++ b/src/schemas/apiSchema.ts @@ -394,9 +394,7 @@ const zSettings = z.object({ 'Comfy.Graph.ZoomSpeed': z.number(), 'Comfy.Group.DoubleClickTitleToEdit': z.boolean(), 'Comfy.GroupSelectedNodes.Padding': z.number(), - 'Comfy.InvertMenuScrolling': z.boolean(), 'Comfy.Locale': z.string(), - 'Comfy.Logging.Enabled': z.boolean(), 'Comfy.NodeLibrary.Bookmarks': z.array(z.string()), 'Comfy.NodeLibrary.Bookmarks.V2': z.array(z.string()), 'Comfy.NodeLibrary.BookmarksCustomization': z.record( @@ -426,14 +424,12 @@ const zSettings = z.object({ 'Comfy.Sidebar.Location': z.enum(['left', 'right']), 'Comfy.Sidebar.Size': z.enum(['small', 'normal']), 'Comfy.Sidebar.UnifiedWidth': z.boolean(), - 'Comfy.SwitchUser': z.any(), 'Comfy.SnapToGrid.GridSize': z.number(), 'Comfy.TextareaWidget.FontSize': z.number(), 'Comfy.TextareaWidget.Spellcheck': z.boolean(), 'Comfy.UseNewMenu': z.enum(['Disabled', 'Top', 'Bottom']), 'Comfy.TreeExplorer.ItemPadding': z.number(), 'Comfy.Validation.Workflows': z.boolean(), - 'Comfy.Validation.NodeDefs': z.boolean(), 'Comfy.Workflow.SortNodeIdOnSave': z.boolean(), 'Comfy.Queue.ImageFit': z.enum(['contain', 'cover']), 'Comfy.Workflow.WorkflowTabsPosition': z.enum([ @@ -454,7 +450,6 @@ const zSettings = z.object({ 'Comfy.Keybinding.UnsetBindings': z.array(zKeybinding), 'Comfy.Keybinding.NewBindings': z.array(zKeybinding), 'Comfy.Extension.Disabled': z.array(z.string()), - 'Comfy.Settings.ExtensionPanel': z.boolean(), 'Comfy.LinkRenderMode': z.number(), 'Comfy.Node.AutoSnapLinkToSlot': z.boolean(), 'Comfy.Node.SnapHighlightsNode': z.boolean(),