openreplay/frontend/app/player/web/messages/message.gen.ts
Delirium 2ed4bba33e
feat(tracker/ui): support for multi tab sessions (#1236)
* feat(tracker): add support for multi tab sessions

* feat(backend): added support of multitabs

* fix(backend): added support of deprecated batch meta message to pre-decoder

* fix(backend): fixed nil meta issue for TabData messages in sink

* feat(player): add tabmanager

* feat(player): basic tabchange event support

* feat(player): pick tabstate for console panel and timeline

* fix(player): only display tabs that are created

* feat(player): connect performance, xray and events to tab state

* feat(player): merge all tabs data for overview

* feat(backend/tracker): extract tabdata into separate message from batchmeta

* fix(tracker): fix new session check

* fix(backend): remove batchmetadeprecated

* fix(backend): fix switch case

* fix(player): fix for tab message size

* feat(tracker): check for active tabs with broadcast channel

* feat(tracker): prevent multiple messages

* fix(tracker): ignore beacons from same tab, only ask if token isnt present yet, add small delay before start to wait for answer

* feat(player): support new msg struct in assist player

* fix(player): fix some livepl components for multi tab states

* feat(tracker): add option to disable multitab

* feat(tracker): add multitab to assist plugin

* feat(player): back compat for tab id

* fix(ui): fix missing list in controls

* fix(ui): optional list update

* feat(ui): fix visuals for multitab; use window focus event for tabs

* fix(tracker): fix for dying tests (added tabid to writer, refactored other tests)

* feat(ui): update LivePlayerSubHeader.tsx to support tabs

* feat(backend): added tabs support to devtools mob files

* feat(ui): connect state to current tab properly

* feat(backend): added multitab support to assits

* feat(backend): removed data check in agent message

* feat(backend): debug on

* fix(backend): fixed typo in message broadcast

* feat(backend): fixed issue in connect method

* fix(assist): fixed typo

* feat(assist): added more debug logs

* feat(assist): removed one log

* feat(assist): more logs

* feat(assist): use query.peerId

* feat(assist): more logs

* feat(assist): fixed session update

* fix(assist): fixed getSessions

* fix(assist): fixed request_control broadcast

* fix(assist): fixed typo

* fix(assist): added missed line

* fix(assist): fix typo

* feat(tracker): multitab support for assist sessions

* fix(tracker): fix dead tests (tabid prop)

* fix(tracker): fix yaml

* fix(tracker): timers issue

* fix(ui): fix ui E2E tests with magic?

* feat(assist): multitabs support for ee version

* fix(assist): added missed method import

* fix(tracker): fix fix events in assist

* feat(assist): added back compatibility for sessions without tabId

* fix(assist): apply message's top layer structure before broadcast call

* fix(assist): added random tabID for prev version

* fix(assist): added random tabID for prev version (ee)

* feat(assist): added debug logs

* fix(assist): fix typo in sessions_agents_count method

* fix(assist): fixed more typos in copy-pastes

* fix(tracker): fix restart timings

* feat(backend): added tabIDs for some events

* feat(ui): add tab change event to the user steps bar

* Revert "feat(backend): added tabIDs for some events"

This reverts commit 1467ad7f9f.

* feat(ui): revert timeline and xray to grab events from all tabs

* fix(ui): fix typo

---------

Co-authored-by: Alexander Zavorotynskiy <zavorotynskiy@pm.me>
2023-06-07 10:40:32 +02:00

200 lines
4.9 KiB
TypeScript

// Auto-generated, do not edit
/* eslint-disable */
import type { Timed } from './timed'
import type { RawMessage } from './raw.gen'
import type {
RawTimestamp,
RawSetPageLocation,
RawSetViewportSize,
RawSetViewportScroll,
RawCreateDocument,
RawCreateElementNode,
RawCreateTextNode,
RawMoveNode,
RawRemoveNode,
RawSetNodeAttribute,
RawRemoveNodeAttribute,
RawSetNodeData,
RawSetCssData,
RawSetNodeScroll,
RawSetInputValue,
RawSetInputChecked,
RawMouseMove,
RawNetworkRequest,
RawConsoleLog,
RawCssInsertRule,
RawCssDeleteRule,
RawFetch,
RawProfiler,
RawOTable,
RawRedux,
RawVuex,
RawMobX,
RawNgRx,
RawGraphQl,
RawPerformanceTrack,
RawStringDict,
RawSetNodeAttributeDict,
RawResourceTimingDeprecated,
RawConnectionInformation,
RawSetPageVisibility,
RawLoadFontFace,
RawSetNodeFocus,
RawLongTask,
RawSetNodeAttributeURLBased,
RawSetCssDataURLBased,
RawCssInsertRuleURLBased,
RawMouseClick,
RawCreateIFrameDocument,
RawAdoptedSsReplaceURLBased,
RawAdoptedSsReplace,
RawAdoptedSsInsertRuleURLBased,
RawAdoptedSsInsertRule,
RawAdoptedSsDeleteRule,
RawAdoptedSsAddOwner,
RawAdoptedSsRemoveOwner,
RawZustand,
RawSelectionChange,
RawMouseThrashing,
RawResourceTiming,
RawTabChange,
RawTabData,
RawIosSessionStart,
RawIosCustomEvent,
RawIosScreenChanges,
RawIosClickEvent,
RawIosPerformanceEvent,
RawIosLog,
RawIosNetworkCall,
} from './raw.gen'
export type Message = RawMessage & Timed
export type Timestamp = RawTimestamp & Timed
export type SetPageLocation = RawSetPageLocation & Timed
export type SetViewportSize = RawSetViewportSize & Timed
export type SetViewportScroll = RawSetViewportScroll & Timed
export type CreateDocument = RawCreateDocument & Timed
export type CreateElementNode = RawCreateElementNode & Timed
export type CreateTextNode = RawCreateTextNode & Timed
export type MoveNode = RawMoveNode & Timed
export type RemoveNode = RawRemoveNode & Timed
export type SetNodeAttribute = RawSetNodeAttribute & Timed
export type RemoveNodeAttribute = RawRemoveNodeAttribute & Timed
export type SetNodeData = RawSetNodeData & Timed
export type SetCssData = RawSetCssData & Timed
export type SetNodeScroll = RawSetNodeScroll & Timed
export type SetInputValue = RawSetInputValue & Timed
export type SetInputChecked = RawSetInputChecked & Timed
export type MouseMove = RawMouseMove & Timed
export type NetworkRequest = RawNetworkRequest & Timed
export type ConsoleLog = RawConsoleLog & Timed
export type CssInsertRule = RawCssInsertRule & Timed
export type CssDeleteRule = RawCssDeleteRule & Timed
export type Fetch = RawFetch & Timed
export type Profiler = RawProfiler & Timed
export type OTable = RawOTable & Timed
export type Redux = RawRedux & Timed
export type Vuex = RawVuex & Timed
export type MobX = RawMobX & Timed
export type NgRx = RawNgRx & Timed
export type GraphQl = RawGraphQl & Timed
export type PerformanceTrack = RawPerformanceTrack & Timed
export type StringDict = RawStringDict & Timed
export type SetNodeAttributeDict = RawSetNodeAttributeDict & Timed
export type ResourceTimingDeprecated = RawResourceTimingDeprecated & Timed
export type ConnectionInformation = RawConnectionInformation & Timed
export type SetPageVisibility = RawSetPageVisibility & Timed
export type LoadFontFace = RawLoadFontFace & Timed
export type SetNodeFocus = RawSetNodeFocus & Timed
export type LongTask = RawLongTask & Timed
export type SetNodeAttributeURLBased = RawSetNodeAttributeURLBased & Timed
export type SetCssDataURLBased = RawSetCssDataURLBased & Timed
export type CssInsertRuleURLBased = RawCssInsertRuleURLBased & Timed
export type MouseClick = RawMouseClick & Timed
export type CreateIFrameDocument = RawCreateIFrameDocument & Timed
export type AdoptedSsReplaceURLBased = RawAdoptedSsReplaceURLBased & Timed
export type AdoptedSsReplace = RawAdoptedSsReplace & Timed
export type AdoptedSsInsertRuleURLBased = RawAdoptedSsInsertRuleURLBased & Timed
export type AdoptedSsInsertRule = RawAdoptedSsInsertRule & Timed
export type AdoptedSsDeleteRule = RawAdoptedSsDeleteRule & Timed
export type AdoptedSsAddOwner = RawAdoptedSsAddOwner & Timed
export type AdoptedSsRemoveOwner = RawAdoptedSsRemoveOwner & Timed
export type Zustand = RawZustand & Timed
export type SelectionChange = RawSelectionChange & Timed
export type MouseThrashing = RawMouseThrashing & Timed
export type ResourceTiming = RawResourceTiming & Timed
export type TabChange = RawTabChange & Timed
export type TabData = RawTabData & Timed
export type IosSessionStart = RawIosSessionStart & Timed
export type IosCustomEvent = RawIosCustomEvent & Timed
export type IosScreenChanges = RawIosScreenChanges & Timed
export type IosClickEvent = RawIosClickEvent & Timed
export type IosPerformanceEvent = RawIosPerformanceEvent & Timed
export type IosLog = RawIosLog & Timed
export type IosNetworkCall = RawIosNetworkCall & Timed