From e25bdba29f49b1b55a8a8cccdc4583aea3c101ed Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Sun, 15 Mar 2026 13:41:09 +0100
Subject: [PATCH] feat: multi-image upload and catch_up message delivery
---
types/index.ts | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/types/index.ts b/types/index.ts
index 259915f..21b7275 100644
--- a/types/index.ts
+++ b/types/index.ts
@@ -137,6 +137,17 @@
projects: PaiProject[];
}
+export interface WsIncomingUnread {
+ type: "unread";
+ sessionId: string;
+}
+
+export interface WsIncomingCatchUp {
+ type: "catch_up";
+ messages: Record<string, unknown>[];
+ serverSeq: number;
+}
+
export type WsIncoming =
| WsIncomingText
| WsIncomingVoice
@@ -148,4 +159,6 @@
| WsIncomingTyping
| WsIncomingError
| WsIncomingStatus
- | WsIncomingProjects;
+ | WsIncomingProjects
+ | WsIncomingUnread
+ | WsIncomingCatchUp;
--
Gitblit v1.3.1