mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +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: {
|
||||
query?: never
|
||||
header?: never
|
||||
path?: never
|
||||
path: {
|
||||
nodeId: string
|
||||
version: string
|
||||
}
|
||||
cookie?: never
|
||||
}
|
||||
get?: never
|
||||
/** list comfy-nodes for certain node */
|
||||
get: operations['ListComfyNodes']
|
||||
put?: never
|
||||
/** create comfy-nodes for certain node */
|
||||
post: operations['CreateComfyNodes']
|
||||
@@ -2464,6 +2468,8 @@ export interface operations {
|
||||
latest?: boolean
|
||||
/** @description Database column to use as ascending ordering. Add `;desc` as suffix on each column for descending sort */
|
||||
sort?: string[]
|
||||
/** @description node_id to use as filter */
|
||||
node_id?: string[]
|
||||
/** @description The platform requesting the nodes */
|
||||
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: {
|
||||
parameters: {
|
||||
query?: never
|
||||
|
||||
Reference in New Issue
Block a user