decord/alpha/source/modules/frames/utils/getFrameLaunchContextQueryParams.tsx
github-actions 45f5884862 chore: update source for alpha 348.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5012.js (118.4 MB)
2026-09-23 06:49:31 +00:00

21 lines
586 B
TypeScript

// Module ID: 17040
// Function ID: 17041
// Name: getFrameLaunchContextQueryParams
// Dependencies: [2]
// Exports: default
// Module 17040 (getFrameLaunchContextQueryParams)
import size from "module_2" /* 2 */;
const result = size.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;
};