From c4bd60e00fccec14e7a725ece3ec0b1e92872ef4 Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Mon, 22 Jul 2024 16:41:31 -0400 Subject: [PATCH] knip fix --- .../frontend/web/src/features/dnd/types/index.ts | 12 ++++++------ .../features/parameters/types/parameterSchemas.ts | 5 ----- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/invokeai/frontend/web/src/features/dnd/types/index.ts b/invokeai/frontend/web/src/features/dnd/types/index.ts index c6b9f784f0..4b5223d9a7 100644 --- a/invokeai/frontend/web/src/features/dnd/types/index.ts +++ b/invokeai/frontend/web/src/features/dnd/types/index.ts @@ -62,7 +62,7 @@ export type CanvasInitialImageDropData = BaseDropData & { actionType: 'SET_CANVAS_INITIAL_IMAGE'; }; -export type UpscaleInitialImageDropData = BaseDropData & { +type UpscaleInitialImageDropData = BaseDropData & { actionType: 'SET_UPSCALE_INITIAL_IMAGE'; }; @@ -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 8c28f8ec07..8a808ed0c5 100644 --- a/invokeai/frontend/web/src/features/parameters/types/parameterSchemas.ts +++ b/invokeai/frontend/web/src/features/parameters/types/parameterSchemas.ts @@ -126,11 +126,6 @@ const zParameterT2IAdapterModel = zModelIdentifierField; export type ParameterT2IAdapterModel = z.infer; // #endregion -// #region VAE Model -export 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;