decord/source/modules/checkpoint/native/onTapCheckpointCard.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

28 lines
1.1 KiB
TypeScript

// Module ID: 12081
// Function ID: 12082
// Name: onTapCheckpointCard
// Dependencies: [1958, 1074, 1241, 4818, 2]
// Exports: onTapCheckpointCard
// Module 12081 (onTapCheckpointCard)
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1241 */;
import AppAnalyticsUtils from "AppAnalyticsUtils" /* 4818 */;
import ChannelStore from "ChannelStore" /* 1958 */;
require = fn;
const AnalyticEvents = fn(1074).AnalyticEvents;
const size = fn(2);
const result = size.fileFinishedImporting("modules/checkpoint/native/onTapCheckpointCard.tsx");
export const onTapCheckpointCard = function onTapCheckpointCard(message) {
const channel = ChannelStore.getChannel(message.message.channel_id);
const obj = AnalyticsUtilsDefault;
const obj2 = { other_user_id: message.authorId };
const merged = Object.assign(AppAnalyticsUtils.collectChannelAnalyticsMetadata(channel));
let guild_id;
if (channel != null) {
guild_id = channel.guild_id;
}
const merged1 = Object.assign(AppAnalyticsUtils.collectGuildAnalyticsMetadata(guild_id));
obj.track(AnalyticEvents.CHECKPOINT_CARD_CLICKED, obj2);
};