fix: export sessions preview payload init
This commit is contained in:
parent
cd6bacae23
commit
1d55dc0fe3
1 changed files with 5 additions and 0 deletions
|
|
@ -249,6 +249,11 @@ public struct ClawdbotSessionPreviewEntry: Codable, Sendable {
|
|||
public struct ClawdbotSessionsPreviewPayload: Codable, Sendable {
|
||||
public let ts: Int
|
||||
public let previews: [ClawdbotSessionPreviewEntry]
|
||||
|
||||
public init(ts: Int, previews: [ClawdbotSessionPreviewEntry]) {
|
||||
self.ts = ts
|
||||
self.previews = previews
|
||||
}
|
||||
}
|
||||
|
||||
public struct ClawdbotChatSendResponse: Codable, Sendable {
|
||||
|
|
|
|||
Loading…
Reference in a new issue