decord/beta/source/modules/quests/QuestHomeHeroCta.tsx

28 lines
811 B
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 9200
// Function ID: 9201
// Name: QuestHomeHeroCta
// Dependencies: [2]
// Exports: questHomeHeroCtaFromServer
2026-10-12 16:32:48 +00:00
// Module 9200 (QuestHomeHeroCta)
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/quests/QuestHomeHeroCta.tsx");
export const questHomeHeroCtaFromServer = function questHomeHeroCtaFromServer(cta) {
let tmp;
2026-10-01 14:13:23 +00:00
let tmp2;
const obj = { url: cta.url, buttonLabel: cta.button_label, android: tmp, ios: tmp2 };
tmp = undefined;
if (null != cta.android) {
2026-10-01 14:13:23 +00:00
tmp = { androidAppId: cta.android.android_app_id };
const obj2 = { androidAppId: cta.android.android_app_id };
}
2026-10-01 14:13:23 +00:00
tmp2 = undefined;
if (null != cta.ios) {
2026-10-01 14:13:23 +00:00
tmp2 = { iosAppId: cta.ios.ios_app_id };
const obj3 = { iosAppId: cta.ios.ios_app_id };
}
return obj;
};