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

Interface GlobalSearchMessageGroup

src/renderer/src/types/type.ts:215–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213
214/** 按消息分组的搜索结果 */
215export interface GlobalSearchMessageGroup {
216 pageId: string
217 messageId: string
218 role: 'user' | 'assistant' | 'system'
219 /** 消息标题(如果有) */
220 title?: string
221 /** 消息内容预览(前 N 个字符,用于 title 不存在时显示) */
222 contentPreview: string
223 /** 消息创建时间 */
224 createdAt: number
225 /** 该消息内的所有匹配项 */
226 matches: GlobalSearchMatch[]
227 /** 是否展开 */
228 expanded: boolean
229}
230
231/** 按页面分组的全局搜索结果 */
232export interface GlobalSearchResultGroup {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected