Matthias Nott
2026-03-07 93670c15d9b6542b24078c9cef7b09e09fc8cb47
types/index.ts
....@@ -120,6 +120,18 @@
120120 status: string;
121121 }
122122
123
+export interface PaiProject {
124
+ name: string;
125
+ slug: string;
126
+ path: string;
127
+ sessions: number;
128
+}
129
+
130
+export interface WsIncomingProjects {
131
+ type: "projects";
132
+ projects: PaiProject[];
133
+}
134
+
123135 export type WsIncoming =
124136 | WsIncomingText
125137 | WsIncomingVoice
....@@ -130,4 +142,5 @@
130142 | WsIncomingTranscript
131143 | WsIncomingTyping
132144 | WsIncomingError
133
- | WsIncomingStatus;
145
+ | WsIncomingStatus
146
+ | WsIncomingProjects;