decord/source/actions/native/DisplayedInviteActionCreators.tsx

28 lines
1,009 B
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 8581
// Function ID: 68170
2026-07-20 16:05:17 +00:00
// Name: showInvite
2026-07-25 08:10:48 +00:00
// Dependencies: [8291, 686, 6636, 2]
2026-07-20 16:05:17 +00:00
// Exports: clearDisplayedInvite, showInvite
2026-07-25 08:10:48 +00:00
// Module 8581 (showInvite)
2026-07-23 10:11:24 +00:00
const result = require("generateAcceptInviteOptions").fileFinishedImporting("actions/native/DisplayedInviteActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const showInvite = function showInvite(inviteCode, username, arg2) {
let _location;
let deeplinkAttemptId;
let fromDeeplink;
let obj = arg2;
if (null == arg2) {
obj = {};
}
({ deeplinkAttemptId, fromDeeplink, location: _location } = obj);
2026-07-25 08:10:48 +00:00
require(8291) /* _isNativeReflectConstruct */;
2026-07-20 16:05:17 +00:00
obj = { type: "DISPLAYED_INVITE_SHOW", code: inviteCode, username, deeplinkAttemptId, fromDeeplink };
2026-07-23 10:11:24 +00:00
importDefault(686).dispatch(obj);
const obj2 = importDefault(686);
2026-07-25 08:10:48 +00:00
const invite = importDefault(6636).resolveInvite(inviteCode, _location);
2026-07-20 16:05:17 +00:00
};
export const clearDisplayedInvite = function clearDisplayedInvite() {
2026-07-23 10:11:24 +00:00
importDefault(686).dispatch({ type: "DISPLAYED_INVITE_CLEAR" });
2026-07-20 16:05:17 +00:00
};