chore(server): clean up post-Hono-deletion scar tissue (#26542)

This commit is contained in:
Kit Langton
2026-05-09 12:30:18 -04:00
committed by GitHub
parent 3afa622eab
commit b24a4e897e
4 changed files with 4 additions and 463 deletions

View File

@@ -22,8 +22,7 @@ import { WorkspaceApi } from "./groups/workspace"
import { V2Api } from "./groups/v2"
import { Authorization } from "./middleware/authorization"
// SSE event schemas built from the same BusEvent/SyncEvent registries that
// the Hono spec uses, so both specs emit identical Event/SyncEvent components.
// SSE event schemas built from the BusEvent/SyncEvent registries.
const EventSchema = Schema.Union(BusEvent.effectPayloads()).annotate({ identifier: "Event" })
const SyncEventSchemas = SyncEvent.effectPayloads()