"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7305/react/features/av-moderation/actionTypes.ts" (26 May 2023, 3152 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 (redux) action which signals that A/V Moderation had been disabled.
    3  *
    4  * {
    5  *     type: DISABLE_MODERATION
    6  * }
    7  */
    8 export const DISABLE_MODERATION = 'DISABLE_MODERATION';
    9 
   10 /**
   11  * The type of (redux) action which signals that the notification for audio/video unmute should
   12  * be dismissed.
   13  *
   14  * {
   15  *     type: DISMISS_PARTICIPANT_PENDING_AUDIO
   16  * }
   17  */
   18 export const DISMISS_PENDING_PARTICIPANT = 'DISMISS_PENDING_PARTICIPANT';
   19 
   20 
   21 /**
   22  * The type of (redux) action which signals that A/V Moderation had been enabled.
   23  *
   24  * {
   25  *     type: ENABLE_MODERATION
   26  * }
   27  */
   28 export const ENABLE_MODERATION = 'ENABLE_MODERATION';
   29 
   30 
   31 /**
   32  * The type of (redux) action which signals that Audio Moderation disable has been requested.
   33  *
   34  * {
   35  *     type: REQUEST_DISABLE_AUDIO_MODERATION
   36  * }
   37  */
   38 export const REQUEST_DISABLE_AUDIO_MODERATION = 'REQUEST_DISABLE_AUDIO_MODERATION';
   39 
   40 /**
   41  * The type of (redux) action which signals that Video Moderation disable has been requested.
   42  *
   43  * {
   44  *     type: REQUEST_DISABLE_VIDEO_MODERATION
   45  * }
   46  */
   47 export const REQUEST_DISABLE_VIDEO_MODERATION = 'REQUEST_DISABLE_VIDEO_MODERATION';
   48 
   49 /**
   50  * The type of (redux) action which signals that Audio Moderation enable has been requested.
   51  *
   52  * {
   53  *     type: REQUEST_ENABLE_AUDIO_MODERATION
   54  * }
   55  */
   56 export const REQUEST_ENABLE_AUDIO_MODERATION = 'REQUEST_ENABLE_AUDIO_MODERATION';
   57 
   58 /**
   59  * The type of (redux) action which signals that Video Moderation enable has been requested.
   60  *
   61  * {
   62  *     type: REQUEST_ENABLE_VIDEO_MODERATION
   63  * }
   64  */
   65 export const REQUEST_ENABLE_VIDEO_MODERATION = 'REQUEST_ENABLE_VIDEO_MODERATION';
   66 
   67 /**
   68  * The type of (redux) action which signals that the local participant had been approved.
   69  *
   70  * {
   71  *     type: LOCAL_PARTICIPANT_APPROVED,
   72  *     mediaType: MediaType
   73  * }
   74  */
   75 export const LOCAL_PARTICIPANT_APPROVED = 'LOCAL_PARTICIPANT_APPROVED';
   76 
   77 /**
   78  * The type of (redux) action which signals that the local participant had been blocked.
   79  *
   80  * {
   81  *     type: LOCAL_PARTICIPANT_REJECTED,
   82  *     mediaType: MediaType
   83  * }
   84  */
   85 export const LOCAL_PARTICIPANT_REJECTED = 'LOCAL_PARTICIPANT_REJECTED';
   86 
   87 /**
   88  * The type of (redux) action which signals to show notification to the local participant.
   89  *
   90  * {
   91  *     type: LOCAL_PARTICIPANT_MODERATION_NOTIFICATION
   92  * }
   93  */
   94 export const LOCAL_PARTICIPANT_MODERATION_NOTIFICATION = 'LOCAL_PARTICIPANT_MODERATION_NOTIFICATION';
   95 
   96 /**
   97  * The type of (redux) action which signals that a participant was approved for a media type.
   98  *
   99  * {
  100  *     type: PARTICIPANT_APPROVED,
  101  *     mediaType: MediaType
  102  *     participantId: String
  103  * }
  104  */
  105 export const PARTICIPANT_APPROVED = 'PARTICIPANT_APPROVED';
  106 
  107 /**
  108  * The type of (redux) action which signals that a participant was blocked for a media type.
  109  *
  110  * {
  111  *     type: PARTICIPANT_REJECTED,
  112  *     mediaType: MediaType
  113  *     participantId: String
  114  * }
  115  */
  116 export const PARTICIPANT_REJECTED = 'PARTICIPANT_REJECTED';
  117 
  118 
  119 /**
  120  * The type of (redux) action which signals that a participant asked to have its audio umuted.
  121  *
  122  * {
  123  *     type: PARTICIPANT_PENDING_AUDIO
  124  * }
  125  */
  126 export const PARTICIPANT_PENDING_AUDIO = 'PARTICIPANT_PENDING_AUDIO';