From 1d45ef529b350bd66b7075547f39261e0fa45e2b Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 3 Apr 2024 17:08:02 +1100 Subject: [PATCH] fix(ui): move tcd scheduler to current zod schemas It was in the v2 schemas which should be immutable and only used for migrations --- invokeai/frontend/web/src/features/nodes/types/common.ts | 1 + invokeai/frontend/web/src/features/nodes/types/v2/common.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/nodes/types/common.ts b/invokeai/frontend/web/src/features/nodes/types/common.ts index 06d5ecd5c7..ac9b67f0e8 100644 --- a/invokeai/frontend/web/src/features/nodes/types/common.ts +++ b/invokeai/frontend/web/src/features/nodes/types/common.ts @@ -49,6 +49,7 @@ export const zSchedulerField = z.enum([ 'euler_a', 'kdpm_2_a', 'lcm', + 'tcd', ]); export type SchedulerField = z.infer; // #endregion diff --git a/invokeai/frontend/web/src/features/nodes/types/v2/common.ts b/invokeai/frontend/web/src/features/nodes/types/v2/common.ts index 671ed81d05..8613076132 100644 --- a/invokeai/frontend/web/src/features/nodes/types/v2/common.ts +++ b/invokeai/frontend/web/src/features/nodes/types/v2/common.ts @@ -40,7 +40,6 @@ export const zSchedulerField = z.enum([ 'euler_a', 'kdpm_2_a', 'lcm', - 'tcd', ]); // #endregion