22 lines
1.2 KiB
JavaScript
22 lines
1.2 KiB
JavaScript
// Module ID: 6813
|
|
// Function ID: 53711
|
|
// Name: CollectiblesShopPerfCheckpoint
|
|
// Dependencies: [670, 2, 6]
|
|
// Exports: trackShopPerf
|
|
|
|
// Module 6813 (CollectiblesShopPerfCheckpoint)
|
|
import { AnalyticEvents } from "MessageEmbedTypes";
|
|
import _classCallCheck from "_classCallCheck";
|
|
|
|
const result = _classCallCheck.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) {
|
|
let cacheDisabled;
|
|
let checkpoint;
|
|
let sessionId;
|
|
let tab;
|
|
let unpublishedCategoriesShown;
|
|
({ sessionId, checkpoint, tab, unpublishedCategoriesShown, cacheDisabled } = arg0);
|
|
importDefault(dependencyMap[1]).track(AnalyticEvents.COLLECTIBLES_SHOP_PERF_TRACKED, { page_session_id: sessionId, checkpoint, tab, unpublished_categories_shown: unpublishedCategoriesShown, cache_disabled: cacheDisabled });
|
|
};
|