decord/source/modules/collectibles/utils/CollectiblesPerfLogging.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

19 lines
1.1 KiB
TypeScript

// Module ID: 7590
// Function ID: 7591
// Name: CollectiblesShopPerfCheckpoint
// Dependencies: [1074, 1242, 2]
// Exports: trackShopPerf
// Module 7590 (CollectiblesShopPerfCheckpoint)
import set from "set" /* 2 */;
import ME from "ME" /* 1074 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 1242 */;
const AnalyticEvents = ME.AnalyticEvents;
const result = set.fileFinishedImporting("modules/collectibles/utils/CollectiblesPerfLogging.tsx");
export const CollectiblesShopPerfCheckpoint = { SHOP_MOUNTED: "shop_mounted", CATEGORIES_FETCH_STARTED: "categories_fetch_started", CATEGORIES_FETCH_COMPLETED: "categories_fetch_completed", SHOP_HOME_FETCH_STARTED: "shop_home_fetch_started", SHOP_HOME_FETCH_COMPLETED: "shop_home_fetch_completed", SHOP_RENDERED: "shop_rendered" };
export const trackShopPerf = function trackShopPerf(arg0) {
({ sessionId, checkpoint, tab, unpublishedCategoriesShown, cacheDisabled } = arg0);
expandEventPropertiesDefault.track(AnalyticEvents.COLLECTIBLES_SHOP_PERF_TRACKED, { page_session_id: sessionId, checkpoint, tab, unpublished_categories_shown: unpublishedCategoriesShown, cache_disabled: cacheDisabled });
};