|
@@ -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
|