(params: Record<string, any>)
| 51 | } |
| 52 | } |
| 53 | }; |
| 54 | |
| 55 | await collectDialogs({}); |
| 56 | await collectDialogs({ folderId: 1 }); |
| 57 | |
| 58 | return Array.from(dialogsById.keys()); |
| 59 | } |
| 60 | |
| 61 | // ==================== 缓存管理器 ==================== |
| 62 | type CacheData = { |
| 63 | cache: Record<string, any>; |
no test coverage detected