File tree Expand file tree Collapse file tree
samples/profiling/mobile/profile-event Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,20 +37,6 @@ export type BrowserProfileEvent = ProfileCommonProperties & {
3737 readonly label : string [ ] ;
3838 [ k : string ] : unknown ;
3939 } ;
40- /**
41- * Vital properties.
42- */
43- readonly vital ?: {
44- /**
45- * Array of vital IDs.
46- */
47- readonly id : string [ ] ;
48- /**
49- * Array of vital labels.
50- */
51- readonly label : string [ ] ;
52- [ k : string ] : unknown ;
53- } ;
5440 [ k : string ] : unknown ;
5541} ;
5642/**
@@ -101,6 +87,20 @@ export interface ProfileCommonProperties {
10187 readonly id : string [ ] ;
10288 [ k : string ] : unknown ;
10389 } ;
90+ /**
91+ * Vital properties.
92+ */
93+ readonly vital ?: {
94+ /**
95+ * Array of vital IDs.
96+ */
97+ readonly id : string [ ] ;
98+ /**
99+ * Array of vital labels.
100+ */
101+ readonly label : string [ ] ;
102+ [ k : string ] : unknown ;
103+ } ;
104104 /**
105105 * List of attachment filenames.
106106 */
Original file line number Diff line number Diff line change 44/**
55 * Schema of the Mobile SDK Profile Event metadata.
66 */
7- export type MobileProfileEvent = ProfileCommonProperties & {
8- /**
9- * The RUM Vital this profile event is associated with.
10- */
11- readonly vital : {
12- /**
13- * Unique identifier of RUM Vital in the UUID format.
14- */
15- readonly id : string ;
16- [ k : string ] : unknown ;
17- } ;
18- [ k : string ] : unknown ;
19- } ;
7+ export type MobileProfileEvent = ProfileCommonProperties ;
208/**
219 * Schema of a Profile Event metadata. Contains attributes shared by all profiles.
2210 */
@@ -65,6 +53,20 @@ export interface ProfileCommonProperties {
6553 readonly id : string [ ] ;
6654 [ k : string ] : unknown ;
6755 } ;
56+ /**
57+ * Vital properties.
58+ */
59+ readonly vital ?: {
60+ /**
61+ * Array of vital IDs.
62+ */
63+ readonly id : string [ ] ;
64+ /**
65+ * Array of vital labels.
66+ */
67+ readonly label : string [ ] ;
68+ [ k : string ] : unknown ;
69+ } ;
6870 /**
6971 * List of attachment filenames.
7072 */
Original file line number Diff line number Diff line change @@ -37,38 +37,12 @@ export type BrowserProfileEvent = ProfileCommonProperties & {
3737 readonly label : string [ ] ;
3838 [ k : string ] : unknown ;
3939 } ;
40- /**
41- * Vital properties.
42- */
43- readonly vital ?: {
44- /**
45- * Array of vital IDs.
46- */
47- readonly id : string [ ] ;
48- /**
49- * Array of vital labels.
50- */
51- readonly label : string [ ] ;
52- [ k : string ] : unknown ;
53- } ;
5440 [ k : string ] : unknown ;
5541} ;
5642/**
5743 * Mobile SDK profiling event.
5844 */
59- export type MobileProfileEvent = ProfileCommonProperties & {
60- /**
61- * The RUM Vital this profile event is associated with.
62- */
63- readonly vital : {
64- /**
65- * Unique identifier of RUM Vital in the UUID format.
66- */
67- readonly id : string ;
68- [ k : string ] : unknown ;
69- } ;
70- [ k : string ] : unknown ;
71- } ;
45+ export type MobileProfileEvent = ProfileCommonProperties ;
7246/**
7347 * Schema of a Profile Event metadata. Contains attributes shared by all profiles.
7448 */
@@ -117,6 +91,20 @@ export interface ProfileCommonProperties {
11791 readonly id : string [ ] ;
11892 [ k : string ] : unknown ;
11993 } ;
94+ /**
95+ * Vital properties.
96+ */
97+ readonly vital ?: {
98+ /**
99+ * Array of vital IDs.
100+ */
101+ readonly id : string [ ] ;
102+ /**
103+ * Array of vital labels.
104+ */
105+ readonly label : string [ ] ;
106+ [ k : string ] : unknown ;
107+ } ;
120108 /**
121109 * List of attachment filenames.
122110 */
Original file line number Diff line number Diff line change @@ -37,20 +37,6 @@ export type BrowserProfileEvent = ProfileCommonProperties & {
3737 readonly label : string [ ] ;
3838 [ k : string ] : unknown ;
3939 } ;
40- /**
41- * Vital properties.
42- */
43- readonly vital ?: {
44- /**
45- * Array of vital IDs.
46- */
47- readonly id : string [ ] ;
48- /**
49- * Array of vital labels.
50- */
51- readonly label : string [ ] ;
52- [ k : string ] : unknown ;
53- } ;
5440 [ k : string ] : unknown ;
5541} ;
5642/**
@@ -101,6 +87,20 @@ export interface ProfileCommonProperties {
10187 readonly id : string [ ] ;
10288 [ k : string ] : unknown ;
10389 } ;
90+ /**
91+ * Vital properties.
92+ */
93+ readonly vital ?: {
94+ /**
95+ * Array of vital IDs.
96+ */
97+ readonly id : string [ ] ;
98+ /**
99+ * Array of vital labels.
100+ */
101+ readonly label : string [ ] ;
102+ [ k : string ] : unknown ;
103+ } ;
104104 /**
105105 * List of attachment filenames.
106106 */
Original file line number Diff line number Diff line change 44/**
55 * Schema of the Mobile SDK Profile Event metadata.
66 */
7- export type MobileProfileEvent = ProfileCommonProperties & {
8- /**
9- * The RUM Vital this profile event is associated with.
10- */
11- readonly vital : {
12- /**
13- * Unique identifier of RUM Vital in the UUID format.
14- */
15- readonly id : string ;
16- [ k : string ] : unknown ;
17- } ;
18- [ k : string ] : unknown ;
19- } ;
7+ export type MobileProfileEvent = ProfileCommonProperties ;
208/**
219 * Schema of a Profile Event metadata. Contains attributes shared by all profiles.
2210 */
@@ -65,6 +53,20 @@ export interface ProfileCommonProperties {
6553 readonly id : string [ ] ;
6654 [ k : string ] : unknown ;
6755 } ;
56+ /**
57+ * Vital properties.
58+ */
59+ readonly vital ?: {
60+ /**
61+ * Array of vital IDs.
62+ */
63+ readonly id : string [ ] ;
64+ /**
65+ * Array of vital labels.
66+ */
67+ readonly label : string [ ] ;
68+ [ k : string ] : unknown ;
69+ } ;
6870 /**
6971 * List of attachment filenames.
7072 */
Original file line number Diff line number Diff line change @@ -37,38 +37,12 @@ export type BrowserProfileEvent = ProfileCommonProperties & {
3737 readonly label : string [ ] ;
3838 [ k : string ] : unknown ;
3939 } ;
40- /**
41- * Vital properties.
42- */
43- readonly vital ?: {
44- /**
45- * Array of vital IDs.
46- */
47- readonly id : string [ ] ;
48- /**
49- * Array of vital labels.
50- */
51- readonly label : string [ ] ;
52- [ k : string ] : unknown ;
53- } ;
5440 [ k : string ] : unknown ;
5541} ;
5642/**
5743 * Mobile SDK profiling event.
5844 */
59- export type MobileProfileEvent = ProfileCommonProperties & {
60- /**
61- * The RUM Vital this profile event is associated with.
62- */
63- readonly vital : {
64- /**
65- * Unique identifier of RUM Vital in the UUID format.
66- */
67- readonly id : string ;
68- [ k : string ] : unknown ;
69- } ;
70- [ k : string ] : unknown ;
71- } ;
45+ export type MobileProfileEvent = ProfileCommonProperties ;
7246/**
7347 * Schema of a Profile Event metadata. Contains attributes shared by all profiles.
7448 */
@@ -117,6 +91,20 @@ export interface ProfileCommonProperties {
11791 readonly id : string [ ] ;
11892 [ k : string ] : unknown ;
11993 } ;
94+ /**
95+ * Vital properties.
96+ */
97+ readonly vital ?: {
98+ /**
99+ * Array of vital IDs.
100+ */
101+ readonly id : string [ ] ;
102+ /**
103+ * Array of vital labels.
104+ */
105+ readonly label : string [ ] ;
106+ [ k : string ] : unknown ;
107+ } ;
120108 /**
121109 * List of attachment filenames.
122110 */
Original file line number Diff line number Diff line change 1313 "id" : [" 0e6071e2-e4ae-4605-8dfe-9f3551a172f9" , " c40f0593-ae2c-416f-8abb-4d3ec4b68e2e" ]
1414 },
1515 "vital" : {
16- "id" : " b3f8c1a2-9d4e-4f5a-8b7c-2e1d3f4a5b6c"
16+ "id" : [" b3f8c1a2-9d4e-4f5a-8b7c-2e1d3f4a5b6c" ],
17+ "label" : [" time_to_initial_display" ]
1718 },
1819 "attachments" : [" wall-time.json" ],
1920 "start" : " 2025-12-02T13:32:04.886Z" ,
Original file line number Diff line number Diff line change 7272 },
7373 "readOnly" : true
7474 },
75+ "vital" : {
76+ "type" : " object" ,
77+ "description" : " Vital properties." ,
78+ "required" : [" id" , " label" ],
79+ "properties" : {
80+ "id" : {
81+ "type" : " array" ,
82+ "items" : {
83+ "type" : " string"
84+ },
85+ "description" : " Array of vital IDs." ,
86+ "readOnly" : true
87+ },
88+ "label" : {
89+ "type" : " array" ,
90+ "items" : {
91+ "type" : " string"
92+ },
93+ "description" : " Array of vital labels." ,
94+ "readOnly" : true
95+ }
96+ },
97+ "readOnly" : true
98+ },
7599 "attachments" : {
76100 "type" : " array" ,
77101 "items" : {
Original file line number Diff line number Diff line change 5454 }
5555 },
5656 "readOnly" : true
57- },
58- "vital" : {
59- "type" : " object" ,
60- "description" : " Vital properties." ,
61- "required" : [" id" , " label" ],
62- "properties" : {
63- "id" : {
64- "type" : " array" ,
65- "items" : {
66- "type" : " string"
67- },
68- "description" : " Array of vital IDs." ,
69- "readOnly" : true
70- },
71- "label" : {
72- "type" : " array" ,
73- "items" : {
74- "type" : " string"
75- },
76- "description" : " Array of vital labels." ,
77- "readOnly" : true
78- }
79- },
80- "readOnly" : true
8157 }
8258 }
8359 }
Original file line number Diff line number Diff line change 66 "allOf" : [
77 {
88 "$ref" : " ../_common-schema.json"
9- },
10- {
11- "type" : " object" ,
12- "required" : [" vital" ],
13- "properties" : {
14- "vital" : {
15- "type" : " object" ,
16- "description" : " The RUM Vital this profile event is associated with." ,
17- "readOnly" : true ,
18- "properties" : {
19- "id" : {
20- "type" : " string" ,
21- "description" : " Unique identifier of RUM Vital in the UUID format." ,
22- "readOnly" : true
23- }
24- },
25- "required" : [" id" ]
26- }
27- }
289 }
2910 ]
3011}
You can’t perform that action at this time.
0 commit comments