@embrace-io/web-sdk
Version:
1 lines • 1.77 kB
Source Map (JSON)
{"version":3,"file":"constants.cjs","names":[],"sources":["../../../../src/instrumentations/soft-navigation-performance/SoftNavigationPerformanceInstrumentation/constants.ts"],"sourcesContent":["export const SOFT_NAVIGATION_SPAN_NAME = 'Soft Navigation';\n\nexport const KEY_EMB_SOFT_NAVIGATION_SOURCE = 'emb.soft_navigation.source';\nexport const KEY_EMB_SOFT_NAVIGATION_NAVIGATION_ID =\n 'emb.soft_navigation.navigation_id';\nexport const KEY_EMB_SOFT_NAVIGATION_INTERACTION_ID =\n 'emb.soft_navigation.interaction_id';\nexport const KEY_EMB_SOFT_NAVIGATION_START_TIME =\n 'emb.soft_navigation.start_time';\nexport const KEY_EMB_SOFT_NAVIGATION_DURATION = 'emb.soft_navigation.duration';\nexport const KEY_EMB_SOFT_NAVIGATION_PAINT_TIME =\n 'emb.soft_navigation.paint_time';\nexport const KEY_EMB_SOFT_NAVIGATION_PRESENTATION_TIME =\n 'emb.soft_navigation.presentation_time';\nexport const KEY_EMB_SOFT_NAVIGATION_SPAN_IDS = 'emb.soft_navigation.span_ids';\nexport const KEY_EMB_SOFT_NAVIGATION_LOG_IDS = 'emb.soft_navigation.log_ids';\n// Parallel arrays to span_ids/log_ids: the emb.type of the id at the same\n// index, so the backend knows which table to look the id up in.\nexport const KEY_EMB_SOFT_NAVIGATION_SPAN_ID_TYPES =\n 'emb.soft_navigation.span_id_types';\nexport const KEY_EMB_SOFT_NAVIGATION_LOG_ID_TYPES =\n 'emb.soft_navigation.log_id_types';\n\nexport const SOFT_NAVIGATION_SOURCES = {\n performanceObserver: 'performance_observer',\n polyfill: 'polyfill',\n} as const;\n"],"mappings":";;AAAA,MAAa,4BAA4B;AAEzC,MAAa,iCAAiC;AAC9C,MAAa,wCACX;AACF,MAAa,yCACX;AACF,MAAa,qCACX;AACF,MAAa,mCAAmC;AAChD,MAAa,qCACX;AACF,MAAa,4CACX;AACF,MAAa,mCAAmC;AAChD,MAAa,kCAAkC;AAG/C,MAAa,wCACX;AACF,MAAa,uCACX;AAEF,MAAa,0BAA0B;CACrC,qBAAqB;CACrB,UAAU;AACZ"}