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

Interface PageLineage

src/renderer/src/types/type.ts:47–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46// 页面溯源信息
47export interface PageLineage {
48 source:
49 | 'user'
50 | 'object_to_crosstab'
51 | 'crosstab_to_chat'
52 | 'object_to_chat'
53 | 'chat_to_object'
54 | 'other'
55 sourcePageId?: string // 源页面ID
56 sourceContext?: {
57 // 对象页面到交叉分析页面的上下文
58 objectCrosstab?: {
59 horizontalNodeId: string
60 verticalNodeId: string
61 horizontalNodeName: string
62 verticalNodeName: string
63 }
64 // 交叉分析页面到聊天页面的上下文
65 crosstabChat?: {
66 horizontalItem: string
67 verticalItem: string
68 cellContent: string
69 }
70 // 其他生成上下文
71 customContext?: any
72 }
73 generatedPageIds: string[] // 后续催生的页面ID列表
74 generatedAt?: number // 生成时间戳
75 description?: string // 溯源描述
76}
77
78export interface PageBase {
79 id: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected