decord/source/modules/activate_device/ActivateDeviceUtils.tsx
2026-07-29 08:29:29 +00:00

22 lines
837 B
TypeScript

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