mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-20 17:24:22 +01:00
regen sdk
This commit is contained in:
@@ -534,11 +534,22 @@ export type Path = {
|
|||||||
directory: string
|
directory: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type FileDiff = {
|
||||||
|
file: string
|
||||||
|
before: string
|
||||||
|
after: string
|
||||||
|
additions: number
|
||||||
|
deletions: number
|
||||||
|
}
|
||||||
|
|
||||||
export type Session = {
|
export type Session = {
|
||||||
id: string
|
id: string
|
||||||
projectID: string
|
projectID: string
|
||||||
directory: string
|
directory: string
|
||||||
parentID?: string
|
parentID?: string
|
||||||
|
summary?: {
|
||||||
|
diffs: Array<FileDiff>
|
||||||
|
}
|
||||||
share?: {
|
share?: {
|
||||||
url: string
|
url: string
|
||||||
}
|
}
|
||||||
@@ -583,14 +594,6 @@ export type Todo = {
|
|||||||
id: string
|
id: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export type FileDiff = {
|
|
||||||
file: string
|
|
||||||
before: string
|
|
||||||
after: string
|
|
||||||
additions: number
|
|
||||||
deletions: number
|
|
||||||
}
|
|
||||||
|
|
||||||
export type UserMessage = {
|
export type UserMessage = {
|
||||||
id: string
|
id: string
|
||||||
sessionID: string
|
sessionID: string
|
||||||
|
|||||||
Reference in New Issue
Block a user