tsc and lint fix

This commit is contained in:
Mary Hipp 2024-08-21 14:23:39 -04:00
parent fe636bb6ca
commit e063008246
4 changed files with 14243 additions and 1 deletions

View File

@ -74,6 +74,7 @@ const zModelType = z.enum([
'clip_vision',
'spandrel_image_to_image',
't5_encoder',
'clip_embed',
]);
const zSubModelType = z.enum([
'unet',

View File

@ -22,6 +22,7 @@ const FIELD_VALUE_FALLBACK_MAP: Record<StatefulFieldType['name'], FieldValue> =
SpandrelImageToImageModelField: undefined,
VAEModelField: undefined,
ControlNetModelField: undefined,
T5EncoderModelField: undefined,
};
export const buildFieldInputInstance = (id: string, template: FieldInputTemplate): FieldInputInstance => {

File diff suppressed because one or more lines are too long

View File

@ -51,7 +51,7 @@ export type VAEModelConfig = S['VAECheckpointConfig'] | S['VAEDiffusersConfig'];
export type ControlNetModelConfig = S['ControlNetDiffusersConfig'] | S['ControlNetCheckpointConfig'];
export type IPAdapterModelConfig = S['IPAdapterInvokeAIConfig'] | S['IPAdapterCheckpointConfig'];
export type T2IAdapterModelConfig = S['T2IAdapterConfig'];
export type ClipEmbedModelConfig = S['CLIPEmbedDiffusersConfig'];
type ClipEmbedModelConfig = S['CLIPEmbedDiffusersConfig'];
export type T5EncoderModelConfig = S['T5EncoderConfig'];
export type T5Encoder8bModelConfig = S['T5Encoder8bConfig'];
export type SpandrelImageToImageModelConfig = S['SpandrelImageToImageConfig'];