23 lines
1.7 KiB
TypeScript
23 lines
1.7 KiB
TypeScript
/* Metro module 5183; source: modules/collectibles/utils/CollectiblesPerfLogging.tsx; dependencies: [661, 683, 2] */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
|
|
|
|
function _fun45675(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#45675, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5361:6, offset: 0x01194d81, size: 198 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/collectibles/utils/CollectiblesPerfLogging.tsx');
|
|
exports.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'};
|
|
exports.trackShopPerf = function({sessionId, checkpoint, tab, unpublishedCategoriesShown, cacheDisabled}) {
|
|
var defaultImport = importDefault(dependencyMap[1]);
|
|
var COLLECTIBLES_SHOP_PERF_TRACKED = AnalyticEvents.COLLECTIBLES_SHOP_PERF_TRACKED;
|
|
defaultImport.track(COLLECTIBLES_SHOP_PERF_TRACKED, {page_session_id: sessionId, checkpoint: checkpoint,
|
|
tab: tab,
|
|
unpublished_categories_shown: unpublishedCategoriesShown, cache_disabled: cacheDisabled});
|
|
};
|
|
}
|
|
|
|
global.__d(_fun45675, 5183, [661, 683, 2]) /* metro module 5183, dependencies: [661, 683, 2] */;
|