mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-16 00:25:25 -05:00
tidy(ui): remove unused stuff 4
This commit is contained in:
@@ -114,12 +114,6 @@ export const isSpandrelImageToImageModelConfig = (
|
||||
return config.type === 'spandrel_image_to_image';
|
||||
};
|
||||
|
||||
export const isControlAdapterModelConfig = (
|
||||
config: AnyModelConfig
|
||||
): config is ControlNetModelConfig | T2IAdapterModelConfig | IPAdapterModelConfig => {
|
||||
return isControlNetModelConfig(config) || isT2IAdapterModelConfig(config) || isIPAdapterModelConfig(config);
|
||||
};
|
||||
|
||||
export const isControlNetOrT2IAdapterModelConfig = (
|
||||
config: AnyModelConfig
|
||||
): config is ControlNetModelConfig | T2IAdapterModelConfig => {
|
||||
@@ -195,11 +189,6 @@ export type OutputFields<T extends AnyInvocation> = Extract<
|
||||
// Node Outputs
|
||||
export type ImageOutput = S['ImageOutput'];
|
||||
|
||||
export type CAImagePostUploadAction = {
|
||||
type: 'SET_CA_IMAGE';
|
||||
id: string;
|
||||
};
|
||||
|
||||
export type IPALayerImagePostUploadAction = {
|
||||
type: 'SET_IPA_IMAGE';
|
||||
id: string;
|
||||
@@ -234,7 +223,6 @@ export type PostUploadAction =
|
||||
| NodesAction
|
||||
| ToastAction
|
||||
| AddToBatchAction
|
||||
| CAImagePostUploadAction
|
||||
| IPALayerImagePostUploadAction
|
||||
| RGIPAdapterImagePostUploadAction
|
||||
| UpscaleInitialImageAction;
|
||||
|
||||
Reference in New Issue
Block a user