From 93670c15d9b6542b24078c9cef7b09e09fc8cb47 Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Sat, 07 Mar 2026 13:49:16 +0100
Subject: [PATCH] feat: project picker in session drawer
---
types/index.ts | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/types/index.ts b/types/index.ts
index 97846eb..fc57c4a 100644
--- a/types/index.ts
+++ b/types/index.ts
@@ -120,6 +120,18 @@
status: string;
}
+export interface PaiProject {
+ name: string;
+ slug: string;
+ path: string;
+ sessions: number;
+}
+
+export interface WsIncomingProjects {
+ type: "projects";
+ projects: PaiProject[];
+}
+
export type WsIncoming =
| WsIncomingText
| WsIncomingVoice
@@ -130,4 +142,5 @@
| WsIncomingTranscript
| WsIncomingTyping
| WsIncomingError
- | WsIncomingStatus;
+ | WsIncomingStatus
+ | WsIncomingProjects;
--
Gitblit v1.3.1