mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
regen sdk
This commit is contained in:
parent
cee7106054
commit
4bd7646ccb
1 changed files with 11 additions and 8 deletions
|
|
@ -534,11 +534,22 @@ export type Path = {
|
|||
directory: string
|
||||
}
|
||||
|
||||
export type FileDiff = {
|
||||
file: string
|
||||
before: string
|
||||
after: string
|
||||
additions: number
|
||||
deletions: number
|
||||
}
|
||||
|
||||
export type Session = {
|
||||
id: string
|
||||
projectID: string
|
||||
directory: string
|
||||
parentID?: string
|
||||
summary?: {
|
||||
diffs: Array<FileDiff>
|
||||
}
|
||||
share?: {
|
||||
url: string
|
||||
}
|
||||
|
|
@ -583,14 +594,6 @@ export type Todo = {
|
|||
id: string
|
||||
}
|
||||
|
||||
export type FileDiff = {
|
||||
file: string
|
||||
before: string
|
||||
after: string
|
||||
additions: number
|
||||
deletions: number
|
||||
}
|
||||
|
||||
export type UserMessage = {
|
||||
id: string
|
||||
sessionID: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue