Skip to content

Commit 4cb73e6

Browse files
chore(ui): typegen
1 parent e8aed67 commit 4cb73e6

File tree

1 file changed

+59
-0
lines changed
  • invokeai/frontend/web/src/services/api

1 file changed

+59
-0
lines changed

invokeai/frontend/web/src/services/api/schema.ts

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,6 +1438,26 @@ export type paths = {
14381438
patch?: never;
14391439
trace?: never;
14401440
};
1441+
"/api/v1/workflows/counts": {
1442+
parameters: {
1443+
query?: never;
1444+
header?: never;
1445+
path?: never;
1446+
cookie?: never;
1447+
};
1448+
/**
1449+
* Get Counts
1450+
* @description Gets a the count of workflows that include the specified tags and categories
1451+
*/
1452+
get: operations["get_counts"];
1453+
put?: never;
1454+
post?: never;
1455+
delete?: never;
1456+
options?: never;
1457+
head?: never;
1458+
patch?: never;
1459+
trace?: never;
1460+
};
14411461
"/api/v1/style_presets/i/{style_preset_id}": {
14421462
parameters: {
14431463
query?: never;
@@ -21158,6 +21178,11 @@ export type components = {
2115821178
description: string;
2115921179
/** @description The description of the workflow. */
2116021180
category: components["schemas"]["WorkflowCategory"];
21181+
/**
21182+
* Tags
21183+
* @description The tags of the workflow.
21184+
*/
21185+
tags: string;
2116121186
/**
2116221187
* Thumbnail Url
2116321188
* @description The URL of the workflow thumbnail.
@@ -24432,6 +24457,40 @@ export interface operations {
2443224457
};
2443324458
};
2443424459
};
24460+
get_counts: {
24461+
parameters: {
24462+
query?: {
24463+
/** @description The tags to include */
24464+
tags?: string[] | null;
24465+
/** @description The categories to include */
24466+
categories?: components["schemas"]["WorkflowCategory"][] | null;
24467+
};
24468+
header?: never;
24469+
path?: never;
24470+
cookie?: never;
24471+
};
24472+
requestBody?: never;
24473+
responses: {
24474+
/** @description Successful Response */
24475+
200: {
24476+
headers: {
24477+
[name: string]: unknown;
24478+
};
24479+
content: {
24480+
"application/json": number;
24481+
};
24482+
};
24483+
/** @description Validation Error */
24484+
422: {
24485+
headers: {
24486+
[name: string]: unknown;
24487+
};
24488+
content: {
24489+
"application/json": components["schemas"]["HTTPValidationError"];
24490+
};
24491+
};
24492+
};
24493+
};
2443524494
get_style_preset: {
2443624495
parameters: {
2443724496
query?: never;

0 commit comments

Comments
 (0)