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';
3
3
4
4
import { CONSOLE_ARG_MAX_SIZE } from '../constants' ;
5
5
import type { ReplayContainer } from '../types' ;
6
+ import type { ReplayFrame } from '../types/replayFrame' ;
6
7
import { createBreadcrumb } from '../util/createBreadcrumb' ;
7
8
import { fixJson } from '../util/truncateJson/fixJson' ;
8
9
import { addBreadcrumbEvent } from './util/addBreadcrumbEvent' ;
9
- import { ReplayFrame } from '../types/replayFrame' ;
10
10
11
11
let _LAST_BREADCRUMB : null | Breadcrumb = null ;
12
12
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
-
4
1
export type AllPerformanceEntry = PerformancePaintTiming | PerformanceResourceTiming | PerformanceNavigationTiming ;
5
2
6
3
// PerformancePaintTiming and PerformanceNavigationTiming are only available with TS 4.4 and newer
@@ -134,16 +131,6 @@ export interface HistoryData {
134
131
}
135
132
136
133
export 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
- }
147
134
148
135
export interface ReplayPerformanceEntry < T > {
149
136
/**
@@ -171,4 +158,3 @@ export interface ReplayPerformanceEntry<T> {
171
158
*/
172
159
data : T ;
173
160
}
174
-
Original file line number Diff line number Diff line change @@ -7,10 +7,9 @@ import type {
7
7
XhrBreadcrumbHint ,
8
8
} from '@sentry/types' ;
9
9
10
- import type { AllPerformanceEntry } from './performance' ;
10
+ import type { AllPerformanceEntry } from './performance' ;
11
11
import type { eventWithTime , recordOptions } from './rrweb' ;
12
12
13
-
14
13
export type RecordingEvent = eventWithTime ;
15
14
export type RecordingOptions = recordOptions ;
16
15
Original file line number Diff line number Diff line change 1
1
import type { customEvent } from '@sentry-internal/rrweb' ;
2
2
import type { Breadcrumb , FetchBreadcrumbData , XhrBreadcrumbData } from '@sentry/types' ;
3
3
4
- import { AllEntryData } from './performance' ;
4
+ import type { AllEntryData } from './performance' ;
5
5
6
6
interface BaseReplayFrame {
7
7
timestamp : number ;
You can’t perform that action at this time.
0 commit comments