Files
klz-cables.com/.pnpm-store/v10/files/4c/e176cbde84f98944cc2fba7c76cd1bcd0c98ed2fa611e836ab2c8101e52673dd259f0ba82e9b2099f73e8c1989c64e2a59473fcd8dde5ecf944e47e346864e
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

66 lines
1.9 KiB
Plaintext

import { User } from './user';
export interface Session {
sid: string;
did?: string | number;
init: boolean;
timestamp: number;
started: number;
duration?: number;
status: SessionStatus;
release?: string;
environment?: string;
userAgent?: string;
ipAddress?: string;
errors: number;
user?: User | null;
ignoreDuration: boolean;
abnormal_mechanism?: string;
/**
* Overrides default JSON serialization of the Session because
* the Sentry servers expect a slightly different schema of a session
* which is described in the interface @see SerializedSession in this file.
*
* @return a Sentry-backend conforming JSON object of the session
*/
toJSON(): SerializedSession;
}
export type SessionContext = Partial<Session>;
export type SessionStatus = 'ok' | 'exited' | 'crashed' | 'abnormal';
/** JSDoc */
export interface SessionAggregates {
attrs?: {
environment?: string;
release?: string;
ip_address?: string | null;
};
aggregates: Array<AggregationCounts>;
}
export interface AggregationCounts {
/** ISO Timestamp rounded to the second */
started: string;
/** Number of sessions that did not have errors */
exited?: number;
/** Number of sessions that had handled errors */
errored?: number;
/** Number of sessions that had unhandled errors */
crashed?: number;
}
export interface SerializedSession {
init: boolean;
sid: string;
did?: string;
timestamp: string;
started: string;
duration?: number;
status: SessionStatus;
errors: number;
abnormal_mechanism?: string;
attrs?: {
release?: string;
environment?: string;
user_agent?: string;
ip_address?: string;
};
}
//# sourceMappingURL=session.d.ts.map