File tree Expand file tree Collapse file tree 4 files changed +3
-18
lines changed Expand file tree Collapse file tree 4 files changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ import { normalize } from '@sentry/utils';
33
44import { CONSOLE_ARG_MAX_SIZE } from '../constants' ;
55import type { ReplayContainer } from '../types' ;
6+ import type { ReplayFrame } from '../types/replayFrame' ;
67import { createBreadcrumb } from '../util/createBreadcrumb' ;
78import { fixJson } from '../util/truncateJson/fixJson' ;
89import { addBreadcrumbEvent } from './util/addBreadcrumbEvent' ;
9- import { ReplayFrame } from '../types/replayFrame' ;
1010
1111let _LAST_BREADCRUMB : null | Breadcrumb = null ;
1212
Original file line number Diff line number Diff line change 1- import type { customEvent } from '@sentry-internal/rrweb' ;
2- import type { Breadcrumb , FetchBreadcrumbData , XhrBreadcrumbData } from '@sentry/types' ;
3-
41export type AllPerformanceEntry = PerformancePaintTiming | PerformanceResourceTiming | PerformanceNavigationTiming ;
52
63// PerformancePaintTiming and PerformanceNavigationTiming are only available with TS 4.4 and newer
@@ -134,16 +131,6 @@ export interface HistoryData {
134131}
135132
136133export type AllEntryData = AllPerformanceEntryData | MemoryData | NetworkRequestData | HistoryData ;
137- interface BaseReplayFrame {
138- timestamp : number ;
139- /**
140- * For compatibility reasons
141- */
142- type : string ;
143- category : string ;
144- data ?: Record < string , any > ;
145- message ?: string ;
146- }
147134
148135export interface ReplayPerformanceEntry < T > {
149136 /**
@@ -171,4 +158,3 @@ export interface ReplayPerformanceEntry<T> {
171158 */
172159 data : T ;
173160}
174-
Original file line number Diff line number Diff line change @@ -7,10 +7,9 @@ import type {
77 XhrBreadcrumbHint ,
88} from '@sentry/types' ;
99
10- import type { AllPerformanceEntry } from './performance' ;
10+ import type { AllPerformanceEntry } from './performance' ;
1111import type { eventWithTime , recordOptions } from './rrweb' ;
1212
13-
1413export type RecordingEvent = eventWithTime ;
1514export type RecordingOptions = recordOptions ;
1615
Original file line number Diff line number Diff line change 11import type { customEvent } from '@sentry-internal/rrweb' ;
22import type { Breadcrumb , FetchBreadcrumbData , XhrBreadcrumbData } from '@sentry/types' ;
33
4- import { AllEntryData } from './performance' ;
4+ import type { AllEntryData } from './performance' ;
55
66interface BaseReplayFrame {
77 timestamp : number ;
You can’t perform that action at this time.
0 commit comments