@@ -26,7 +26,7 @@ export type MobileRecord = MobileFullSnapshotRecord | MobileIncrementalSnapshotR
2626/**
2727 * Mobile-specific. Schema of a Record type which contains the full snapshot of a screen.
2828 */
29- export type MobileFullSnapshotRecord = SlotSupportedCommonRecordSchema & {
29+ export type MobileFullSnapshotRecord = CommonRecordSchema & {
3030 /**
3131 * The type of this Record.
3232 */
@@ -38,11 +38,6 @@ export type MobileFullSnapshotRecord = SlotSupportedCommonRecordSchema & {
3838 readonly wireframes : Wireframe [ ] ;
3939 readonly compositionTree ?: CompositionTree ;
4040 } ;
41- } ;
42- /**
43- * Schema of common properties for a Record event type that is supported by slots.
44- */
45- export type SlotSupportedCommonRecordSchema = CommonRecordSchema & {
4641 /**
4742 * Unique ID of the slot that generated this record.
4843 */
@@ -278,12 +273,16 @@ export type CompositionLayerModifier = CompositionLayerClipModifier | Compositio
278273/**
279274 * Mobile-specific. Schema of a Record type which contains mutations of a screen.
280275 */
281- export type MobileIncrementalSnapshotRecord = SlotSupportedCommonRecordSchema & {
276+ export type MobileIncrementalSnapshotRecord = CommonRecordSchema & {
282277 /**
283278 * The type of this Record.
284279 */
285280 readonly type : 11 ;
286281 data : MobileIncrementalData ;
282+ /**
283+ * Unique ID of the slot that generated this record.
284+ */
285+ readonly slotId ?: string ;
287286} ;
288287/**
289288 * Mobile-specific. Schema of a Session Replay IncrementalData type.
@@ -479,6 +478,15 @@ export type MetaRecord = SlotSupportedCommonRecordSchema & {
479478 href ?: string ;
480479 } ;
481480} ;
481+ /**
482+ * Schema of common properties for a Record event type that is supported by slots.
483+ */
484+ export type SlotSupportedCommonRecordSchema = CommonRecordSchema & {
485+ /**
486+ * Unique ID of the slot that generated this record.
487+ */
488+ readonly slotId ?: string ;
489+ } ;
482490/**
483491 * Schema of a Record type which contains focus information.
484492 */
0 commit comments