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

22 lines
586 B
TypeScript
Raw Normal View History

2026-10-05 08:00:40 +00:00
// Module ID: 17150
// Function ID: 17151
2026-09-03 10:05:34 +00:00
// Name: getFrameLaunchContextQueryParams
// Dependencies: [2]
// Exports: default
2026-10-05 08:00:40 +00:00
// Module 17150 (getFrameLaunchContextQueryParams)
import size from "module_2" /* 2 */;
2026-09-03 10:05:34 +00:00
const result = size.fileFinishedImporting("modules/frames/utils/getFrameLaunchContextQueryParams.tsx");
2026-09-03 10:05:34 +00:00
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;
};