Skip to content

Commit 99c97ee

Browse files
Update schemas titles
1 parent 37e48fd commit 99c97ee

9 files changed

Lines changed: 24 additions & 24 deletions

File tree

lib/cjs/generated/browserProfiling.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
/**
55
* Schema of the Browser SDK Profile Event payload.
66
*/
7-
export interface BrowserProfileEventPayload {
7+
export interface BrowserProfileEvent {
88
/**
99
* Profile event metadata.
1010
*/
11-
readonly event: ProfileEvent & {
11+
readonly event: ProfileCommonProperties & {
1212
/**
1313
* Profile data format.
1414
*/
@@ -31,7 +31,7 @@ export interface BrowserProfileEventPayload {
3131
/**
3232
* Schema of a Profile Event metadata. Contains attributes shared by all profiles.
3333
*/
34-
export interface ProfileEvent {
34+
export interface ProfileCommonProperties {
3535
/**
3636
* Application properties.
3737
*/

lib/cjs/generated/mobileProfiling.d.ts

Lines changed: 2 additions & 2 deletions
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 = ProfileEvent & {
7+
export declare type MobileProfileEvent = ProfileCommonProperties & {
88
/**
99
* The RUM Vital this profile event is associated with.
1010
*/
@@ -20,7 +20,7 @@ export declare type MobileProfileEvent = ProfileEvent & {
2020
/**
2121
* Schema of a Profile Event metadata. Contains attributes shared by all profiles.
2222
*/
23-
export interface ProfileEvent {
23+
export interface ProfileCommonProperties {
2424
/**
2525
* Application properties.
2626
*/

lib/cjs/generated/profiling.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
/**
55
* Schema of RUM Profiling.
66
*/
7-
export declare type RumProfiling = BrowserProfileEventPayload | MobileProfileEvent;
7+
export declare type Profiling = BrowserProfileEvent | MobileProfileEvent;
88
/**
99
* Mobile SDK profiling event.
1010
*/
11-
export declare type MobileProfileEvent = ProfileEvent & {
11+
export declare type MobileProfileEvent = ProfileCommonProperties & {
1212
/**
1313
* The RUM Vital this profile event is associated with.
1414
*/
@@ -24,11 +24,11 @@ export declare type MobileProfileEvent = ProfileEvent & {
2424
/**
2525
* Browser SDK profiling payload.
2626
*/
27-
export interface BrowserProfileEventPayload {
27+
export interface BrowserProfileEvent {
2828
/**
2929
* Profile event metadata.
3030
*/
31-
readonly event: ProfileEvent & {
31+
readonly event: ProfileCommonProperties & {
3232
/**
3333
* Profile data format.
3434
*/
@@ -51,7 +51,7 @@ export interface BrowserProfileEventPayload {
5151
/**
5252
* Schema of a Profile Event metadata. Contains attributes shared by all profiles.
5353
*/
54-
export interface ProfileEvent {
54+
export interface ProfileCommonProperties {
5555
/**
5656
* Application properties.
5757
*/

lib/esm/generated/browserProfiling.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
/**
55
* Schema of the Browser SDK Profile Event payload.
66
*/
7-
export interface BrowserProfileEventPayload {
7+
export interface BrowserProfileEvent {
88
/**
99
* Profile event metadata.
1010
*/
11-
readonly event: ProfileEvent & {
11+
readonly event: ProfileCommonProperties & {
1212
/**
1313
* Profile data format.
1414
*/
@@ -31,7 +31,7 @@ export interface BrowserProfileEventPayload {
3131
/**
3232
* Schema of a Profile Event metadata. Contains attributes shared by all profiles.
3333
*/
34-
export interface ProfileEvent {
34+
export interface ProfileCommonProperties {
3535
/**
3636
* Application properties.
3737
*/

lib/esm/generated/mobileProfiling.d.ts

Lines changed: 2 additions & 2 deletions
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 = ProfileEvent & {
7+
export declare type MobileProfileEvent = ProfileCommonProperties & {
88
/**
99
* The RUM Vital this profile event is associated with.
1010
*/
@@ -20,7 +20,7 @@ export declare type MobileProfileEvent = ProfileEvent & {
2020
/**
2121
* Schema of a Profile Event metadata. Contains attributes shared by all profiles.
2222
*/
23-
export interface ProfileEvent {
23+
export interface ProfileCommonProperties {
2424
/**
2525
* Application properties.
2626
*/

lib/esm/generated/profiling.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
/**
55
* Schema of RUM Profiling.
66
*/
7-
export declare type RumProfiling = BrowserProfileEventPayload | MobileProfileEvent;
7+
export declare type Profiling = BrowserProfileEvent | MobileProfileEvent;
88
/**
99
* Mobile SDK profiling event.
1010
*/
11-
export declare type MobileProfileEvent = ProfileEvent & {
11+
export declare type MobileProfileEvent = ProfileCommonProperties & {
1212
/**
1313
* The RUM Vital this profile event is associated with.
1414
*/
@@ -24,11 +24,11 @@ export declare type MobileProfileEvent = ProfileEvent & {
2424
/**
2525
* Browser SDK profiling payload.
2626
*/
27-
export interface BrowserProfileEventPayload {
27+
export interface BrowserProfileEvent {
2828
/**
2929
* Profile event metadata.
3030
*/
31-
readonly event: ProfileEvent & {
31+
readonly event: ProfileCommonProperties & {
3232
/**
3333
* Profile data format.
3434
*/
@@ -51,7 +51,7 @@ export interface BrowserProfileEventPayload {
5151
/**
5252
* Schema of a Profile Event metadata. Contains attributes shared by all profiles.
5353
*/
54-
export interface ProfileEvent {
54+
export interface ProfileCommonProperties {
5555
/**
5656
* Application properties.
5757
*/
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "profiling-browser-schema.json",
4-
"title": "BrowserProfileEventPayload",
4+
"title": "BrowserProfileEvent",
55
"description": "Schema of the Browser SDK Profile Event payload.",
66
"$ref": "profiling/browser/profile-event-schema.json"
77
}

schemas/profiling-schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "profiling-schema.json",
4-
"title": "RumProfiling",
4+
"title": "Profiling",
55
"type": "object",
66
"description": "Schema of RUM Profiling.",
77
"oneOf": [
88
{
9-
"title": "BrowserProfileEventPayload",
9+
"title": "BrowserProfileEvent",
1010
"description": "Browser SDK profiling payload.",
1111
"$ref": "profiling/browser/profile-event-schema.json"
1212
},

schemas/profiling/_common-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "profiling/_common-schema.json",
4-
"title": "ProfileEvent",
4+
"title": "ProfileCommonProperties",
55
"type": "object",
66
"description": "Schema of a Profile Event metadata. Contains attributes shared by all profiles.",
77
"required": ["application", "attachments", "start", "end", "family", "runtime", "version", "tags_profiler"],

0 commit comments

Comments
 (0)