"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7316/react/features/base/config/actionTypes.ts" (5 Jun 2023, 1703 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.

    1 /**
    2  * The redux action which signals that a configuration (commonly known in Jitsi
    3  * Meet as config.js) will be loaded for a specific locationURL.
    4  *
    5  * {
    6  *     type: CONFIG_WILL_LOAD,
    7  *     locationURL: URL,
    8  *     room: string
    9  * }
   10  */
   11 export const CONFIG_WILL_LOAD = 'CONFIG_WILL_LOAD';
   12 
   13 /**
   14  * The redux action which signals that a configuration (commonly known in Jitsi
   15  * Meet as config.js) could not be loaded due to a specific error.
   16  *
   17  * {
   18  *     type: LOAD_CONFIG_ERROR,
   19  *     error: Error,
   20  *     locationURL: URL
   21  * }
   22  */
   23 export const LOAD_CONFIG_ERROR = 'LOAD_CONFIG_ERROR';
   24 
   25 /**
   26  * The redux action which sets the configuration represented by the feature
   27  * base/config. The configuration is defined and consumed by the library
   28  * lib-jitsi-meet but some of its properties are consumed by the application
   29  * jitsi-meet as well.
   30  *
   31  * {
   32  *     type: SET_CONFIG,
   33  *     config: Object
   34  * }
   35  */
   36 export const SET_CONFIG = 'SET_CONFIG';
   37 
   38 /**
   39  * The redux action which updates the configuration represented by the feature
   40  * base/config. The configuration is defined and consumed by the library
   41  * lib-jitsi-meet but some of its properties are consumed by the application
   42  * jitsi-meet as well. A merge operation is performed between the existing config
   43  * and the passed object.
   44  *
   45  * {
   46  *     type: UPDATE_CONFIG,
   47  *     config: Object
   48  * }
   49  */
   50 export const UPDATE_CONFIG = 'UPDATE_CONFIG';
   51 
   52 /**
   53  * The redux action which overwrites configurations represented by the feature
   54  * base/config. The passed on config values overwrite the current values for given props.
   55  *
   56  * {
   57  *     type: OVERWRITE_CONFIG,
   58  *     config: Object
   59  * }
   60  */
   61 export const OVERWRITE_CONFIG = 'OVERWRITE_CONFIG';