decord/source/modules/activate_device/ActivateDeviceUtils.tsx
2026-07-21 06:55:02 +00:00

22 lines
891 B
TypeScript

// Module ID: 12761
// Function ID: 97837
// Name: clientIdToActivateDevicePlatform
// Dependencies: []
// Exports: clientIdToActivateDevicePlatform
// Module 12761 (clientIdToActivateDevicePlatform)
const PlatformTypes = require(dependencyMap[0]).PlatformTypes;
const _module = require(dependencyMap[2]);
const result = _module.fileFinishedImporting("modules/activate_device/ActivateDeviceUtils.tsx");
export const clientIdToActivateDevicePlatform = function clientIdToActivateDevicePlatform(clientId) {
if (clientId === require(dependencyMap[1]).ConsoleOAuthApplications.PLAYSTATION_APPLICATION_ID) {
let PLAYSTATION = PlatformTypes.PLAYSTATION;
} else {
PLAYSTATION = null;
if (clientId === require(dependencyMap[1]).ConsoleOAuthApplications.PLAYSTATION_STAGING_APPLICATION_ID) {
PLAYSTATION = PlatformTypes.PLAYSTATION_STAGING;
}
}
return PLAYSTATION;
};