Files
upstream-mirror 1d2bfcac0c
Some checks failed
Prosody Plugin Tests / test (push) Failing after 10m11s
Close stale issues and PRs / stale (push) Failing after 1s
snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
2026-09-15 15:56:32 +05:00

57 lines
1.3 KiB
TypeScript

import {
DELETE_RECENT_LIST_ENTRY,
_STORE_CURRENT_CONFERENCE,
_UPDATE_CONFERENCE_DURATION
} from './actionTypes';
/**
* Deletes a recent list entry based on url and date.
*
* @param {Object} entryId - An object constructed of the url and the date of
* the entry for easy identification.
* @returns {{
* type: DELETE_RECENT_LIST_ENTRY,
* entryId: Object
* }}
*/
export function deleteRecentListEntry(entryId: Object) {
return {
type: DELETE_RECENT_LIST_ENTRY,
entryId
};
}
/**
* Action to initiate a new addition to the list.
*
* @param {Object} locationURL - The current location URL.
* @protected
* @returns {{
* type: _STORE_CURRENT_CONFERENCE,
* locationURL: Object
* }}
*/
export function _storeCurrentConference(locationURL: Object) {
return {
type: _STORE_CURRENT_CONFERENCE,
locationURL
};
}
/**
* Action to initiate the update of the duration of the last conference.
*
* @param {Object} locationURL - The current location URL.
* @protected
* @returns {{
* type: _UPDATE_CONFERENCE_DURATION,
* locationURL: Object
* }}
*/
export function _updateConferenceDuration(locationURL: Object) {
return {
type: _UPDATE_CONFERENCE_DURATION,
locationURL
};
}