Rocky_Mountain_Vending/.pnpm-store/v10/files/a8/a42263383248062565b01803223fc4adc204ebcefc91bcb7c4b27be34ead10152beb674ad41b44665880df2179a3d991f737d9c6d549821a987993b3a09da8
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

65 lines
No EOL
1.8 KiB
Text

import type { 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