diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts index 4cbcc65a07..32d0a0f385 100644 --- a/invokeai/frontend/web/src/services/api/schema.ts +++ b/invokeai/frontend/web/src/services/api/schema.ts @@ -1438,6 +1438,26 @@ export type paths = { patch?: never; trace?: never; }; + "/api/v1/workflows/counts": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Counts + * @description Gets a the count of workflows that include the specified tags and categories + */ + get: operations["get_counts"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v1/style_presets/i/{style_preset_id}": { parameters: { query?: never; @@ -21158,6 +21178,11 @@ export type components = { description: string; /** @description The description of the workflow. */ category: components["schemas"]["WorkflowCategory"]; + /** + * Tags + * @description The tags of the workflow. + */ + tags: string; /** * Thumbnail Url * @description The URL of the workflow thumbnail. @@ -24432,6 +24457,40 @@ export interface operations { }; }; }; + get_counts: { + parameters: { + query?: { + /** @description The tags to include */ + tags?: string[] | null; + /** @description The categories to include */ + categories?: components["schemas"]["WorkflowCategory"][] | null; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": number; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["HTTPValidationError"]; + }; + }; + }; + }; get_style_preset: { parameters: { query?: never;