mirror of
https://github.com/langgenius/dify.git
synced 2026-02-27 20:05:09 +00:00
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.