decord/source/modules/frames/utils/getFrameLaunchContextQueryParams.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

21 lines
579 B
TypeScript

// Module ID: 16540
// Function ID: 16541
// Name: getFrameLaunchContextQueryParams
// Dependencies: [2]
// Exports: default
// Module 16540 (getFrameLaunchContextQueryParams)
import set from "set" /* 2 */;
const result = set.fileFinishedImporting("modules/frames/utils/getFrameLaunchContextQueryParams.tsx");
export default function getFrameLaunchContextQueryParams(customId) {
const obj = {};
if (null != customId.customId) {
obj.custom_id = customId.customId;
}
if (null != customId.referrerId) {
obj.referrer_id = customId.referrerId;
}
return obj;
};