42 lines
1.8 KiB
TypeScript
42 lines
1.8 KiB
TypeScript
/* Metro module 9868; source: modules/summaries/Summary.tsx; dependencies: [2] */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun77440(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77440, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10054:6, offset: 0x01dfc1cd, size: 187 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object = {SOURCE_0: 0};
|
|
object[0] = 'SOURCE_0';
|
|
object.SOURCE_1 = 1;
|
|
object[1] = 'SOURCE_1';
|
|
const object2 = {UNSET: 0};
|
|
object2[0] = 'UNSET';
|
|
object2.SOURCE_1 = 1;
|
|
object2[1] = 'SOURCE_1';
|
|
object2.SOURCE_2 = 2;
|
|
object2[2] = 'SOURCE_2';
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/summaries/Summary.tsx');
|
|
exports.SummarySources = object;
|
|
exports.SummaryType = object2;
|
|
exports.createSummaryFromServer = createSummaryFromServer;
|
|
}
|
|
|
|
function createSummaryFromServer({id, topic, summ_short, people, start_id, end_id, count, source, type}, a1) { // fn#77441, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10054:405, offset: 0x01dfc288, size: 153 bytes, params: 3, frame: 15
|
|
const object = {};
|
|
object.id = id;
|
|
object.topic = topic;
|
|
object.summShort = summ_short;
|
|
const Array = global.Array;
|
|
const from = Array.from;
|
|
const Set = global.Set;
|
|
object.people = Reflect.apply(from, Array, [new Set(people)]);
|
|
object.startId = start_id;
|
|
object.endId = end_id;
|
|
object.count = count;
|
|
object.channelId = a1;
|
|
object.source = source;
|
|
object.type = type;
|
|
return object;
|
|
}
|
|
|
|
global.__d(_fun77440, 9868, [2]) /* metro module 9868, dependencies: [2] */;
|