mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-06 13:40:25 +00:00
[Cleanup] Remove extra.info from workflow schema (#3332)
This commit is contained in:
@@ -207,18 +207,6 @@ const zGroup = z
|
||||
})
|
||||
.passthrough()
|
||||
|
||||
const zInfo = z
|
||||
.object({
|
||||
name: z.string(),
|
||||
author: z.string(),
|
||||
description: z.string(),
|
||||
version: z.string(),
|
||||
created: z.string(),
|
||||
modified: z.string(),
|
||||
software: z.string()
|
||||
})
|
||||
.passthrough()
|
||||
|
||||
const zDS = z
|
||||
.object({
|
||||
scale: z.number(),
|
||||
@@ -236,7 +224,6 @@ const zConfig = z
|
||||
const zExtra = z
|
||||
.object({
|
||||
ds: zDS.optional(),
|
||||
info: zInfo.optional(),
|
||||
linkExtensions: z.array(zComfyLinkExtension).optional(),
|
||||
reroutes: z.array(zReroute).optional()
|
||||
})
|
||||
|
||||
@@ -370,15 +370,6 @@
|
||||
565.6800000000005,
|
||||
-43.919999999999995
|
||||
]
|
||||
},
|
||||
"info": {
|
||||
"name": "workflow",
|
||||
"author": "",
|
||||
"description": "",
|
||||
"version": "1",
|
||||
"created": "2024-06-02T20:17:02.243Z",
|
||||
"modified": "2024-06-02T20:17:11.438Z",
|
||||
"software": "ComfyUI"
|
||||
}
|
||||
},
|
||||
"version": 0.4
|
||||
|
||||
@@ -363,15 +363,6 @@
|
||||
127.07026983402625,
|
||||
138.77779138162384
|
||||
]
|
||||
},
|
||||
"info": {
|
||||
"name": "workflow",
|
||||
"author": "",
|
||||
"description": "",
|
||||
"version": "1",
|
||||
"created": "2024-06-11T23:37:08.326Z",
|
||||
"modified": "2024-06-12T13:25:28.857Z",
|
||||
"software": "ComfyUI"
|
||||
}
|
||||
},
|
||||
"version": 0.4
|
||||
|
||||
@@ -383,15 +383,6 @@
|
||||
323.87991710157155,
|
||||
235.75066665118254
|
||||
]
|
||||
},
|
||||
"info": {
|
||||
"name": "workflow",
|
||||
"author": "",
|
||||
"description": "",
|
||||
"version": "1",
|
||||
"created": "2024-06-11T23:37:08.326Z",
|
||||
"modified": "2024-06-11T23:37:08.327Z",
|
||||
"software": "ComfyUI"
|
||||
}
|
||||
},
|
||||
"version": 0.4
|
||||
|
||||
Reference in New Issue
Block a user