mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-22 23:39:45 +00:00
[chore] Update Comfy Registry API types from comfy-api@d7be0da (#3239)
Co-authored-by: christian-byrne <72887196+christian-byrne@users.noreply.github.com>
This commit is contained in:
@@ -832,10 +832,14 @@ export interface paths {
|
|||||||
parameters: {
|
parameters: {
|
||||||
query?: never
|
query?: never
|
||||||
header?: never
|
header?: never
|
||||||
path?: never
|
path: {
|
||||||
|
nodeId: string
|
||||||
|
version: string
|
||||||
|
}
|
||||||
cookie?: never
|
cookie?: never
|
||||||
}
|
}
|
||||||
get?: never
|
/** list comfy-nodes for certain node */
|
||||||
|
get: operations['ListComfyNodes']
|
||||||
put?: never
|
put?: never
|
||||||
/** create comfy-nodes for certain node */
|
/** create comfy-nodes for certain node */
|
||||||
post: operations['CreateComfyNodes']
|
post: operations['CreateComfyNodes']
|
||||||
@@ -2464,6 +2468,8 @@ export interface operations {
|
|||||||
latest?: boolean
|
latest?: boolean
|
||||||
/** @description Database column to use as ascending ordering. Add `;desc` as suffix on each column for descending sort */
|
/** @description Database column to use as ascending ordering. Add `;desc` as suffix on each column for descending sort */
|
||||||
sort?: string[]
|
sort?: string[]
|
||||||
|
/** @description node_id to use as filter */
|
||||||
|
node_id?: string[]
|
||||||
/** @description The platform requesting the nodes */
|
/** @description The platform requesting the nodes */
|
||||||
form_factor?: string
|
form_factor?: string
|
||||||
}
|
}
|
||||||
@@ -3084,6 +3090,71 @@ export interface operations {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ListComfyNodes: {
|
||||||
|
parameters: {
|
||||||
|
query?: {
|
||||||
|
/** @description The page number to retrieve. */
|
||||||
|
page?: number
|
||||||
|
/** @description The number of items to include per page. */
|
||||||
|
limit?: number
|
||||||
|
}
|
||||||
|
header?: never
|
||||||
|
path: {
|
||||||
|
nodeId: string
|
||||||
|
version: string
|
||||||
|
}
|
||||||
|
cookie?: never
|
||||||
|
}
|
||||||
|
requestBody?: never
|
||||||
|
responses: {
|
||||||
|
/** @description Comy Nodes obtained successfully */
|
||||||
|
200: {
|
||||||
|
headers: {
|
||||||
|
[name: string]: unknown
|
||||||
|
}
|
||||||
|
content: {
|
||||||
|
'application/json': {
|
||||||
|
comfy_nodes?: components['schemas']['ComfyNode'][]
|
||||||
|
totalNumberOfPages?: number
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/** @description Unauthorized */
|
||||||
|
401: {
|
||||||
|
headers: {
|
||||||
|
[name: string]: unknown
|
||||||
|
}
|
||||||
|
content?: never
|
||||||
|
}
|
||||||
|
/** @description Forbidden */
|
||||||
|
403: {
|
||||||
|
headers: {
|
||||||
|
[name: string]: unknown
|
||||||
|
}
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['ErrorResponse']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/** @description Version not found */
|
||||||
|
404: {
|
||||||
|
headers: {
|
||||||
|
[name: string]: unknown
|
||||||
|
}
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['ErrorResponse']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/** @description Internal server error */
|
||||||
|
500: {
|
||||||
|
headers: {
|
||||||
|
[name: string]: unknown
|
||||||
|
}
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['ErrorResponse']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
CreateComfyNodes: {
|
CreateComfyNodes: {
|
||||||
parameters: {
|
parameters: {
|
||||||
query?: never
|
query?: never
|
||||||
|
|||||||
Reference in New Issue
Block a user