feat: support output agent info

This commit is contained in:
Joel
2024-01-29 13:00:14 +08:00
parent 2019d8f3e3
commit b62e34c6fa
9 changed files with 239 additions and 27 deletions

16
types/log.ts Normal file
View File

@ -0,0 +1,16 @@
export type LogAnnotation = {
content: string
account: {
id: string
name: string
email: string
}
created_at: number
}
export type Annotation = {
id: string
authorName: string
logAnnotation?: LogAnnotation
created_at?: number
}