import { Tenant } from 'src/types/tenant'; import { Subjects } from '../subjects'; import { LiveType } from '../../types/liveType'; import { EndLiveReason } from '../../types/endLiveReason'; export interface LiveEndedEvent { subject: Subjects.LiveEnded; data: { tenant: Tenant.PrivateShow; liveId: string; streamerId: string; liveType: LiveType; duration: number; totalViewers: number; endedAt: string; endReason?: EndLiveReason; }; }