This commit is contained in:
Mary Hipp 2024-07-22 16:41:31 -04:00 committed by psychedelicious
parent 54eda9163c
commit c4bd60e00f
2 changed files with 6 additions and 11 deletions

View File

@ -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<DragEvent, 'active'> {}
interface DragMoveEvent extends DragEvent {}
interface DragOverEvent extends DragMoveEvent {}
export interface DragEndEvent extends DragEvent {}
interface DragCancelEvent extends DragEndEvent {}
export interface DragStartEvent extends Pick<DragEvent, 'active'> { }
interface DragMoveEvent extends DragEvent { }
interface DragOverEvent extends DragMoveEvent { }
export interface DragEndEvent extends DragEvent { }
interface DragCancelEvent extends DragEndEvent { }
export interface DndContextTypesafeProps
extends Omit<DndContextProps, 'onDragStart' | 'onDragMove' | 'onDragOver' | 'onDragEnd' | 'onDragCancel'> {

View File

@ -126,11 +126,6 @@ const zParameterT2IAdapterModel = zModelIdentifierField;
export type ParameterT2IAdapterModel = z.infer<typeof zParameterT2IAdapterModel>;
// #endregion
// #region VAE Model
export const zParameterSpandrelImageToImageModel = zModelIdentifierField;
export type ParameterSpandrelImageToImageModel = z.infer<typeof zParameterSpandrelImageToImageModel>;
// #endregion
// #region Strength (l2l strength)
export const zParameterStrength = z.number().min(0).max(1);
export type ParameterStrength = z.infer<typeof zParameterStrength>;