decord/source/modules/notifications/summary_reminder/SummaryReminderNotificationUtils.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

24 lines
1.3 KiB
TypeScript

// Module ID: 15516
// Function ID: 15517
// Name: onSummaryReminderNotificationSettingsChanged
// Dependencies: [4212, 1074, 1935, 1242, 2]
// Exports: onSummaryReminderNotificationSettingsChanged
// Module 15516 (onSummaryReminderNotificationSettingsChanged)
import set from "set" /* 2 */;
import ME from "ME" /* 1074 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 1242 */;
import explicitContentFromProto from "explicitContentFromProto" /* 1935 */;
import AccountNotificationFlags from "AccountNotificationFlags" /* 4212 */;
let closure_3 = AccountNotificationFlags.NotificationSettingsUpdateType;
const AnalyticEvents = ME.AnalyticEvents;
const result = set.fileFinishedImporting("modules/notifications/summary_reminder/SummaryReminderNotificationUtils.tsx");
export const onSummaryReminderNotificationSettingsChanged = function onSummaryReminderNotificationSettingsChanged(summary_reminder_notifications) {
const EnableSummaryReminderNotifications = explicitContentFromProto.EnableSummaryReminderNotifications;
EnableSummaryReminderNotifications.updateSetting(summary_reminder_notifications);
let obj = expandEventPropertiesDefault;
obj = { update_type: constants.ACCOUNT, summary_reminder_notifications };
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
};