From 13f3560e55be86912cd00b893584314e879c06f8 Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Mon, 22 Jul 2024 16:44:09 -0400 Subject: [PATCH] more lint fixes --- invokeai/frontend/web/src/features/dnd/types/index.ts | 10 +++++----- .../src/features/parameters/types/parameterSchemas.ts | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/invokeai/frontend/web/src/features/dnd/types/index.ts b/invokeai/frontend/web/src/features/dnd/types/index.ts index 4b5223d9a7..93bde117a1 100644 --- a/invokeai/frontend/web/src/features/dnd/types/index.ts +++ b/invokeai/frontend/web/src/features/dnd/types/index.ts @@ -164,11 +164,11 @@ interface DragEvent { over: TypesafeOver | null; } -export interface DragStartEvent extends Pick { } -interface DragMoveEvent extends DragEvent { } -interface DragOverEvent extends DragMoveEvent { } -export interface DragEndEvent extends DragEvent { } -interface DragCancelEvent extends DragEndEvent { } +export interface DragStartEvent extends Pick {} +interface DragMoveEvent extends DragEvent {} +interface DragOverEvent extends DragMoveEvent {} +export interface DragEndEvent extends DragEvent {} +interface DragCancelEvent extends DragEndEvent {} export interface DndContextTypesafeProps extends Omit { diff --git a/invokeai/frontend/web/src/features/parameters/types/parameterSchemas.ts b/invokeai/frontend/web/src/features/parameters/types/parameterSchemas.ts index 8a808ed0c5..82620e488e 100644 --- a/invokeai/frontend/web/src/features/parameters/types/parameterSchemas.ts +++ b/invokeai/frontend/web/src/features/parameters/types/parameterSchemas.ts @@ -126,6 +126,11 @@ const zParameterT2IAdapterModel = zModelIdentifierField; export type ParameterT2IAdapterModel = z.infer; // #endregion +// #region VAE Model +const zParameterSpandrelImageToImageModel = zModelIdentifierField; +export type ParameterSpandrelImageToImageModel = z.infer; +// #endregion + // #region Strength (l2l strength) export const zParameterStrength = z.number().min(0).max(1); export type ParameterStrength = z.infer;