"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7305/react/features/reactions/actionTypes.ts" (26 May 2023, 1480 Bytes) of package /linux/misc/jitsi-meet-7305.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TypeScript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /**
    2  * The type of the (redux) action which shows/hides the reactions menu.
    3  *
    4  * {
    5  *     type: TOGGLE_REACTIONS_VISIBLE,
    6  *     visible: boolean
    7  * }
    8  */
    9 export const TOGGLE_REACTIONS_VISIBLE = 'TOGGLE_REACTIONS_VISIBLE';
   10 
   11 /**
   12  * The type of the action which adds a new reaction to the reactions message and sets
   13  * a new timeout.
   14  *
   15  * {
   16  *     type: ADD_REACTION_BUFFER,
   17  *     message: string,
   18  *     timeoutID: number
   19  * }
   20  */
   21 export const ADD_REACTION_BUFFER = 'ADD_REACTION_BUFFER';
   22 
   23 /**
   24  * The type of the action which sends the reaction buffer and resets it.
   25  *
   26  * {
   27  *     type: FLUSH_REACTION_BUFFER
   28  * }
   29  */
   30 export const FLUSH_REACTION_BUFFER = 'FLUSH_REACTION_BUFFER';
   31 
   32 /**
   33  * The type of the action which adds a new reaction message to the chat.
   34  *
   35  * {
   36  *     type: ADD_REACTION_MESSAGE,
   37  *     message: string,
   38  * }
   39  */
   40 export const ADD_REACTION_MESSAGE = 'ADD_REACTION_MESSAGE';
   41 
   42 /**
   43  * The type of the action which sets the reactions queue.
   44  *
   45  * {
   46  *     type: SET_REACTION_QUEUE,
   47  *     value: Array
   48  * }
   49  */
   50 export const SET_REACTION_QUEUE = 'SET_REACTION_QUEUE';
   51 
   52 /**
   53  * The type of the action which signals a send reaction to everyone in the conference.
   54  */
   55 export const SEND_REACTIONS = 'SEND_REACTIONS';
   56 
   57 /**
   58  * The type of action to adds reactions to the queue.
   59  */
   60 export const PUSH_REACTIONS = 'PUSH_REACTIONS';
   61 
   62 /**
   63  * The type of action to display disable notification sounds.
   64  */
   65 export const SHOW_SOUNDS_NOTIFICATION = 'SHOW_SOUNDS_NOTIFICATION';