Files
discord-decomp/modules/summaries/Summary.tsx
T
2026-11-01 12:12:55 +02:00

32 lines
588 B
TypeScript

// Metro module 9508 (f9509).
const r11 = {
SOURCE_0: 0,
0: "SOURCE_0",
SOURCE_1: 1,
1: "SOURCE_1"
};
const r14 = {
UNSET: 0,
0: "UNSET",
SOURCE_1: 1,
1: "SOURCE_1",
SOURCE_2: 2,
2: "SOURCE_2"
};
export { r11 as SummarySources };
export { r14 as SummaryType };
export function createSummaryFromServer(a0, a1) {
return {
id: a0.id,
topic: a0.topic,
summShort: a0.summ_short,
people: Array.from(new Set(a0.people)),
startId: a0.start_id,
endId: a0.end_id,
count: a0.count,
channelId: a1,
source: a0.source,
type: a0.type
};
}