From 458c29cfa58430815c0a6bd01bf5e9837319b8d3 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 20 Feb 2024 10:16:25 +1100 Subject: [PATCH] fix(ui): fix low-hanging fruit types --- .../listenerMiddleware/listeners/controlNetImageProcessed.ts | 1 + invokeai/frontend/web/src/services/api/endpoints/models.ts | 2 +- invokeai/frontend/web/src/services/api/types.ts | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/controlNetImageProcessed.ts b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/controlNetImageProcessed.ts index fba274beb8..73de931297 100644 --- a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/controlNetImageProcessed.ts +++ b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/controlNetImageProcessed.ts @@ -51,6 +51,7 @@ export const addControlNetImageProcessedListener = () => { image: { image_name: ca.controlImage }, }, }, + edges: [], }, runs: 1, }, diff --git a/invokeai/frontend/web/src/services/api/endpoints/models.ts b/invokeai/frontend/web/src/services/api/endpoints/models.ts index 9a7f108056..57cf7dacfc 100644 --- a/invokeai/frontend/web/src/services/api/endpoints/models.ts +++ b/invokeai/frontend/web/src/services/api/endpoints/models.ts @@ -39,7 +39,7 @@ type UpdateLoRAModelArg = { type UpdateMainModelResponse = paths['/api/v2/models/i/{key}']['patch']['responses']['200']['content']['application/json']; -type ListModelsArg = NonNullable; +type ListModelsArg = NonNullable; type UpdateLoRAModelResponse = UpdateMainModelResponse; diff --git a/invokeai/frontend/web/src/services/api/types.ts b/invokeai/frontend/web/src/services/api/types.ts index 4ae2f9b594..aaa70a2684 100644 --- a/invokeai/frontend/web/src/services/api/types.ts +++ b/invokeai/frontend/web/src/services/api/types.ts @@ -164,7 +164,6 @@ export type IntegerOutput = S['IntegerOutput']; export type IterateInvocationOutput = S['IterateInvocationOutput']; export type CollectInvocationOutput = S['CollectInvocationOutput']; export type LatentsOutput = S['LatentsOutput']; -export type GraphInvocationOutput = S['GraphInvocationOutput']; // Post-image upload actions, controls workflows when images are uploaded