"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7319/react/features/base/connection/actionTypes.ts" (6 Jun 2023, 1501 Bytes) of package /linux/misc/jitsi-meet-7319.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 a connection disconnected.
    3  *
    4  * {
    5  *     type: CONNECTION_DISCONNECTED,
    6  *     connection: JitsiConnection
    7  * }
    8  */
    9 export const CONNECTION_DISCONNECTED = 'CONNECTION_DISCONNECTED';
   10 
   11 /**
   12  * The type of (redux) action which signals that a connection was successfully
   13  * established.
   14  *
   15  * {
   16  *     type: CONNECTION_ESTABLISHED,
   17  *     connection: JitsiConnection,
   18  *     timeEstablished: number,
   19  * }
   20  */
   21 export const CONNECTION_ESTABLISHED = 'CONNECTION_ESTABLISHED';
   22 
   23 /**
   24  * The type of (redux) action which signals that a connection failed.
   25  *
   26  * {
   27  *     type: CONNECTION_FAILED,
   28  *     connection: JitsiConnection,
   29  *     error: Object | string
   30  * }
   31  */
   32 export const CONNECTION_FAILED = 'CONNECTION_FAILED';
   33 
   34 /**
   35  * The type of (redux) action which signals that a connection will connect.
   36  *
   37  * {
   38  *     type: CONNECTION_WILL_CONNECT,
   39  *     connection: JitsiConnection
   40  * }
   41  */
   42 export const CONNECTION_WILL_CONNECT = 'CONNECTION_WILL_CONNECT';
   43 
   44 /**
   45  * The type of (redux) action which sets the location URL of the application,
   46  * connection, conference, etc.
   47  *
   48  * {
   49  *     type: SET_LOCATION_URL,
   50  *     locationURL: ?URL
   51  * }
   52  */
   53 export const SET_LOCATION_URL = 'SET_LOCATION_URL';
   54 
   55 /**
   56  * The type of (redux) action which tells whether connection info should be displayed
   57  * on context menu.
   58  *
   59  * {
   60  *     type: SHOW_CONNECTION_INFO,
   61  *     showConnectionInfo: boolean
   62  * }
   63  */
   64 export const SHOW_CONNECTION_INFO = 'SHOW_CONNECTION_INFO';