UNPKG

718 BTypeScriptView Raw
1/** Supported Sentry transport protocols in a Dsn. */
2export type DsnProtocol = 'http' | 'https';
3/** Primitive components of a Dsn. */
4export interface DsnComponents {
5 /** Protocol used to connect to Sentry. */
6 protocol: DsnProtocol;
7 /** Public authorization key. */
8 publicKey?: string;
9 /** Private authorization key (deprecated, optional). */
10 pass?: string;
11 /** Hostname of the Sentry instance. */
12 host: string;
13 /** Port of the Sentry instance. */
14 port?: string;
15 /** Sub path/ */
16 path?: string;
17 /** Project ID */
18 projectId: string;
19}
20/** Anything that can be parsed into a Dsn. */
21export type DsnLike = string | DsnComponents;
22//# sourceMappingURL=dsn.d.ts.map
\No newline at end of file