diff --git a/src/component/types/events.ts b/src/component/types/events.ts index f1e5b92d..d0d1daae 100644 --- a/src/component/types/events.ts +++ b/src/component/types/events.ts @@ -6,9 +6,13 @@ export const SIGNAL_REQUEST = 'signal/request' export const SIGNAL_ANSWER = 'signal/answer' export const SIGNAL_PROVIDE = 'signal/provide' +export const MEMBER_CREATED = 'member/created' +export const MEMBER_DELETED = 'member/deleted' export const MEMBER_CONNECTED = 'member/connected' -export const MEMBER_UPDATED = 'member/updated' // TODO: New. export const MEMBER_DISCONNECTED = 'member/disconnected' +export const MEMBER_RECEIVING_STARTED = 'member/receiving/started' +export const MEMBER_RECEIVING_STOPPED = 'member/receiving/stopped' +export const MEMBER_PROFILE_UPDATED = 'member/profile/updated' export const CONTROL_HOST = 'control/host' export const CONTROL_RELEASE = 'control/release' diff --git a/src/component/types/messages.ts b/src/component/types/messages.ts index 226db09c..905e2695 100644 --- a/src/component/types/messages.ts +++ b/src/component/types/messages.ts @@ -54,6 +54,7 @@ export interface MemberID { } export interface MemberProfile { + id: string name: string is_admin: boolean can_login: boolean