Comfy-Org / Comfy-Org/ComfyUI_frontend
[DevTask] Fix workflow store interface
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
- `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](https://www.notion.so/Issue-3858-DevTask-Fix-workflow-store-interface-1f16d73d3650814b8851c798ef6ee77d) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.