decord/alpha/source/modules/connections/shouldWarnConnectedAccountTwoWay.tsx

20 lines
675 B
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 15161
// Function ID: 15162
// Name: shouldWarnConnectedAccountTwoWay
2026-10-03 08:58:59 +00:00
// Dependencies: [1085, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-10-09 10:00:15 +00:00
// Module 15161 (shouldWarnConnectedAccountTwoWay)
2026-10-03 08:58:59 +00:00
import Constants from "Constants" /* 1085 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
2026-07-20 16:05:17 +00:00
const items = [, , , ];
({ XBOX: arr[0], PLAYSTATION: arr[1], PLAYSTATION_STAGING: arr[2], CRUNCHYROLL: arr[3] } = Constants.PlatformTypes);
const set = new Set(items);
const result = size.fileFinishedImporting("modules/connections/shouldWarnConnectedAccountTwoWay.tsx");
2026-07-20 16:05:17 +00:00
export default function shouldWarnConnectedAccountTwoWay(type) {
2026-10-03 08:58:59 +00:00
const tmp = set.has(type.type) && type.twoWayLink;
return tmp;
2026-07-20 16:05:17 +00:00
};