decord/source/modules/activate_device/ActivateDeviceUtils.tsx

23 lines
840 B
TypeScript
Raw Normal View History

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