( pageId: string, topicId: string, collapsed: boolean )
| 279 | * 设置 Topic 折叠状态 |
| 280 | */ |
| 281 | export async function setTopicCollapsed( |
| 282 | pageId: string, |
| 283 | topicId: string, |
| 284 | collapsed: boolean |
| 285 | ): Promise<void> { |
| 286 | await stores.message.updateTopic(pageId, topicId, { collapsed }) |
| 287 | } |
| 288 | |
| 289 | /** |
| 290 | * 获取页面的所有 Topics |
nothing calls this directly
no test coverage detected