Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
20 lines
1.1 KiB
TypeScript
20 lines
1.1 KiB
TypeScript
// Module ID: 9700
|
|
// Function ID: 9701
|
|
// Name: trackApplicationOpen
|
|
// Dependencies: [1074, 1240, 2]
|
|
// Exports: default
|
|
|
|
// Module 9700 (trackApplicationOpen)
|
|
import Constants from "Constants" /* 1074 */;
|
|
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1240 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const AnalyticEvents = Constants.AnalyticEvents;
|
|
const result = size.fileFinishedImporting("modules/activities/utils/trackApplicationOpen.tsx");
|
|
|
|
export default function trackApplicationOpen(partyId) {
|
|
partyId = partyId.partyId;
|
|
({ type, source, userId, guildId, channelId, channelType, applicationId, messageId, locationObject, analyticsLocations, referrerId, inviterUserId, remoteJoinPlatform } = partyId);
|
|
const obj2 = { type, source, guild_id: guildId, channel_id: channelId, channel_type: channelType, application_id: applicationId, party_id: partyId, other_user_id: userId, message_id: messageId, location: locationObject, location_stack: analyticsLocations, referrer_id: referrerId, invite_inviter_id: inviterUserId, remote_join_platform: remoteJoinPlatform };
|
|
AnalyticsUtilsDefault.track(AnalyticEvents.APPLICATION_OPENED, obj2);
|
|
};
|