mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-05 08:27:42 +00:00
e8df597055
Show a notification to the user whenever their role in the meeting changes, so they immediately see when they have been promoted or demoted.
19 lines
494 B
TypeScript
19 lines
494 B
TypeScript
export enum ToastDuration {
|
|
SHORT = 3000,
|
|
MEDIUM = 4000,
|
|
LONG = 5000,
|
|
EXTRA_LONG = 7000,
|
|
}
|
|
|
|
export const NotificationDuration = {
|
|
ALERT: ToastDuration.SHORT,
|
|
MESSAGE: ToastDuration.LONG,
|
|
PARTICIPANT_JOINED: ToastDuration.LONG,
|
|
HAND_RAISED: ToastDuration.LONG,
|
|
LOWER_HAND: ToastDuration.EXTRA_LONG,
|
|
RECORDING_SAVING: ToastDuration.EXTRA_LONG,
|
|
REACTION_RECEIVED: ToastDuration.SHORT,
|
|
RECORDING_REQUESTED: ToastDuration.LONG,
|
|
ROLE_CHANGED: ToastDuration.LONG,
|
|
} as const
|