dify/web/app/components/workflow/store
yyh 2f081fa6fa
refactor(skill-editor): adopt 4-generic StateCreator pattern for type-safe cross-slice access
Use explicit StateCreator<FullStore, [], [], SliceType> pattern instead of
StateCreator<SliceType> for all skill-editor slices. This enables:
- Type-safe cross-slice state access via get()
- Explicit type contracts instead of relying on spread args behavior
- Better maintainability following Lobe-chat's proven pattern

Extract all type definitions to types.ts to avoid circular dependencies.
2026-01-18 13:24:34 +08:00
..
__tests__ chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow refactor(skill-editor): adopt 4-generic StateCreator pattern for type-safe cross-slice access 2026-01-18 13:24:34 +08:00
index.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
trigger-status.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00