40 lines
1.7 KiB
TypeScript
40 lines
1.7 KiB
TypeScript
/* Metro module 9868; source: modules/summaries/Summary.tsx; dependencies: [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
|
|
var object3;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object3 = {SOURCE_0: 0};
|
|
object3[0] = 'SOURCE_0';
|
|
object3.SOURCE_1 = 1;
|
|
object3[1] = 'SOURCE_1';
|
|
const object4 = {UNSET: 0};
|
|
object4[0] = 'UNSET';
|
|
object4.SOURCE_1 = 1;
|
|
object4[1] = 'SOURCE_1';
|
|
object4.SOURCE_2 = 2;
|
|
object4[2] = 'SOURCE_2';
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/summaries/Summary.tsx');
|
|
exports.SummarySources = object3;
|
|
exports.SummaryType = object4;
|
|
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 object2 = {};
|
|
object2.id = id;
|
|
object2.topic = topic;
|
|
object2.summShort = summ_short;
|
|
const Array = global.Array;
|
|
const from = Array.from;
|
|
const Set = global.Set;
|
|
object2.people = Reflect.apply(from, Array, [new Set(people)]);
|
|
object2.startId = start_id;
|
|
object2.endId = end_id;
|
|
object2.count = count;
|
|
object2.channelId = a1;
|
|
object2.source = source;
|
|
object2.type = type;
|
|
return object2;
|
|
}
|
|
|