mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 14:27:40 +00:00
Format everything (#211)
This commit is contained in:
@@ -13,7 +13,7 @@ export class ChangeTracker {
|
||||
isOurLoad = false;
|
||||
workflow: ComfyWorkflow | null;
|
||||
|
||||
ds: { scale: number; offset: [number, number]; };
|
||||
ds: { scale: number; offset: [number, number] };
|
||||
nodeOutputs: any;
|
||||
|
||||
get app() {
|
||||
|
||||
@@ -24,7 +24,10 @@ export class ComfyWorkflowManager extends EventTarget {
|
||||
workflowLookup: Record<string, ComfyWorkflow> = {};
|
||||
workflows: Array<ComfyWorkflow> = [];
|
||||
openWorkflows: Array<ComfyWorkflow> = [];
|
||||
queuedPrompts: Record<string, { workflow?: ComfyWorkflow; nodes?: Record<string, boolean>; }> = {};
|
||||
queuedPrompts: Record<
|
||||
string,
|
||||
{ workflow?: ComfyWorkflow; nodes?: Record<string, boolean> }
|
||||
> = {};
|
||||
app: ComfyApp;
|
||||
|
||||
get activeWorkflow() {
|
||||
@@ -254,7 +257,12 @@ export class ComfyWorkflow {
|
||||
return !!this.changeTracker;
|
||||
}
|
||||
|
||||
constructor(manager: ComfyWorkflowManager, path: string, pathParts?: string[], isFavorite?: boolean) {
|
||||
constructor(
|
||||
manager: ComfyWorkflowManager,
|
||||
path: string,
|
||||
pathParts?: string[],
|
||||
isFavorite?: boolean
|
||||
) {
|
||||
this.manager = manager;
|
||||
if (pathParts) {
|
||||
this.#updatePath(path, pathParts);
|
||||
|
||||
Reference in New Issue
Block a user