| 45 | |
| 46 | // 页面溯源信息 |
| 47 | export 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 | |
| 78 | export interface PageBase { |
| 79 | id: string |
nothing calls this directly
no outgoing calls
no test coverage detected