Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
// Module ID: 8864
|
|
// Function ID: 8865
|
|
// Name: DisplayedInviteActionCreators
|
|
// Dependencies: [8865, 573, 8496, 2]
|
|
// Exports: clearDisplayedInvite, showInvite
|
|
|
|
// Module 8864 (DisplayedInviteActionCreators)
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
import InstantInviteActionCreatorsDefault from "InstantInviteActionCreators" /* 8496 */;
|
|
import DisplayedInviteStore from "DisplayedInviteStore" /* 8865 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("actions/native/DisplayedInviteActionCreators.tsx");
|
|
|
|
export const showInvite = function showInvite(code, username, arg2) {
|
|
let obj = arg2;
|
|
if (arg2 == null) {
|
|
obj = {};
|
|
}
|
|
({ deeplinkAttemptId, location: _location } = obj);
|
|
DisplayedInviteStore;
|
|
DispatcherDefault.dispatch({ type: "DISPLAYED_INVITE_SHOW", code, username, deeplinkAttemptId });
|
|
const obj3 = { type: "DISPLAYED_INVITE_SHOW", code, username, deeplinkAttemptId };
|
|
const invite = InstantInviteActionCreatorsDefault.resolveInvite(code, _location);
|
|
};
|
|
export const clearDisplayedInvite = function clearDisplayedInvite() {
|
|
DispatcherDefault.dispatch({ type: "DISPLAYED_INVITE_CLEAR" });
|
|
};
|