decord/source/modules/activate_device/ActivateDeviceUtils.tsx

26 lines
889 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 13395
// Function ID: 13396
2026-07-20 16:05:17 +00:00
// Name: clientIdToActivateDevicePlatform
2026-08-24 06:08:38 +00:00
// Dependencies: [676, 9827, 2]
2026-07-20 16:05:17 +00:00
// Exports: clientIdToActivateDevicePlatform
2026-08-24 06:08:38 +00:00
// Module 13395 (clientIdToActivateDevicePlatform)
import set from "set" /* 2 */;
import ME from "ME" /* 676 */;
import set2 from "set" /* 9827 */;
2026-07-22 07:54:56 +00:00
2026-08-24 06:08:38 +00:00
const PlatformTypes = ME.PlatformTypes;
const result = set.fileFinishedImporting("modules/activate_device/ActivateDeviceUtils.tsx");
2026-07-20 16:05:17 +00:00
export const clientIdToActivateDevicePlatform = function clientIdToActivateDevicePlatform(clientId) {
2026-08-24 06:08:38 +00:00
if (clientId === set2.ConsoleOAuthApplications.PLAYSTATION_APPLICATION_ID) {
2026-07-20 16:05:17 +00:00
let PLAYSTATION = PlatformTypes.PLAYSTATION;
} else {
PLAYSTATION = null;
2026-08-24 06:08:38 +00:00
if (clientId === set2.ConsoleOAuthApplications.PLAYSTATION_STAGING_APPLICATION_ID) {
2026-07-20 16:05:17 +00:00
PLAYSTATION = PlatformTypes.PLAYSTATION_STAGING;
}
}
return PLAYSTATION;
};