feat(auth): bind binders accept (realtime, realtimeRegistry) params
Extend bindProductionAuth and bindDevSeedAuth to 7-arg signatures. Fix RecordingRealtimeBroadcaster scope type to structurally match ChannelScope. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,7 @@ import type { z } from "zod";
|
||||
type RealtimeChannelDescriptor<TName extends string, TSchema extends z.ZodType> = {
|
||||
readonly name: TName;
|
||||
readonly schema: TSchema;
|
||||
readonly scope?: string;
|
||||
readonly scope: string | { role: string } | { userScoped: true; template: string };
|
||||
};
|
||||
|
||||
interface IRealtimeBroadcaster {
|
||||
|
||||
Reference in New Issue
Block a user