mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
more lint fixes
This commit is contained in:
parent
c4bd60e00f
commit
13f3560e55
@ -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'> {
|
||||
|
@ -126,6 +126,11 @@ const zParameterT2IAdapterModel = zModelIdentifierField;
|
||||
export type ParameterT2IAdapterModel = z.infer<typeof zParameterT2IAdapterModel>;
|
||||
// #endregion
|
||||
|
||||
// #region VAE Model
|
||||
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>;
|
||||
|
Loading…
Reference in New Issue
Block a user