mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
Extract swipe gesture logic and improve push notification handling (#135)
This commit is contained in:
1 parent
24609ef6c3
commit
687ad405ae
13 files changed
+259
-78
No files matched your search
@@ -64,6 +64,8 @@ export const PushNotificationPayloadSchema = z.object({
|
||||
eventType: z.string(),
|
||||
sessionId: z.string().optional(),
|
||||
directory: z.string().optional(),
|
||||
repoId: z.number().optional(),
|
||||
repoName: z.string().optional(),
|
||||
})
|
||||
.optional(),
|
||||
});
|
||||
@@ -8,6 +8,7 @@ export const SSESubscribeSchema = z.object({
|
||||
export const SSEVisibilitySchema = z.object({
|
||||
clientId: z.string().min(1),
|
||||
visible: z.boolean(),
|
||||
activeSessionId: z.string().nullable().optional(),
|
||||
});
|
||||
|
||||
export type SSESubscribeRequest = z.infer<typeof SSESubscribeSchema>;
|
||||
|
||||
Reference in new issue
Block a user