mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
Refactor SSE event handling and consolidate notification contexts
This commit is contained in:
1 parent
9851ec06e0
commit
f7fd3176d4
30 files changed
+2226
-988
No files matched your search
@@ -3,3 +3,4 @@ export * from './repo'
|
||||
export * from './files'
|
||||
export * from './opencode'
|
||||
export * from './auth'
|
||||
export * from './sse'
|
||||
@@ -0,0 +1,8 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const SSESubscribeSchema = z.object({
|
||||
clientId: z.string().min(1),
|
||||
directories: z.array(z.string()),
|
||||
});
|
||||
|
||||
export type SSESubscribeRequest = z.infer<typeof SSESubscribeSchema>;
|
||||
Reference in new issue
Block a user