27 lines
1.9 KiB
TypeScript
27 lines
1.9 KiB
TypeScript
/* Metro module 11219; source: modules/debug/getPushNotificationLogs.android.tsx; dependencies: [1226, 10743, 2] */
|
|
import AuthenticationStore from '../../stores/AuthenticationStore.tsx'; /* Metro dependency 1226 */
|
|
import NativePushNotificationMonitorModule from '../../external/discord_common/js/packages/rtn-codegen/js/NativePushNotificationMonitorModule.tsx'; /* Metro dependency 10743 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun85754(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#85754, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11405:6, offset: 0x01f7ab9b, size: 114 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/debug/getPushNotificationLogs.android.tsx');
|
|
exports.default = getPushNotificationLogs;
|
|
function getPushNotificationLogs() { // fn#85755, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11405:199, offset: 0x01f7ac0d, size: 73 bytes, params: 1, frame: 12
|
|
const defaultImport = NativePushNotificationMonitorModule;
|
|
const getPushNotificationLogs = defaultImport.getPushNotificationLogs;
|
|
const authenticationStoreBinding = AuthenticationStore;
|
|
const getId = authenticationStoreBinding.getId;
|
|
return Reflect.apply(getPushNotificationLogs, defaultImport, [Reflect.apply(getId, authenticationStoreBinding,
|
|
[])]).then(function(a0) {
|
|
var property = global.JSON;
|
|
property = property.parse(a0).pushNotifications;
|
|
return property ?? [];
|
|
});
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun85754, 11219, [1226, 10743, 2]) /* metro module 11219, dependencies: [1226, 10743, 2] */;
|