From f4942098f1e1449b9e0066c74a2ec00453d7a278 Mon Sep 17 00:00:00 2001 From: Danijel Martinek Date: Sat, 9 May 2026 12:37:38 +0200 Subject: [PATCH] feat(core-realtime): IRealtimeHandlerRegistry extends RealtimeRegistryProtocol --- packages/core-realtime/src/realtime-handler-registry.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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[];