[Cleanup] Remove extra.info from workflow schema (#3332)

This commit is contained in:
Chenlei Hu
2025-04-05 21:43:09 -04:00
committed by GitHub
parent 026f076b8a
commit 785cad70ba
4 changed files with 0 additions and 40 deletions

View File

@@ -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()
})

View File

@@ -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

View File

@@ -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

View File

@@ -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