Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

604 B
Raw Blame
/**
 * Shape of the event envelope exchanged with the advisor app.
 *
 * Mirrors the style used by `modules/API`: a `name` field identifies the event
 * and any additional fields are event-specific payload.
 */
export interface ICustomPanelEvent {

    /**
     * Additional event-specific fields are allowed.
     */
    [key: string]: unknown;

    /**
     * Discriminator for the event, matched against the handler table.
     */
    name: string;
}

/**
 * Signature of an event handler registered in the table-driven dispatch map.
 */
export type EventHandler = (event: ICustomPanelEvent) => void;