decord/source/modules/activate_device/ActivateDeviceUtils.tsx
2026-08-25 06:04:03 +00:00

25 lines
891 B
TypeScript

// Module ID: 13430
// Function ID: 13431
// Name: clientIdToActivateDevicePlatform
// Dependencies: [676, 10618, 2]
// Exports: clientIdToActivateDevicePlatform
// Module 13430 (clientIdToActivateDevicePlatform)
import set from "set" /* 2 */;
import ME from "ME" /* 676 */;
import set2 from "set" /* 10618 */;
const PlatformTypes = ME.PlatformTypes;
const result = set.fileFinishedImporting("modules/activate_device/ActivateDeviceUtils.tsx");
export const clientIdToActivateDevicePlatform = function clientIdToActivateDevicePlatform(clientId) {
if (clientId === set2.ConsoleOAuthApplications.PLAYSTATION_APPLICATION_ID) {
let PLAYSTATION = PlatformTypes.PLAYSTATION;
} else {
PLAYSTATION = null;
if (clientId === set2.ConsoleOAuthApplications.PLAYSTATION_STAGING_APPLICATION_ID) {
PLAYSTATION = PlatformTypes.PLAYSTATION_STAGING;
}
}
return PLAYSTATION;
};