From a409aec00fb19fe2e0540721ea964593971bb2a7 Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Mon, 24 Feb 2025 20:05:21 -0500 Subject: [PATCH] update schema --- .../frontend/web/src/services/api/schema.ts | 52 ++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts index 98bb7326f5..fedbba2938 100644 --- a/invokeai/frontend/web/src/services/api/schema.ts +++ b/invokeai/frontend/web/src/services/api/schema.ts @@ -1417,7 +1417,11 @@ export type paths = { path?: never; cookie?: never; }; - get?: never; + /** + * Get Workflow Thumbnail + * @description Gets a workflow's thumbnail image + */ + get: operations["get_workflow_thumbnail"]; /** * Set Workflow Thumbnail * @description Sets a workflow's thumbnail image @@ -24315,6 +24319,52 @@ export interface operations { }; }; }; + get_workflow_thumbnail: { + parameters: { + query?: never; + header?: never; + path: { + /** @description The id of the workflow thumbnail to get */ + workflow_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description The workflow thumbnail was fetched successfully */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + /** @description Bad request */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description The workflow thumbnail could not be found */ + 404: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["HTTPValidationError"]; + }; + }; + }; + }; set_workflow_thumbnail: { parameters: { query?: never;