diff --git a/front/src/Api/Events/IframeEvent.ts b/front/src/Api/Events/IframeEvent.ts index 598f4544..67a30027 100644 --- a/front/src/Api/Events/IframeEvent.ts +++ b/front/src/Api/Events/IframeEvent.ts @@ -9,6 +9,8 @@ import type { OpenCoWebSiteEvent } from './OpenCoWebSiteEvent'; import type { OpenPopupEvent } from './OpenPopupEvent'; import type { OpenTabEvent } from './OpenTabEvent'; import type { UserInputChatEvent } from './UserInputChatEvent'; +import type {LoadSoundEvent} from "./LoadSoundEvent"; +import type {PlaySoundEvent} from "./PlaySoundEvent"; export interface TypedMessageEvent extends MessageEvent { @@ -29,6 +31,9 @@ export type IframeEventMap = { restorePlayerControls: null displayBubble: null removeBubble: null + loadSound: LoadSoundEvent + playSound: PlaySoundEvent + stopSound: null } export interface IframeEvent { type: T;