mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 02:32:18 +00:00
Update litegraph API - add @ts-expect-error (#1380)
* Update litegraph API - add @ts-expect-error LG update removes some implicit any, exposing existing errors * Update litegraph --------- Co-authored-by: huchenlei <huchenlei@proton.me>
This commit is contained in:
8
package-lock.json
generated
8
package-lock.json
generated
@@ -9,7 +9,7 @@
|
|||||||
"version": "1.3.29",
|
"version": "1.3.29",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
||||||
"@comfyorg/litegraph": "^0.8.12",
|
"@comfyorg/litegraph": "^0.8.13",
|
||||||
"@primevue/themes": "^4.0.5",
|
"@primevue/themes": "^4.0.5",
|
||||||
"@vueuse/core": "^11.0.0",
|
"@vueuse/core": "^11.0.0",
|
||||||
"axios": "^1.7.4",
|
"axios": "^1.7.4",
|
||||||
@@ -1911,9 +1911,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/@comfyorg/litegraph": {
|
"node_modules/@comfyorg/litegraph": {
|
||||||
"version": "0.8.12",
|
"version": "0.8.13",
|
||||||
"resolved": "https://registry.npmjs.org/@comfyorg/litegraph/-/litegraph-0.8.12.tgz",
|
"resolved": "https://registry.npmjs.org/@comfyorg/litegraph/-/litegraph-0.8.13.tgz",
|
||||||
"integrity": "sha512-5cAzn4QEoFFD74zBQH4LlKCyxGYYK15N9dQ7O/GtjD+xo3aGsjVR5D4SG0CZ8O4++ycI7l1YzcEBSkNh07JMzQ==",
|
"integrity": "sha512-WT0wlouwGQhjcvd+kQfAXooKTPWMu3CUb2bw702Hs3ctFnVEm8+Z9kaK6z1KRg45GkjhajCdlEuQ9XFQ5A0nVA==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@cspotcode/source-map-support": {
|
"node_modules/@cspotcode/source-map-support": {
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
||||||
"@comfyorg/litegraph": "^0.8.12",
|
"@comfyorg/litegraph": "^0.8.13",
|
||||||
"@primevue/themes": "^4.0.5",
|
"@primevue/themes": "^4.0.5",
|
||||||
"@vueuse/core": "^11.0.0",
|
"@vueuse/core": "^11.0.0",
|
||||||
"axios": "^1.7.4",
|
"axios": "^1.7.4",
|
||||||
|
|||||||
@@ -2299,6 +2299,7 @@ export class ComfyApp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
// @ts-expect-error Discrepancies between zod and litegraph - in progress
|
||||||
this.graph.configure(graphData)
|
this.graph.configure(graphData)
|
||||||
if (
|
if (
|
||||||
restore_view &&
|
restore_view &&
|
||||||
@@ -2636,6 +2637,7 @@ export class ComfyApp {
|
|||||||
const p = await this.graphToPrompt()
|
const p = await this.graphToPrompt()
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
// @ts-expect-error Discrepancies between zod and litegraph - in progress
|
||||||
const res = await api.queuePrompt(number, p)
|
const res = await api.queuePrompt(number, p)
|
||||||
this.lastNodeErrors = res.node_errors
|
this.lastNodeErrors = res.node_errors
|
||||||
if (this.lastNodeErrors.length > 0) {
|
if (this.lastNodeErrors.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user