Skip to content

Commit be5a05b

Browse files
committed
chore: regenerate types, add sample event, fix tab description
1 parent 500e245 commit be5a05b

4 files changed

Lines changed: 54 additions & 1 deletion

File tree

lib/cjs/generated/rum.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,6 +1522,16 @@ export interface CommonProperties {
15221522
readonly name?: string;
15231523
[k: string]: unknown;
15241524
};
1525+
/**
1526+
* Browser tab properties
1527+
*/
1528+
readonly tab?: {
1529+
/**
1530+
* UUID of the browser tab
1531+
*/
1532+
readonly id: string;
1533+
[k: string]: unknown;
1534+
};
15251535
/**
15261536
* Device connectivity properties
15271537
*/

lib/esm/generated/rum.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,6 +1522,16 @@ export interface CommonProperties {
15221522
readonly name?: string;
15231523
[k: string]: unknown;
15241524
};
1525+
/**
1526+
* Browser tab properties
1527+
*/
1528+
readonly tab?: {
1529+
/**
1530+
* UUID of the browser tab
1531+
*/
1532+
readonly id: string;
1533+
[k: string]: unknown;
1534+
};
15251535
/**
15261536
* Device connectivity properties
15271537
*/
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"type": "view",
3+
"date": 1591283924940,
4+
"application": {
5+
"id": "ac8218cf-498b-4d33-bd44-151095959547"
6+
},
7+
"session": {
8+
"id": "cacbf45c-3a05-48ce-b066-d76349460599",
9+
"type": "user"
10+
},
11+
"source": "browser",
12+
"view": {
13+
"id": "623d50fd-75cf-4025-97d2-e51ff94171f6",
14+
"url": "https://app.datadoghq.com/rum/explorer",
15+
"time_spent": 245512755000,
16+
"action": {
17+
"count": 0
18+
},
19+
"error": {
20+
"count": 0
21+
},
22+
"resource": {
23+
"count": 3
24+
}
25+
},
26+
"tab": {
27+
"id": "b7e2a1f4-3c8d-4e5f-9a0b-1d2e3f4a5b6c"
28+
},
29+
"_dd": {
30+
"document_version": 1,
31+
"format_version": 2
32+
}
33+
}

schemas/rum/_common-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
},
175175
"tab": {
176176
"type": "object",
177-
"description": "Browser tab properties",
177+
"description": "Tab properties",
178178
"required": ["id"],
179179
"additionalProperties": true,
180180
"properties": {

0 commit comments

Comments
 (0)