Move linkRenderMode extension to core (#1359)

This commit is contained in:
Chenlei Hu
2024-10-29 11:00:10 -04:00
committed by GitHub
parent 10f43be911
commit 1f91a88d7b
6 changed files with 25 additions and 30 deletions

View File

@@ -511,7 +511,8 @@ const zSettings = z.record(z.any()).and(
'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.Settings.ExtensionPanel': z.boolean(),
'Comfy.LinkRenderMode': z.number()
})
.optional()
)

View File

@@ -19,7 +19,7 @@ export type SettingCustomRenderer = (
export interface SettingOption {
text: string
value?: string
value?: any
}
export interface Setting {