rename bus

This commit is contained in:
Dax Raad
2025-12-09 14:32:04 -05:00
parent de577e17da
commit 1e3bdcc71c
20 changed files with 165 additions and 122 deletions

View File

@@ -1,5 +1,6 @@
import { BusEvent } from "@/bus/bus-event"
import { Bus } from "@/bus"
import z from "zod"
import { Bus } from "../bus"
import { Storage } from "../storage/storage"
export namespace Todo {
@@ -14,7 +15,7 @@ export namespace Todo {
export type Info = z.infer<typeof Info>
export const Event = {
Updated: Bus.event(
Updated: BusEvent.define(
"todo.updated",
z.object({
sessionID: z.string(),