fix sdk types

This commit is contained in:
Dax Raad
2025-11-14 12:35:44 -05:00
parent 986c60353e
commit 2520780846
4 changed files with 42 additions and 44 deletions

View File

@@ -129,9 +129,14 @@ export namespace Server {
content: {
"text/event-stream": {
schema: resolver(
Bus.payloads().meta({
ref: "Event",
}),
z
.object({
directory: z.string(),
payload: Bus.payloads(),
})
.meta({
ref: "GlobalEvent",
}),
),
},
},
@@ -1767,11 +1772,7 @@ export namespace Server {
description: "Event stream",
content: {
"text/event-stream": {
schema: resolver(
Bus.payloads().meta({
ref: "Event",
}),
),
schema: resolver(Bus.payloads()),
},
},
},