mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Add missing Unet, Clip, VAE Field Template types
This commit is contained in:
parent
8d5a953dcb
commit
0da4f4bb6f
@ -305,6 +305,21 @@ export type ConditioningInputFieldTemplate = InputFieldTemplateBase & {
|
|||||||
type: 'conditioning';
|
type: 'conditioning';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type UNetInputFieldTemplate = InputFieldTemplateBase & {
|
||||||
|
default: undefined;
|
||||||
|
type: 'unet';
|
||||||
|
};
|
||||||
|
|
||||||
|
export type ClipInputFieldTemplate = InputFieldTemplateBase & {
|
||||||
|
default: undefined;
|
||||||
|
type: 'clip';
|
||||||
|
};
|
||||||
|
|
||||||
|
export type VaeInputFieldTemplate = InputFieldTemplateBase & {
|
||||||
|
default: undefined;
|
||||||
|
type: 'vae';
|
||||||
|
};
|
||||||
|
|
||||||
export type ControlInputFieldTemplate = InputFieldTemplateBase & {
|
export type ControlInputFieldTemplate = InputFieldTemplateBase & {
|
||||||
default: undefined;
|
default: undefined;
|
||||||
type: 'control';
|
type: 'control';
|
||||||
|
@ -3,27 +3,27 @@ import { OpenAPIV3 } from 'openapi-types';
|
|||||||
import { FIELD_TYPE_MAP } from '../types/constants';
|
import { FIELD_TYPE_MAP } from '../types/constants';
|
||||||
import { isSchemaObject } from '../types/typeGuards';
|
import { isSchemaObject } from '../types/typeGuards';
|
||||||
import {
|
import {
|
||||||
BooleanInputFieldTemplate,
|
|
||||||
EnumInputFieldTemplate,
|
|
||||||
FloatInputFieldTemplate,
|
|
||||||
ImageInputFieldTemplate,
|
|
||||||
IntegerInputFieldTemplate,
|
|
||||||
LatentsInputFieldTemplate,
|
|
||||||
ConditioningInputFieldTemplate,
|
|
||||||
UNetInputFieldTemplate,
|
|
||||||
ClipInputFieldTemplate,
|
|
||||||
VaeInputFieldTemplate,
|
|
||||||
ControlInputFieldTemplate,
|
|
||||||
StringInputFieldTemplate,
|
|
||||||
ModelInputFieldTemplate,
|
|
||||||
ArrayInputFieldTemplate,
|
ArrayInputFieldTemplate,
|
||||||
ItemInputFieldTemplate,
|
BooleanInputFieldTemplate,
|
||||||
|
ClipInputFieldTemplate,
|
||||||
ColorInputFieldTemplate,
|
ColorInputFieldTemplate,
|
||||||
InputFieldTemplateBase,
|
ConditioningInputFieldTemplate,
|
||||||
OutputFieldTemplate,
|
ControlInputFieldTemplate,
|
||||||
TypeHints,
|
EnumInputFieldTemplate,
|
||||||
FieldType,
|
FieldType,
|
||||||
|
FloatInputFieldTemplate,
|
||||||
ImageCollectionInputFieldTemplate,
|
ImageCollectionInputFieldTemplate,
|
||||||
|
ImageInputFieldTemplate,
|
||||||
|
InputFieldTemplateBase,
|
||||||
|
IntegerInputFieldTemplate,
|
||||||
|
ItemInputFieldTemplate,
|
||||||
|
LatentsInputFieldTemplate,
|
||||||
|
ModelInputFieldTemplate,
|
||||||
|
OutputFieldTemplate,
|
||||||
|
StringInputFieldTemplate,
|
||||||
|
TypeHints,
|
||||||
|
UNetInputFieldTemplate,
|
||||||
|
VaeInputFieldTemplate,
|
||||||
} from '../types/types';
|
} from '../types/types';
|
||||||
|
|
||||||
export type BaseFieldProperties = 'name' | 'title' | 'description';
|
export type BaseFieldProperties = 'name' | 'title' | 'description';
|
||||||
|
Loading…
Reference in New Issue
Block a user