MCPcopy Create free account
hub / github.com/experdot/pointer / setTopicCollapsed

Function setTopicCollapsed

src/renderer/src/services/messagesService.ts:281–287  ·  view source on GitHub ↗
(
  pageId: string,
  topicId: string,
  collapsed: boolean
)

Source from the content-addressed store, hash-verified

279 * 设置 Topic 折叠状态
280 */
281export 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

Callers

nothing calls this directly

Calls 1

updateTopicMethod · 0.80

Tested by

no test coverage detected