dify/web/app/components/workflow/store/workflow
yyh 70bea85624
refactor(web): improve storage utility type safety with function overloads
Add function overloads to getNumber and getBoolean so they return
non-nullable types when a defaultValue is provided. This eliminates
the need for non-null assertions at call sites.

- Remove unused persist-config.ts (zustand adapter not needed)
- Remove ! assertions from layout-slice.ts
2026-01-18 16:10:04 +08:00
..
debug chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
chat-variable-slice.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
env-variable-slice.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
form-slice.ts feat: run with params from logs (#26787) 2025-10-16 11:01:11 +08:00
help-line-slice.ts chore: slice workflow store (#17254) 2025-04-01 16:02:52 +08:00
history-slice.ts chore: slice workflow store (#17254) 2025-04-01 16:02:52 +08:00
index.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
layout-slice.ts refactor(web): improve storage utility type safety with function overloads 2026-01-18 16:10:04 +08:00
node-slice.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
panel-slice.ts refactor(web): add SSR-safe localStorage utility and ESLint rules 2026-01-18 16:01:04 +08:00
tool-slice.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
use-nodes.ts pref: reduce the times of useNodes reRender (#28682) 2025-11-26 16:52:47 +08:00
version-slice.ts chore: slice workflow store (#17254) 2025-04-01 16:02:52 +08:00
workflow-draft-slice.ts chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
workflow-slice.ts refactor(web): add SSR-safe localStorage utility and ESLint rules 2026-01-18 16:01:04 +08:00