Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,37 @@
/* Metro module 11220; source: modules/debug/serializePushNotifcationLogs.tsx; dependencies: [661, 587, 2] */
function _fun85757(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#85757, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11406:6, offset: 0x01f7ac80, size: 127 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const constantsModule = require(661) /* metro dependency 661: Constants */;
const env0_2 = constantsModule.DEVICE_TOKEN;
const env0_3 = constantsModule.DEVICE_VOIP_TOKEN;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/debug/serializePushNotifcationLogs.tsx');
exports.default = serializePushNotificationLogs;
}
function serializePushNotificationLogs(a0, a1) { // fn#85758, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11406:235, offset: 0x01f7acff, size: 250 bytes, params: 3, frame: 22
const env0_0 = a1;
if (a0.length === 0) {
return 'No logs';
}
const Storage = (require(587) /* metro dependency 587: Storage */).Storage;
const value2 = Storage.get(DEVICE_TOKEN);
let value = Storage.get(DEVICE_VOIP_TOKEN);
const value3 = '';
const r5 = value2 != null ? 'Device Token: ' + value2 : value3;
const r4 = value != null ? 'Device Voip Token: ' + value : value3;
value = a0.map(_fun85759);
value = value.join('\n');
return value3 + r5 + '\n' + r4 + '\n\n' + value;
}
function _fun85759(a0) { // fn#85759, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11406:460, offset: 0x01f7adf9, size: 210 bytes, params: 2, frame: 23
const r8 = a0.silent ? 'Silent' : 'Displayed';
const r7 = require ? '' + a0.channelId + ' - ' + a0.messageId : '' + a0.title + ' - ' + a0.content;
const Date = global.Date;
let date = new Date(a0.receivedTimestamp);
date = date.toISOString();
return '' + date + ' [' + a0.type + '] ' + r8 + ' - ' + r7;
}