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

50 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 15470
// Function ID: 15471
2026-07-20 16:05:17 +00:00
// Name: ContentInventoryEntryRow
2026-08-05 07:35:12 +00:00
// Dependencies: [19, 3892, 21, 589, 8016, 15471, 15480, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 15470 (ContentInventoryEntryRow)
2026-07-29 08:29:29 +00:00
import "noop";
import upsertRelationship from "upsertRelationship";
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);
const items = [upsertRelationship];
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-05 07:35:12 +00:00
if (tmp(8016).ContentInventoryEntryType.TOP_GAME !== content_type) {
if (tmp(8016).ContentInventoryEntryType.PLAYED_GAME !== content_type) {
if (tmp(8016).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-05 07:35:12 +00:00
return jsx(importDefault(15480), { 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-05 07:35:12 +00:00
return jsx(importDefault(15471), { content: null, renderForScreenshot: null });
2026-07-20 16:05:17 +00:00
}
};