mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-07 16:52:27 +08:00
17 lines
343 B
TypeScript
17 lines
343 B
TypeScript
|
|
export interface DiagramOperation {
|
||
|
|
operation: "update" | "add" | "delete"
|
||
|
|
cell_id: string
|
||
|
|
new_xml?: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface ToolPartLike {
|
||
|
|
type: string
|
||
|
|
toolCallId: string
|
||
|
|
state?: string
|
||
|
|
input?: {
|
||
|
|
xml?: string
|
||
|
|
operations?: DiagramOperation[]
|
||
|
|
} & Record<string, unknown>
|
||
|
|
output?: string
|
||
|
|
}
|