diff --git a/invokeai/frontend/web/src/features/nodes/types/openapi.ts b/invokeai/frontend/web/src/features/nodes/types/openapi.ts index 0d8ffeb920..cf1b236992 100644 --- a/invokeai/frontend/web/src/features/nodes/types/openapi.ts +++ b/invokeai/frontend/web/src/features/nodes/types/openapi.ts @@ -1,12 +1,13 @@ import { OpenAPIV3_1 } from 'openapi-types'; import { InputFieldJSONSchemaExtra, + InvocationJSONSchemaExtra, OutputFieldJSONSchemaExtra, } from 'services/api/types'; // Janky customization of OpenAPI Schema :/ -export type InvocationSchemaExtra = { +export type InvocationSchemaExtra = InvocationJSONSchemaExtra & { output: OpenAPIV3_1.ReferenceObject; // the output of the invocation title: string; category?: string; diff --git a/invokeai/frontend/web/src/services/api/types.ts b/invokeai/frontend/web/src/services/api/types.ts index 3c5e54536e..9b6e531d93 100644 --- a/invokeai/frontend/web/src/services/api/types.ts +++ b/invokeai/frontend/web/src/services/api/types.ts @@ -30,6 +30,7 @@ export type EnqueueBatchResult = components['schemas']['EnqueueBatchResult']; export type InputFieldJSONSchemaExtra = s['InputFieldJSONSchemaExtra']; export type OutputFieldJSONSchemaExtra = s['OutputFieldJSONSchemaExtra']; +export type InvocationJSONSchemaExtra = s['UIConfigBase']; // App Info export type AppVersion = s['AppVersion'];