Skip to content

Commit d0c54aa

Browse files
committed
chore: Lint/Build errors fixed
1 parent 7607495 commit d0c54aa

17 files changed

+417
-418
lines changed

packages/types/src/appcontext.ts

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
import { Context } from './context';
2+
3+
/**
4+
* App context describes the application. As opposed to the runtime,
5+
* this is the actual application that was running and carries metadata about the current session.
6+
* @external https://develop.sentry.dev/sdk/event-payloads/contexts/#app-context
7+
*/
8+
export interface AppContext extends Context {
9+
/**
10+
* Formatted UTC timestamp when the user started the application.
11+
*/
12+
app_start_time?: number;
13+
14+
/**
15+
* Application-specific device identifier.
16+
*/
17+
device_app_hash?: string;
18+
19+
/**
20+
* String identifying the kind of build. For example, testflight.
21+
*/
22+
build_type?: string;
23+
24+
/**
25+
* Version-independent application identifier, often a dotted bundle ID.
26+
*/
27+
app_identifier?: string;
28+
29+
/**
30+
* Human readable application name, as it appears on the platform.
31+
*/
32+
app_name?: string;
33+
34+
/**
35+
* Human readable application version, as it appears on the platform.
36+
*/
37+
app_version?: string;
38+
39+
/**
40+
* Internal build identifier, as it appears on the platform.
41+
*/
42+
app_build?: string;
43+
}

packages/types/src/breadcrumb.ts

-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export interface Breadcrumb {
4848
*/
4949
timestamp?: number;
5050

51-
5251
event_id?: string;
5352
}
5453

@@ -121,9 +120,7 @@ export enum BreadcrumbTypes {
121120
user = 'user',
122121
}
123122

124-
125123
/** JSDoc */
126124
export interface BreadcrumbHint {
127125
[key: string]: any;
128126
}
129-

packages/types/src/browsercontext.ts

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { Context } from './context';
2+
3+
/**
4+
* Browser context carries information about the browser or user agent for web-related errors.
5+
* This can either be the browser this event occurred in or the user agent of a web request that triggered the event.
6+
* @external https://develop.sentry.dev/sdk/event-payloads/contexts/#browser-context
7+
*/
8+
export interface BrowserContext extends Context {
9+
/**
10+
* Display name of the browser application.
11+
*/
12+
name: string;
13+
14+
/**
15+
* Version string of the browser.
16+
*/
17+
version?: string;
18+
}

0 commit comments

Comments
 (0)