mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +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. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| workflow | ||
| index.ts | ||
| trigger-status.ts | ||