12 lines
401 B
TypeScript
12 lines
401 B
TypeScript
import NotificationSound from '../../../public/sound/notification.ogg';
|
|||
|
|
import InviteSound from '../../../public/sound/invite.ogg';
|
||
|
|
import CallSound from '../../../public/sound/call.ogg';
|
||
|
|
|
||
|
|
export type SoundId = 'notification' | 'invite' | 'call' | 'none';
|
||
|
|
|
||
|
|
export const NOTIFICATION_SOUND_MAP: Record<string, string> = {
|
||
|
|
notification: NotificationSound,
|
||
|
|
invite: InviteSound,
|
||
|
|
call: CallSound,
|
||
|
|
};
|