export type StaffChatOpenDetail = {
  studentRkId: number;
  fullName: string;
  studentCode: string;
  email?: string;
};

export function openStaffChat(student: StaffChatOpenDetail) {
  window.dispatchEvent(new CustomEvent<StaffChatOpenDetail>('staff-chat:open', { detail: student }));
}
