diff --git a/packages/core-realtime/src/realtime-handler-registry.ts b/packages/core-realtime/src/realtime-handler-registry.ts index 78e5839..cb8fef1 100644 --- a/packages/core-realtime/src/realtime-handler-registry.ts +++ b/packages/core-realtime/src/realtime-handler-registry.ts @@ -1,8 +1,9 @@ import type { z } from "zod"; +import type { RealtimeRegistryProtocol } from "@repo/core-shared/di/bind-protocols"; import type { RealtimeChannelDescriptor } from "./realtime-channel"; import type { IInboundDescriptor } from "./realtime-handler.interface"; -export interface IRealtimeHandlerRegistry { +export interface IRealtimeHandlerRegistry extends RealtimeRegistryProtocol { register(entry: IInboundDescriptor>): void; getInboundDescriptor(channelName: string): IInboundDescriptor | null; list(): IInboundDescriptor[];