mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
gen types
This commit is contained in:
parent
936a6be5d6
commit
a1175bddcd
@ -812,6 +812,9 @@ export class Session extends HeyApiClient {
|
||||
sessionID: string
|
||||
directory?: string
|
||||
title?: string
|
||||
time?: {
|
||||
archived?: number
|
||||
}
|
||||
},
|
||||
options?: Options<never, ThrowOnError>,
|
||||
) {
|
||||
@ -823,6 +826,7 @@ export class Session extends HeyApiClient {
|
||||
{ in: "path", key: "sessionID" },
|
||||
{ in: "query", key: "directory" },
|
||||
{ in: "body", key: "title" },
|
||||
{ in: "body", key: "time" },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
@ -575,6 +575,7 @@ export type Session = {
|
||||
created: number
|
||||
updated: number
|
||||
compacting?: number
|
||||
archived?: number
|
||||
}
|
||||
revert?: {
|
||||
messageID: string
|
||||
@ -1391,6 +1392,7 @@ export type ToolListItem = {
|
||||
export type ToolList = Array<ToolListItem>
|
||||
|
||||
export type Path = {
|
||||
home: string
|
||||
state: string
|
||||
config: string
|
||||
worktree: string
|
||||
@ -2249,6 +2251,9 @@ export type SessionGetResponse = SessionGetResponses[keyof SessionGetResponses]
|
||||
export type SessionUpdateData = {
|
||||
body?: {
|
||||
title?: string
|
||||
time: {
|
||||
archived?: number
|
||||
}
|
||||
}
|
||||
path: {
|
||||
sessionID: string
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user