decord/alpha/source/modules/frames/utils/getFrameLaunchContextQueryParams.tsx
2026-10-03 08:58:59 +00:00

21 lines
586 B
TypeScript

// Module ID: 17126
// Function ID: 17127
// Name: getFrameLaunchContextQueryParams
// Dependencies: [2]
// Exports: default
// Module 17126 (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;
};