"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7316/react/features/notifications/actionTypes.ts" (5 Jun 2023, 996 Bytes) of package /linux/misc/jitsi-meet-7316.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. See also the last Fossies "Diffs" side-by-side code changes report for "actionTypes.ts": jitsi-meet_8319_vs_jitsi-meet_8615.

    1 /**
    2  * The type of (redux) action which signals that all the stored notifications
    3  * need to be cleared.
    4  *
    5  * {
    6  *     type: CLEAR_NOTIFICATIONS
    7  * }
    8  */
    9 export const CLEAR_NOTIFICATIONS = 'CLEAR_NOTIFICATIONS';
   10 
   11 /**
   12  * The type of (redux) action which signals that a specific notification should
   13  * not be displayed anymore.
   14  *
   15  * {
   16  *     type: HIDE_NOTIFICATION,
   17  *     uid: string
   18  * }
   19  */
   20 export const HIDE_NOTIFICATION = 'HIDE_NOTIFICATION';
   21 
   22 /**
   23  * The type of (redux) action which signals that a notification component should
   24  * be displayed.
   25  *
   26  * {
   27  *     type: SHOW_NOTIFICATION,
   28  *     component: ReactComponent,
   29  *     props: Object,
   30  *     timeout: number,
   31  *     uid: string
   32  * }
   33  */
   34 export const SHOW_NOTIFICATION = 'SHOW_NOTIFICATION';
   35 
   36 /**
   37  * The type of (redux) action which signals that notifications should not
   38  * display.
   39  *
   40  * {
   41  *     type: SET_NOTIFICATIONS_ENABLED,
   42  *     enabled: Boolean
   43  * }
   44  */
   45 export const SET_NOTIFICATIONS_ENABLED = 'SET_NOTIFICATIONS_ENABLED';