Skip to content

Commit 394818a

Browse files
committed
Add AddViewLoadingTime telemetry to browser schema
1 parent a4214e9 commit 394818a

4 files changed

Lines changed: 65 additions & 65 deletions

File tree

lib/cjs/generated/telemetry.d.ts

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -491,15 +491,15 @@ export type TelemetryUsageEvent = CommonTelemetryProperties & {
491491
/**
492492
* Schema of features usage common across SDKs
493493
*/
494-
export type TelemetryCommonFeaturesUsage = SetTrackingConsent | StopSession | StartView | SetViewContext | SetViewContextProperty | SetViewName | GetViewContext | AddAction | AddError | GetGlobalContext | SetGlobalContext | SetGlobalContextProperty | RemoveGlobalContextProperty | ClearGlobalContext | GetUser | SetUser | SetUserProperty | RemoveUserProperty | ClearUser | GetAccount | SetAccount | SetAccountProperty | RemoveAccountProperty | ClearAccount | AddFeatureFlagEvaluation | AddOperationStepVital | GraphQLRequest;
494+
export type TelemetryCommonFeaturesUsage = SetTrackingConsent | StopSession | StartView | SetViewContext | SetViewContextProperty | SetViewName | GetViewContext | AddAction | AddError | GetGlobalContext | SetGlobalContext | SetGlobalContextProperty | RemoveGlobalContextProperty | ClearGlobalContext | GetUser | SetUser | SetUserProperty | RemoveUserProperty | ClearUser | GetAccount | SetAccount | SetAccountProperty | RemoveAccountProperty | ClearAccount | AddFeatureFlagEvaluation | AddOperationStepVital | GraphQLRequest | AddViewLoadingTime;
495495
/**
496496
* Schema of browser specific features usage
497497
*/
498498
export type TelemetryBrowserFeaturesUsage = StartSessionReplayRecording | StartDurationVital | StopDurationVital | AddDurationVital;
499499
/**
500500
* Schema of mobile specific features usage
501501
*/
502-
export type TelemetryMobileFeaturesUsage = AddViewLoadingTime | TrackWebView;
502+
export type TelemetryMobileFeaturesUsage = TrackWebView;
503503
/**
504504
* Schema of common properties of Telemetry events
505505
*/
@@ -832,6 +832,25 @@ export interface GraphQLRequest {
832832
feature: 'graphql-request';
833833
[k: string]: unknown;
834834
}
835+
export interface AddViewLoadingTime {
836+
/**
837+
* addViewLoadingTime API
838+
*/
839+
feature: 'addViewLoadingTime';
840+
/**
841+
* Whether the view is not available
842+
*/
843+
no_view: boolean;
844+
/**
845+
* Whether the available view is not active
846+
*/
847+
no_active_view: boolean;
848+
/**
849+
* Whether the loading time was overwritten
850+
*/
851+
overwritten: boolean;
852+
[k: string]: unknown;
853+
}
835854
export interface StartSessionReplayRecording {
836855
/**
837856
* startSessionReplayRecording API
@@ -864,25 +883,6 @@ export interface AddDurationVital {
864883
feature: 'add-duration-vital';
865884
[k: string]: unknown;
866885
}
867-
export interface AddViewLoadingTime {
868-
/**
869-
* addViewLoadingTime API
870-
*/
871-
feature: 'addViewLoadingTime';
872-
/**
873-
* Whether the view is not available
874-
*/
875-
no_view: boolean;
876-
/**
877-
* Whether the available view is not active
878-
*/
879-
no_active_view: boolean;
880-
/**
881-
* Whether the loading time was overwritten
882-
*/
883-
overwritten: boolean;
884-
[k: string]: unknown;
885-
}
886886
export interface TrackWebView {
887887
/**
888888
* trackWebView API

lib/esm/generated/telemetry.d.ts

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -491,15 +491,15 @@ export type TelemetryUsageEvent = CommonTelemetryProperties & {
491491
/**
492492
* Schema of features usage common across SDKs
493493
*/
494-
export type TelemetryCommonFeaturesUsage = SetTrackingConsent | StopSession | StartView | SetViewContext | SetViewContextProperty | SetViewName | GetViewContext | AddAction | AddError | GetGlobalContext | SetGlobalContext | SetGlobalContextProperty | RemoveGlobalContextProperty | ClearGlobalContext | GetUser | SetUser | SetUserProperty | RemoveUserProperty | ClearUser | GetAccount | SetAccount | SetAccountProperty | RemoveAccountProperty | ClearAccount | AddFeatureFlagEvaluation | AddOperationStepVital | GraphQLRequest;
494+
export type TelemetryCommonFeaturesUsage = SetTrackingConsent | StopSession | StartView | SetViewContext | SetViewContextProperty | SetViewName | GetViewContext | AddAction | AddError | GetGlobalContext | SetGlobalContext | SetGlobalContextProperty | RemoveGlobalContextProperty | ClearGlobalContext | GetUser | SetUser | SetUserProperty | RemoveUserProperty | ClearUser | GetAccount | SetAccount | SetAccountProperty | RemoveAccountProperty | ClearAccount | AddFeatureFlagEvaluation | AddOperationStepVital | GraphQLRequest | AddViewLoadingTime;
495495
/**
496496
* Schema of browser specific features usage
497497
*/
498498
export type TelemetryBrowserFeaturesUsage = StartSessionReplayRecording | StartDurationVital | StopDurationVital | AddDurationVital;
499499
/**
500500
* Schema of mobile specific features usage
501501
*/
502-
export type TelemetryMobileFeaturesUsage = AddViewLoadingTime | TrackWebView;
502+
export type TelemetryMobileFeaturesUsage = TrackWebView;
503503
/**
504504
* Schema of common properties of Telemetry events
505505
*/
@@ -832,6 +832,25 @@ export interface GraphQLRequest {
832832
feature: 'graphql-request';
833833
[k: string]: unknown;
834834
}
835+
export interface AddViewLoadingTime {
836+
/**
837+
* addViewLoadingTime API
838+
*/
839+
feature: 'addViewLoadingTime';
840+
/**
841+
* Whether the view is not available
842+
*/
843+
no_view: boolean;
844+
/**
845+
* Whether the available view is not active
846+
*/
847+
no_active_view: boolean;
848+
/**
849+
* Whether the loading time was overwritten
850+
*/
851+
overwritten: boolean;
852+
[k: string]: unknown;
853+
}
835854
export interface StartSessionReplayRecording {
836855
/**
837856
* startSessionReplayRecording API
@@ -864,25 +883,6 @@ export interface AddDurationVital {
864883
feature: 'add-duration-vital';
865884
[k: string]: unknown;
866885
}
867-
export interface AddViewLoadingTime {
868-
/**
869-
* addViewLoadingTime API
870-
*/
871-
feature: 'addViewLoadingTime';
872-
/**
873-
* Whether the view is not available
874-
*/
875-
no_view: boolean;
876-
/**
877-
* Whether the available view is not active
878-
*/
879-
no_active_view: boolean;
880-
/**
881-
* Whether the loading time was overwritten
882-
*/
883-
overwritten: boolean;
884-
[k: string]: unknown;
885-
}
886886
export interface TrackWebView {
887887
/**
888888
* trackWebView API

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,29 @@
311311
"const": "graphql-request"
312312
}
313313
}
314+
},
315+
{
316+
"required": ["feature", "no_view", "no_active_view", "overwritten"],
317+
"title": "AddViewLoadingTime",
318+
"properties": {
319+
"feature": {
320+
"type": "string",
321+
"description": "addViewLoadingTime API",
322+
"const": "addViewLoadingTime"
323+
},
324+
"no_view": {
325+
"type": "boolean",
326+
"description": "Whether the view is not available"
327+
},
328+
"no_active_view": {
329+
"type": "boolean",
330+
"description": "Whether the available view is not active"
331+
},
332+
"overwritten": {
333+
"type": "boolean",
334+
"description": "Whether the loading time was overwritten"
335+
}
336+
}
314337
}
315338
]
316339
}

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,6 @@
55
"type": "object",
66
"description": "Schema of mobile specific features usage",
77
"oneOf": [
8-
{
9-
"required": ["feature", "no_view", "no_active_view", "overwritten"],
10-
"title": "AddViewLoadingTime",
11-
"properties": {
12-
"feature": {
13-
"type": "string",
14-
"description": "addViewLoadingTime API",
15-
"const": "addViewLoadingTime"
16-
},
17-
"no_view": {
18-
"type": "boolean",
19-
"description": "Whether the view is not available"
20-
},
21-
"no_active_view": {
22-
"type": "boolean",
23-
"description": "Whether the available view is not active"
24-
},
25-
"overwritten": {
26-
"type": "boolean",
27-
"description": "Whether the loading time was overwritten"
28-
}
29-
}
30-
},
318
{
329
"required": ["feature"],
3310
"title": "TrackWebView",

0 commit comments

Comments
 (0)