"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7309/react/features/base/conference/actionTypes.ts" (31 May 2023, 6830 Bytes) of package /linux/misc/jitsi-meet-7309.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 server authentication has
    3  * becoming available or unavailable or logged in user has changed.
    4  *
    5  * {
    6  *     type: AUTH_STATUS_CHANGED,
    7  *     authEnabled: boolean,
    8  *     authLogin: string
    9  * }
   10  */
   11 export const AUTH_STATUS_CHANGED = 'AUTH_STATUS_CHANGED';
   12 
   13 /**
   14  * The type of (redux) action which signals that a specific conference failed.
   15  *
   16  * {
   17  *     type: CONFERENCE_FAILED,
   18  *     conference: JitsiConference,
   19  *     error: Error
   20  * }
   21  */
   22 export const CONFERENCE_FAILED = 'CONFERENCE_FAILED';
   23 
   24 /**
   25  * The type of (redux) action which signals that a specific conference was
   26  * joined.
   27  *
   28  * {
   29  *     type: CONFERENCE_JOINED,
   30  *     conference: JitsiConference
   31  * }
   32  */
   33 export const CONFERENCE_JOINED = 'CONFERENCE_JOINED';
   34 
   35 /**
   36  * The type of (redux) action which signals that a specific conference joining is in progress.
   37  * A CONFERENCE_JOINED is guaranteed to follow.
   38  *
   39  * {
   40  *     type: CONFERENCE_JOIN_IN_PROGRESS,
   41  *     conference: JitsiConference
   42  * }
   43  */
   44 export const CONFERENCE_JOIN_IN_PROGRESS = 'CONFERENCE_JOIN_IN_PROGRESS';
   45 
   46 /**
   47  * The type of (redux) action which signals that a specific conference was left.
   48  *
   49  * {
   50  *     type: CONFERENCE_LEFT,
   51  *     conference: JitsiConference
   52  * }
   53  */
   54 export const CONFERENCE_LEFT = 'CONFERENCE_LEFT';
   55 
   56 /**
   57  * The type of (redux) action, which indicates conference local subject changes.
   58  *
   59  * {
   60  *     type: CONFERENCE_LOCAL_SUBJECT_CHANGED
   61  *     subject: string
   62  * }
   63  */
   64  export const CONFERENCE_LOCAL_SUBJECT_CHANGED = 'CONFERENCE_LOCAL_SUBJECT_CHANGED';
   65 
   66  /**
   67  * The type of (redux) action, which indicates conference subject changes.
   68  *
   69  * {
   70  *     type: CONFERENCE_SUBJECT_CHANGED
   71  *     subject: string
   72  * }
   73  */
   74 export const CONFERENCE_SUBJECT_CHANGED = 'CONFERENCE_SUBJECT_CHANGED';
   75 
   76 /**
   77 * The type of (redux) action, which indicates conference UTC timestamp changes.
   78 *
   79 * {
   80 *      type: CONFERENCE_TIMESTAMP_CHANGED
   81 *      timestamp: number
   82 * }
   83 */
   84 export const CONFERENCE_TIMESTAMP_CHANGED = 'CONFERENCE_TIMESTAMP_CHANGED';
   85 
   86 /**
   87  * The type of (redux) action which signals that an uuid for a conference has been set.
   88  *
   89  * {
   90  *     type: CONFERENCE_UNIQUE_ID_SET,
   91  *     conference: JitsiConference
   92  * }
   93  */
   94 export const CONFERENCE_UNIQUE_ID_SET = 'CONFERENCE_UNIQUE_ID_SET';
   95 
   96 /**
   97  * The type of (redux) action which signals that the end-to-end RTT against a specific remote participant has changed.
   98  *
   99  * {
  100  *     type: E2E_RTT_CHANGED,
  101  *     e2eRtt: {
  102  *         rtt: number,
  103  *         participant: Object,
  104  *     }
  105  * }
  106  */
  107 export const E2E_RTT_CHANGED = 'E2E_RTT_CHANGED'
  108 
  109 /**
  110  * The type of (redux) action which signals that a specific conference will be
  111  * joined.
  112  *
  113  * {
  114  *     type: CONFERENCE_WILL_JOIN,
  115  *     conference: JitsiConference
  116  * }
  117  */
  118 export const CONFERENCE_WILL_JOIN = 'CONFERENCE_WILL_JOIN';
  119 
  120 /**
  121  * The type of (redux) action which signals that a specific conference will be
  122  * left.
  123  *
  124  * {
  125  *     type: CONFERENCE_WILL_LEAVE,
  126  *     conference: JitsiConference
  127  * }
  128  */
  129 export const CONFERENCE_WILL_LEAVE = 'CONFERENCE_WILL_LEAVE';
  130 
  131 /**
  132  * The type of (redux) action which signals that the data channel with the
  133  * bridge has been established.
  134  *
  135  * {
  136  *     type: DATA_CHANNEL_OPENED
  137  * }
  138  */
  139 export const DATA_CHANNEL_OPENED = 'DATA_CHANNEL_OPENED';
  140 
  141 /**
  142  * The type of (redux) action which signals that the data channel with the
  143  * bridge has been closed.
  144  *
  145  * {
  146  *     type: DATA_CHANNEL_CLOSED,
  147  *     code: number,
  148  *     reason: string
  149  * }
  150  */
  151 export const DATA_CHANNEL_CLOSED = 'DATA_CHANNEL_CLOSED';
  152 
  153 /**
  154  * The type of action which signals that the user has been kicked out from
  155  * the conference.
  156  *
  157  * {
  158  *     type: KICKED_OUT,
  159  *     conference: JitsiConference
  160  * }
  161  */
  162 export const KICKED_OUT = 'KICKED_OUT';
  163 
  164 /**
  165  * The type of (redux) action which signals that the lock state of a specific
  166  * {@code JitsiConference} changed.
  167  *
  168  * {
  169  *     type: LOCK_STATE_CHANGED,
  170  *     conference: JitsiConference,
  171  *     locked: boolean
  172  * }
  173  */
  174 export const LOCK_STATE_CHANGED = 'LOCK_STATE_CHANGED';
  175 
  176 /**
  177  * The type of (redux) action which signals that a system (non-participant) message has been received.
  178  *
  179  * {
  180  *     type: NON_PARTICIPANT_MESSAGE_RECEIVED,
  181  *     id: String,
  182  *     json: Object
  183  * }
  184  */
  185 export const NON_PARTICIPANT_MESSAGE_RECEIVED = 'NON_PARTICIPANT_MESSAGE_RECEIVED';
  186 
  187 /**
  188  * The type of (redux) action which sets the peer2peer flag for the current
  189  * conference.
  190  *
  191  * {
  192  *     type: P2P_STATUS_CHANGED,
  193  *     p2p: boolean
  194  * }
  195  */
  196 export const P2P_STATUS_CHANGED = 'P2P_STATUS_CHANGED';
  197 
  198 /**
  199  * The type of (redux) action which signals to play specified touch tones.
  200  *
  201  * {
  202  *     type: SEND_TONES,
  203  *     tones: string,
  204  *     duration: number,
  205  *     pause: number
  206  * }
  207  */
  208 export const SEND_TONES = 'SEND_TONES';
  209 
  210 /**
  211  * The type of (redux) action which updates the current known status of the
  212  * Follow Me feature.
  213  *
  214  * {
  215  *     type: SET_FOLLOW_ME,
  216  *     enabled: boolean
  217  * }
  218  */
  219 export const SET_FOLLOW_ME = 'SET_FOLLOW_ME';
  220 
  221 /**
  222  * The type of (redux) action which sets the obfuscated room name.
  223  *
  224  * {
  225  *     type: SET_OBFUSCATED_ROOM,
  226  *     obfuscatedRoom: string
  227  * }
  228  */
  229  export const SET_OBFUSCATED_ROOM = 'SET_OBFUSCATED_ROOM';
  230 
  231 /**
  232  * The type of (redux) action which updates the current known status of the
  233  * Mute Reactions Sound feature.
  234  *
  235  * {
  236  *     type: SET_START_REACTIONS_MUTED,
  237  *     enabled: boolean
  238  * }
  239  */
  240 export const SET_START_REACTIONS_MUTED = 'SET_START_REACTIONS_MUTED';
  241 
  242 /**
  243  * The type of (redux) action which sets the password to join or lock a specific
  244  * {@code JitsiConference}.
  245  *
  246  * {
  247  *     type: SET_PASSWORD,
  248  *     conference: JitsiConference,
  249  *     method: Function
  250  *     password: string
  251  * }
  252  */
  253 export const SET_PASSWORD = 'SET_PASSWORD';
  254 
  255 /**
  256  * The type of (redux) action which signals that setting a password on a
  257  * {@code JitsiConference} failed (with an error).
  258  *
  259  * {
  260  *     type: SET_PASSWORD_FAILED,
  261  *     error: string
  262  * }
  263  */
  264 export const SET_PASSWORD_FAILED = 'SET_PASSWORD_FAILED';
  265 
  266 /**
  267  * The type of (redux) action which signals for pending subject changes.
  268  *
  269  * {
  270  *     type: SET_PENDING_SUBJECT_CHANGE,
  271  *     subject: string
  272  * }
  273  */
  274 export const SET_PENDING_SUBJECT_CHANGE = 'SET_PENDING_SUBJECT_CHANGE';
  275 
  276 /**
  277  * The type of (redux) action which sets the name of the room of the
  278  * conference to be joined.
  279  *
  280  * {
  281  *     type: SET_ROOM,
  282  *     room: string
  283  * }
  284  */
  285 export const SET_ROOM = 'SET_ROOM';
  286 
  287 /**
  288  * The type of (redux) action which updates the current known status of the
  289  * moderator features for starting participants as audio or video muted.
  290  *
  291  * {
  292  *     type: SET_START_MUTED_POLICY,
  293  *     startAudioMutedPolicy: boolean,
  294  *     startVideoMutedPolicy: boolean
  295  * }
  296  */
  297 export const SET_START_MUTED_POLICY = 'SET_START_MUTED_POLICY';