"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7307/react/features/authentication/actionTypes.ts" (30 May 2023, 1591 Bytes) of package /linux/misc/jitsi-meet-7307.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 {@link LoginDialog} has been
    3  * canceled.
    4  *
    5  * {
    6  *     type: CANCEL_LOGIN
    7  * }
    8  */
    9 export const CANCEL_LOGIN = 'CANCEL_LOGIN';
   10 
   11 /**
   12  * The type of (redux) action which signals that the cyclic operation of waiting
   13  * for conference owner has been aborted.
   14  *
   15  * {
   16  *     type: STOP_WAIT_FOR_OWNER
   17  * }
   18  */
   19 export const STOP_WAIT_FOR_OWNER = 'STOP_WAIT_FOR_OWNER';
   20 
   21 /**
   22  * The type of (redux) action which informs that the authentication and role
   23  * upgrade process has finished either with success or with a specific error.
   24  * If {@code error} is {@code undefined}, then the process succeeded;
   25  * otherwise, it failed. Refer to
   26  * {@link JitsiConference#authenticateAndUpgradeRole} in lib-jitsi-meet for the
   27  * error details.
   28  *
   29  * {
   30  *     type: UPGRADE_ROLE_FINISHED,
   31  *     error: Object,
   32  *     progress: number,
   33  *     thenableWithCancel: Object
   34  * }
   35  */
   36 export const UPGRADE_ROLE_FINISHED = 'UPGRADE_ROLE_FINISHED';
   37 
   38 /**
   39  * The type of (redux) action which signals that the process of authenticating
   40  * and upgrading the local participant's role has been started.
   41  *
   42  * {
   43  *     type: UPGRADE_ROLE_STARTED,
   44  *     thenableWithCancel: Object
   45  * }
   46  */
   47 export const UPGRADE_ROLE_STARTED = 'UPGRADE_ROLE_STARTED';
   48 
   49 /**
   50  * The type of (redux) action that sets delayed handler which will check if
   51  * the conference has been created and it's now possible to join from anonymous
   52  * connection.
   53  *
   54  * {
   55  *     type: WAIT_FOR_OWNER,
   56  *     handler: Function,
   57  *     timeoutMs: number
   58  * }
   59  */
   60 export const WAIT_FOR_OWNER = 'WAIT_FOR_OWNER';