ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

[DevTask] Fix workflow store interface

Open webfiltered opened this issue 7 months ago • 0 comments

  • WorkflowStore is a public interface to describe the pinia store
    • It is/was required for this store as the Zod types and/or Vue ref unwrapping end up exceeding a hard limit on TypeScript type complexity
  • useWorfklowStore no longer returns an object that accurately represents the public interface WorkflowStore (type assertions are used)

These should be audited and cleaned up at some point. A solution may be to split the workflow store into smaller parts.

┆Issue is synchronized with this Notion page by Unito

webfiltered avatar May 12 '25 03:05 webfiltered