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

50 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 15688
// Function ID: 15689
2026-07-20 16:05:17 +00:00
// Name: ContentInventoryEntryRow
2026-08-12 06:57:52 +00:00
// Dependencies: [19, 3998, 21, 589, 8277, 15689, 15698, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-12 06:57:52 +00:00
// Module 15688 (ContentInventoryEntryRow)
2026-07-29 08:29:29 +00:00
import "noop";
2026-08-11 06:20:06 +00:00
import markAllUserIdListsStale from "markAllUserIdListsStale";
2026-07-23 10:11:24 +00:00
import { jsx } from "jsxProd";
const require = arg1;
const result = require("jsxProd").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;
let obj = content(589);
2026-08-11 06:20:06 +00:00
const items = [markAllUserIdListsStale];
2026-07-23 10:11:24 +00:00
if (obj.useStateFromStores(items, () => outer1_3.isBlockedOrIgnored(content.author_id))) {
2026-07-20 16:05:17 +00:00
return null;
} else {
const content_type = content.content_type;
2026-08-12 06:57:52 +00:00
if (tmp(8277).ContentInventoryEntryType.TOP_GAME !== content_type) {
if (tmp(8277).ContentInventoryEntryType.PLAYED_GAME !== content_type) {
if (tmp(8277).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-12 06:57:52 +00:00
return jsx(importDefault(15698), { 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-12 06:57:52 +00:00
return jsx(importDefault(15689), { content: null, renderForScreenshot: null });
2026-07-20 16:05:17 +00:00
}
};