mirror of
https://github.com/langgenius/dify.git
synced 2026-03-06 08:06:37 +08: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.