decord/source/modules/icymi/native/ContentInventoryEntryRow.tsx

53 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-09-02 09:53:35 +00:00
// Module ID: 16319
// Function ID: 16320
2026-07-20 16:05:17 +00:00
// Name: ContentInventoryEntryRow
2026-09-02 09:53:35 +00:00
// Dependencies: [19, 4130, 21, 586, 8048, 16320, 16329, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-09-02 09:53:35 +00:00
// Module 16319 (ContentInventoryEntryRow)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
2026-09-02 09:53:35 +00:00
import itemsDefault from "items" /* 16320 */;
import CustomStatusEntryRowDefault from "CustomStatusEntryRow" /* 16329 */;
2026-09-01 10:26:29 +00:00
import closure_3 from "markAllUserIdListsStale" /* 4130 */;
2026-08-24 06:08:38 +00:00
import { jsx } from "jsxProd" /* 21 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-08-24 06:08:38 +00:00
noopAll;
const result = require("set").fileFinishedImporting("modules/icymi/native/ContentInventoryEntryRow.tsx");
2026-07-20 16:05:17 +00:00
export default function ContentInventoryEntryRow(content) {
content = content.content;
let flag = content.renderForScreenshot;
if (flag === undefined) {
flag = false;
}
2026-07-29 08:29:29 +00:00
let flag2 = content.visible;
2026-09-02 09:53:35 +00:00
let obj = content(586);
2026-08-24 06:08:38 +00:00
const items = [closure_3];
if (obj.useStateFromStores(items, () => closure_1_3.isBlockedOrIgnored(content.author_id))) {
2026-07-20 16:05:17 +00:00
return null;
} else {
const content_type = content.content_type;
2026-09-02 09:53:35 +00:00
if (tmp(8048).ContentInventoryEntryType.TOP_GAME !== content_type) {
if (tmp(8048).ContentInventoryEntryType.PLAYED_GAME !== content_type) {
if (tmp(8048).ContentInventoryEntryType.CUSTOM_STATUS === content_type) {
2026-07-29 08:29:29 +00:00
obj = { content: null, renderForScreenshot: null, visible: null };
obj[0] = content;
obj[1] = flag;
if (flag2 == null) {
flag2 = false;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj[2] = flag2;
2026-08-24 06:08:38 +00:00
return jsx(CustomStatusEntryRowDefault, { content: null, renderForScreenshot: null, visible: null });
2026-07-20 16:05:17 +00:00
} else {
return null;
}
}
}
2026-07-29 08:29:29 +00:00
obj = { content: null, renderForScreenshot: null };
obj[0] = content;
obj[1] = flag;
2026-08-24 06:08:38 +00:00
return jsx(itemsDefault, { content: null, renderForScreenshot: null });
2026-07-20 16:05:17 +00:00
}
};