decord/source/modules/activate_device/ActivateDeviceUtils.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

25 lines
889 B
TypeScript

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