decord/source/modules/activate_device/ActivateDeviceUtils.tsx

23 lines
840 B
TypeScript
Raw Normal View History

2026-08-13 07:00:46 +00:00
// Module ID: 13292
// Function ID: 13293
2026-07-20 16:05:17 +00:00
// Name: clientIdToActivateDevicePlatform
2026-08-13 07:00:46 +00:00
// Dependencies: [676, 10505, 2]
2026-07-20 16:05:17 +00:00
// Exports: clientIdToActivateDevicePlatform
2026-08-13 07:00:46 +00:00
// Module 13292 (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-08-13 07:00:46 +00:00
if (clientId === require(10505) /* set */.ConsoleOAuthApplications.PLAYSTATION_APPLICATION_ID) {
2026-07-20 16:05:17 +00:00
let PLAYSTATION = PlatformTypes.PLAYSTATION;
} else {
PLAYSTATION = null;
2026-08-13 07:00:46 +00:00
if (clientId === require(10505) /* set */.ConsoleOAuthApplications.PLAYSTATION_STAGING_APPLICATION_ID) {
2026-07-20 16:05:17 +00:00
PLAYSTATION = PlatformTypes.PLAYSTATION_STAGING;
}
}
return PLAYSTATION;
};