File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
packages/replay-internal/src/types Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,42 @@ export interface WebVitalData {
113
113
nodeId ?: number ;
114
114
}
115
115
116
+ export interface CumulativeLayoutShiftData {
117
+ /**
118
+ * Render time (in ms) of the CLS
119
+ */
120
+ value : number ;
121
+ size : number ;
122
+ /**
123
+ * The recording id of the CLS node. -1 if not found
124
+ */
125
+ nodeId ?: number ;
126
+ }
127
+
128
+ export interface FirstInputDelayData {
129
+ /**
130
+ * Render time (in ms) of the FID
131
+ */
132
+ value : number ;
133
+ size : number ;
134
+ /**
135
+ * The recording id of the FID node. -1 if not found
136
+ */
137
+ nodeId ?: number ;
138
+ }
139
+
140
+ export interface InteractionToNextPaintData {
141
+ /**
142
+ * Render time (in ms) of the INP
143
+ */
144
+ value : number ;
145
+ size : number ;
146
+ /**
147
+ * The recording id of the INP node. -1 if not found
148
+ */
149
+ nodeId ?: number ;
150
+ }
151
+
116
152
/**
117
153
* Entries that come from window.performance
118
154
*/
You can’t perform that action at this time.
0 commit comments