Skip to content

Commit 9cb8329

Browse files
update dependencies
1 parent 55efb6a commit 9cb8329

29 files changed

Lines changed: 560 additions & 563 deletions

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ After editing any schema, you must re-generate the JS + TS definitions ([see bel
1818
This repository accommodates various usages, specifically:
1919

2020
- The [Browser SDK](https://github.com/DataDog/browser-sdk/):
21-
2221
- Generates TypeScript types from `schemas/rum-events-browser-schema.json`,
2322
`schemas/telemetry-events-schema.json` and `schemas/session-replay-browser-schema.json`.
2423

lib/cjs/generated/browserProfiling.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
/**
55
* Schema of Browser SDK Profiling types.
66
*/
7-
export declare type BrowserProfiling = BrowserProfileEvent | BrowserProfilerTrace;
7+
export type BrowserProfiling = BrowserProfileEvent | BrowserProfilerTrace;
88
/**
99
* Schema of the Browser SDK Profile Event payload.
1010
*/
11-
export declare type BrowserProfileEvent = ProfileCommonProperties & {
11+
export type BrowserProfileEvent = ProfileCommonProperties & {
1212
/**
1313
* Profile data format.
1414
*/

lib/cjs/generated/browserSessionReplay.d.ts

Lines changed: 70 additions & 70 deletions
Large diffs are not rendered by default.

lib/cjs/generated/mobileProfiling.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/**
55
* Schema of the Mobile SDK Profile Event metadata.
66
*/
7-
export declare type MobileProfileEvent = ProfileCommonProperties & {
7+
export type MobileProfileEvent = ProfileCommonProperties & {
88
/**
99
* The RUM Vital this profile event is associated with.
1010
*/

lib/cjs/generated/mobileSessionReplay.d.ts

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/**
55
* Mobile-specific. Schema of a Session Replay data Segment.
66
*/
7-
export declare type MobileSegment = MobileSegmentMetadata & {
7+
export type MobileSegment = MobileSegmentMetadata & {
88
/**
99
* The records contained by this Segment.
1010
*/
@@ -13,7 +13,7 @@ export declare type MobileSegment = MobileSegmentMetadata & {
1313
/**
1414
* Mobile-specific. Schema of a Session Replay Segment metadata.
1515
*/
16-
export declare type MobileSegmentMetadata = SegmentContext & CommonSegmentMetadataSchema & {
16+
export type MobileSegmentMetadata = SegmentContext & CommonSegmentMetadataSchema & {
1717
/**
1818
* The source of this record
1919
*/
@@ -22,11 +22,11 @@ export declare type MobileSegmentMetadata = SegmentContext & CommonSegmentMetada
2222
/**
2323
* Mobile-specific. Schema of a Session Replay Record.
2424
*/
25-
export declare type MobileRecord = MobileFullSnapshotRecord | MobileIncrementalSnapshotRecord | MetaRecord | FocusRecord | ViewEndRecord | VisualViewportRecord;
25+
export type MobileRecord = MobileFullSnapshotRecord | MobileIncrementalSnapshotRecord | MetaRecord | FocusRecord | ViewEndRecord | VisualViewportRecord;
2626
/**
2727
* Mobile-specific. Schema of a Record type which contains the full snapshot of a screen.
2828
*/
29-
export declare type MobileFullSnapshotRecord = CommonRecordSchema & {
29+
export type MobileFullSnapshotRecord = CommonRecordSchema & {
3030
/**
3131
* The type of this Record.
3232
*/
@@ -41,11 +41,11 @@ export declare type MobileFullSnapshotRecord = CommonRecordSchema & {
4141
/**
4242
* Schema of a Wireframe type.
4343
*/
44-
export declare type Wireframe = ShapeWireframe | TextWireframe | ImageWireframe | PlaceholderWireframe | WebviewWireframe;
44+
export type Wireframe = ShapeWireframe | TextWireframe | ImageWireframe | PlaceholderWireframe | WebviewWireframe;
4545
/**
4646
* Schema of all properties of a ShapeWireframe.
4747
*/
48-
export declare type ShapeWireframe = CommonShapeWireframe & {
48+
export type ShapeWireframe = CommonShapeWireframe & {
4949
/**
5050
* The type of the wireframe.
5151
*/
@@ -54,14 +54,14 @@ export declare type ShapeWireframe = CommonShapeWireframe & {
5454
/**
5555
* Schema of common properties for ShapeWireframe events type and all its sub - types.
5656
*/
57-
export declare type CommonShapeWireframe = CommonWireframe & {
57+
export type CommonShapeWireframe = CommonWireframe & {
5858
shapeStyle?: ShapeStyle;
5959
border?: ShapeBorder;
6060
};
6161
/**
6262
* The style of this wireframe.
6363
*/
64-
export declare type ShapeStyle = {
64+
export type ShapeStyle = {
6565
/**
6666
* The background color for this wireframe as a String hexadecimal. Follows the #RRGGBBAA color format with the alpha value as optional. The default value is #FFFFFF00.
6767
*/
@@ -78,7 +78,7 @@ export declare type ShapeStyle = {
7878
/**
7979
* The border properties of this wireframe. The default value is null (no-border).
8080
*/
81-
export declare type ShapeBorder = {
81+
export type ShapeBorder = {
8282
/**
8383
* The border color as a String hexadecimal. Follows the #RRGGBBAA color format with the alpha value as optional.
8484
*/
@@ -91,7 +91,7 @@ export declare type ShapeBorder = {
9191
/**
9292
* Schema of all properties of a TextWireframe.
9393
*/
94-
export declare type TextWireframe = CommonShapeWireframe & {
94+
export type TextWireframe = CommonShapeWireframe & {
9595
/**
9696
* The type of the wireframe.
9797
*/
@@ -106,7 +106,7 @@ export declare type TextWireframe = CommonShapeWireframe & {
106106
/**
107107
* Schema of all properties of a TextStyle.
108108
*/
109-
export declare type TextStyle = {
109+
export type TextStyle = {
110110
/**
111111
* The preferred font family collection, ordered by preference and formatted as a String list: e.g. Century Gothic, Verdana, sans-serif
112112
*/
@@ -127,7 +127,7 @@ export declare type TextStyle = {
127127
/**
128128
* Schema of all properties of a TextPosition.
129129
*/
130-
export declare type TextPosition = {
130+
export type TextPosition = {
131131
readonly padding?: {
132132
/**
133133
* The top padding in pixels. The default value is 0.
@@ -160,7 +160,7 @@ export declare type TextPosition = {
160160
/**
161161
* Schema of all properties of a ImageWireframe.
162162
*/
163-
export declare type ImageWireframe = CommonShapeWireframe & {
163+
export type ImageWireframe = CommonShapeWireframe & {
164164
/**
165165
* The type of the wireframe.
166166
*/
@@ -185,7 +185,7 @@ export declare type ImageWireframe = CommonShapeWireframe & {
185185
/**
186186
* Schema of all properties of a PlaceholderWireframe.
187187
*/
188-
export declare type PlaceholderWireframe = CommonWireframe & {
188+
export type PlaceholderWireframe = CommonWireframe & {
189189
/**
190190
* The type of the wireframe.
191191
*/
@@ -198,7 +198,7 @@ export declare type PlaceholderWireframe = CommonWireframe & {
198198
/**
199199
* Schema of all properties of a WebviewWireframe.
200200
*/
201-
export declare type WebviewWireframe = CommonShapeWireframe & {
201+
export type WebviewWireframe = CommonShapeWireframe & {
202202
/**
203203
* The type of the wireframe.
204204
*/
@@ -215,7 +215,7 @@ export declare type WebviewWireframe = CommonShapeWireframe & {
215215
/**
216216
* Mobile-specific. Schema of a Record type which contains mutations of a screen.
217217
*/
218-
export declare type MobileIncrementalSnapshotRecord = CommonRecordSchema & {
218+
export type MobileIncrementalSnapshotRecord = CommonRecordSchema & {
219219
/**
220220
* The type of this Record.
221221
*/
@@ -225,11 +225,11 @@ export declare type MobileIncrementalSnapshotRecord = CommonRecordSchema & {
225225
/**
226226
* Mobile-specific. Schema of a Session Replay IncrementalData type.
227227
*/
228-
export declare type MobileIncrementalData = MobileMutationData | TouchData | ViewportResizeData | PointerInteractionData;
228+
export type MobileIncrementalData = MobileMutationData | TouchData | ViewportResizeData | PointerInteractionData;
229229
/**
230230
* Mobile-specific. Schema of a MutationData.
231231
*/
232-
export declare type MobileMutationData = {
232+
export type MobileMutationData = {
233233
/**
234234
* The source of this type of incremental data.
235235
*/
@@ -238,11 +238,11 @@ export declare type MobileMutationData = {
238238
/**
239239
* Schema of a WireframeUpdateMutation type.
240240
*/
241-
export declare type WireframeUpdateMutation = TextWireframeUpdate | ShapeWireframeUpdate | ImageWireframeUpdate | PlaceholderWireframeUpdate | WebviewWireframeUpdate;
241+
export type WireframeUpdateMutation = TextWireframeUpdate | ShapeWireframeUpdate | ImageWireframeUpdate | PlaceholderWireframeUpdate | WebviewWireframeUpdate;
242242
/**
243243
* Schema of all properties of a TextWireframeUpdate.
244244
*/
245-
export declare type TextWireframeUpdate = CommonShapeWireframeUpdate & {
245+
export type TextWireframeUpdate = CommonShapeWireframeUpdate & {
246246
/**
247247
* The type of the wireframe.
248248
*/
@@ -257,14 +257,14 @@ export declare type TextWireframeUpdate = CommonShapeWireframeUpdate & {
257257
/**
258258
* Schema of common properties for ShapeWireframeUpdate events type and all its sub - types.
259259
*/
260-
export declare type CommonShapeWireframeUpdate = CommonWireframeUpdate & {
260+
export type CommonShapeWireframeUpdate = CommonWireframeUpdate & {
261261
shapeStyle?: ShapeStyle;
262262
border?: ShapeBorder;
263263
};
264264
/**
265265
* Schema of a ShapeWireframeUpdate.
266266
*/
267-
export declare type ShapeWireframeUpdate = CommonShapeWireframeUpdate & {
267+
export type ShapeWireframeUpdate = CommonShapeWireframeUpdate & {
268268
/**
269269
* The type of the wireframe.
270270
*/
@@ -273,7 +273,7 @@ export declare type ShapeWireframeUpdate = CommonShapeWireframeUpdate & {
273273
/**
274274
* Schema of all properties of a ImageWireframeUpdate.
275275
*/
276-
export declare type ImageWireframeUpdate = CommonShapeWireframeUpdate & {
276+
export type ImageWireframeUpdate = CommonShapeWireframeUpdate & {
277277
/**
278278
* The type of the wireframe.
279279
*/
@@ -298,7 +298,7 @@ export declare type ImageWireframeUpdate = CommonShapeWireframeUpdate & {
298298
/**
299299
* Schema of all properties of a PlaceholderWireframe.
300300
*/
301-
export declare type PlaceholderWireframeUpdate = CommonWireframeUpdate & {
301+
export type PlaceholderWireframeUpdate = CommonWireframeUpdate & {
302302
/**
303303
* The type of the wireframe.
304304
*/
@@ -311,7 +311,7 @@ export declare type PlaceholderWireframeUpdate = CommonWireframeUpdate & {
311311
/**
312312
* Schema of all properties of a WebviewWireframeUpdate.
313313
*/
314-
export declare type WebviewWireframeUpdate = CommonShapeWireframeUpdate & {
314+
export type WebviewWireframeUpdate = CommonShapeWireframeUpdate & {
315315
/**
316316
* The type of the wireframe.
317317
*/
@@ -328,7 +328,7 @@ export declare type WebviewWireframeUpdate = CommonShapeWireframeUpdate & {
328328
/**
329329
* Schema of a TouchData.
330330
*/
331-
export declare type TouchData = {
331+
export type TouchData = {
332332
/**
333333
* The source of this type of incremental data.
334334
*/
@@ -358,7 +358,7 @@ export declare type TouchData = {
358358
/**
359359
* Schema of a ViewportResizeData.
360360
*/
361-
export declare type ViewportResizeData = {
361+
export type ViewportResizeData = {
362362
/**
363363
* The source of this type of incremental data.
364364
*/
@@ -367,7 +367,7 @@ export declare type ViewportResizeData = {
367367
/**
368368
* Schema of a PointerInteractionData.
369369
*/
370-
export declare type PointerInteractionData = {
370+
export type PointerInteractionData = {
371371
/**
372372
* The source of this type of incremental data.
373373
*/
@@ -376,7 +376,7 @@ export declare type PointerInteractionData = {
376376
/**
377377
* Schema of a Record which contains the screen properties.
378378
*/
379-
export declare type MetaRecord = SlotSupportedCommonRecordSchema & {
379+
export type MetaRecord = SlotSupportedCommonRecordSchema & {
380380
/**
381381
* The type of this Record.
382382
*/
@@ -402,7 +402,7 @@ export declare type MetaRecord = SlotSupportedCommonRecordSchema & {
402402
/**
403403
* Schema of common properties for a Record event type that is supported by slots.
404404
*/
405-
export declare type SlotSupportedCommonRecordSchema = CommonRecordSchema & {
405+
export type SlotSupportedCommonRecordSchema = CommonRecordSchema & {
406406
/**
407407
* Unique ID of the slot that generated this record.
408408
*/
@@ -411,7 +411,7 @@ export declare type SlotSupportedCommonRecordSchema = CommonRecordSchema & {
411411
/**
412412
* Schema of a Record type which contains focus information.
413413
*/
414-
export declare type FocusRecord = SlotSupportedCommonRecordSchema & {
414+
export type FocusRecord = SlotSupportedCommonRecordSchema & {
415415
/**
416416
* The type of this Record.
417417
*/
@@ -426,7 +426,7 @@ export declare type FocusRecord = SlotSupportedCommonRecordSchema & {
426426
/**
427427
* Schema of a Record which signifies that view lifecycle ended.
428428
*/
429-
export declare type ViewEndRecord = SlotSupportedCommonRecordSchema & {
429+
export type ViewEndRecord = SlotSupportedCommonRecordSchema & {
430430
/**
431431
* The type of this Record.
432432
*/
@@ -435,7 +435,7 @@ export declare type ViewEndRecord = SlotSupportedCommonRecordSchema & {
435435
/**
436436
* Schema of a Record which signifies that the viewport properties have changed.
437437
*/
438-
export declare type VisualViewportRecord = SlotSupportedCommonRecordSchema & {
438+
export type VisualViewportRecord = SlotSupportedCommonRecordSchema & {
439439
data: {
440440
height: number;
441441
offsetLeft: number;

lib/cjs/generated/profiling.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
/**
55
* Schema of RUM Profiling.
66
*/
7-
export declare type Profiling = BrowserProfileEvent | MobileProfileEvent;
7+
export type Profiling = BrowserProfileEvent | MobileProfileEvent;
88
/**
99
* Browser SDK profiling payload.
1010
*/
11-
export declare type BrowserProfileEvent = ProfileCommonProperties & {
11+
export type BrowserProfileEvent = ProfileCommonProperties & {
1212
/**
1313
* Profile data format.
1414
*/
@@ -28,7 +28,7 @@ export declare type BrowserProfileEvent = ProfileCommonProperties & {
2828
/**
2929
* Mobile SDK profiling event.
3030
*/
31-
export declare type MobileProfileEvent = ProfileCommonProperties & {
31+
export type MobileProfileEvent = ProfileCommonProperties & {
3232
/**
3333
* The RUM Vital this profile event is associated with.
3434
*/

0 commit comments

Comments
 (0)