decord/source/modules/frames/utils/getFrameLaunchContextQueryParams.tsx

22 lines
579 B
TypeScript
Raw Normal View History

// Module ID: 16620
// Function ID: 16621
2026-09-03 10:05:34 +00:00
// Name: getFrameLaunchContextQueryParams
// Dependencies: [2]
// Exports: default
// Module 16620 (getFrameLaunchContextQueryParams)
2026-09-03 10:05:34 +00:00
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;
};