Skip to content

Commit c05a910

Browse files
committed
Make no_view and no_active_view optional in AddViewLoadingTime schema
Browser SDK omits these fields entirely (always creates a view on init, and the no_active_view edge case is not reported). Fields remain in the schema as optional for mobile SDK backward compatibility.
1 parent 394818a commit c05a910

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/cjs/generated/telemetry.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -840,11 +840,11 @@ export interface AddViewLoadingTime {
840840
/**
841841
* Whether the view is not available
842842
*/
843-
no_view: boolean;
843+
no_view?: boolean;
844844
/**
845845
* Whether the available view is not active
846846
*/
847-
no_active_view: boolean;
847+
no_active_view?: boolean;
848848
/**
849849
* Whether the loading time was overwritten
850850
*/

lib/esm/generated/telemetry.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -840,11 +840,11 @@ export interface AddViewLoadingTime {
840840
/**
841841
* Whether the view is not available
842842
*/
843-
no_view: boolean;
843+
no_view?: boolean;
844844
/**
845845
* Whether the available view is not active
846846
*/
847-
no_active_view: boolean;
847+
no_active_view?: boolean;
848848
/**
849849
* Whether the loading time was overwritten
850850
*/

schemas/telemetry/usage/common-features-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@
313313
}
314314
},
315315
{
316-
"required": ["feature", "no_view", "no_active_view", "overwritten"],
316+
"required": ["feature", "overwritten"],
317317
"title": "AddViewLoadingTime",
318318
"properties": {
319319
"feature": {

0 commit comments

Comments
 (0)