decord/source/modules/activate_device/ActivateDeviceUtils.tsx

23 lines
838 B
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 12936
// Function ID: 100371
2026-07-20 16:05:17 +00:00
// Name: clientIdToActivateDevicePlatform
2026-07-24 07:16:23 +00:00
// Dependencies: [653, 9018, 2]
2026-07-20 16:05:17 +00:00
// Exports: clientIdToActivateDevicePlatform
2026-07-24 07:16:23 +00:00
// Module 12936 (clientIdToActivateDevicePlatform)
2026-07-23 10:11:24 +00:00
import { PlatformTypes } from "ME";
2026-07-22 07:54:56 +00:00
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/activate_device/ActivateDeviceUtils.tsx");
2026-07-20 16:05:17 +00:00
export const clientIdToActivateDevicePlatform = function clientIdToActivateDevicePlatform(clientId) {
2026-07-24 07:16:23 +00:00
if (clientId === require(9018) /* set */.ConsoleOAuthApplications.PLAYSTATION_APPLICATION_ID) {
2026-07-20 16:05:17 +00:00
let PLAYSTATION = PlatformTypes.PLAYSTATION;
} else {
PLAYSTATION = null;
2026-07-24 07:16:23 +00:00
if (clientId === require(9018) /* set */.ConsoleOAuthApplications.PLAYSTATION_STAGING_APPLICATION_ID) {
2026-07-20 16:05:17 +00:00
PLAYSTATION = PlatformTypes.PLAYSTATION_STAGING;
}
}
return PLAYSTATION;
};