Prompt serializer and test fixes
This commit is contained in:
@@ -3,7 +3,11 @@ import type { SerializedAppState } from "./components/ComfyApp"
|
||||
const blankGraph: SerializedAppState = {
|
||||
createdBy: "ComfyBox",
|
||||
version: 1,
|
||||
workflowName: "New Workflow",
|
||||
attrs: {
|
||||
title: "New Workflow",
|
||||
queuePromptButtonName: "Queue Prompt",
|
||||
queuePromptButtonRunWorkflow: true
|
||||
},
|
||||
workflow: {
|
||||
last_node_id: 0,
|
||||
last_link_id: 0,
|
||||
@@ -17,10 +21,10 @@ const blankGraph: SerializedAppState = {
|
||||
layout: {
|
||||
root: null,
|
||||
allItems: {},
|
||||
attrs: {
|
||||
queuePromptButtonName: "Queue Prompt",
|
||||
queuePromptButtonRunWorkflow: true
|
||||
}
|
||||
},
|
||||
canvas: {
|
||||
offset: [0, 0],
|
||||
scale: 1
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user