Rocky_Mountain_Vending/.pnpm-store/v10/files/a9/43cfe62df3d4ca4210923ac81ad4f52a9ae2e29899fc1f7ddab85bebee9f53ee657b38e07baa37f4b41b8c2e41afd56b3eee1d412e42cd22ff4b2c311113ed
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

69 lines
1.9 KiB
Text

import { ParameterizedString } from './parameterize';
export type LogSeverityLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal';
export interface Log {
/**
* The severity level of the log.
*
* Allowed values are, from highest to lowest:
* `critical`, `fatal`, `error`, `warn`, `info`, `debug`, `trace`.
*
* The log level changes how logs are filtered and displayed.
* Critical level logs are emphasized more than trace level logs.
*/
level: LogSeverityLevel;
/**
* The message to be logged.
*/
message: ParameterizedString;
/**
* Arbitrary structured data that stores information about the log - e.g., userId: 100.
*/
attributes?: Record<string, unknown>;
/**
* The severity number.
*/
severityNumber?: number;
}
export type SerializedLogAttributeValue = {
value: string;
type: 'string';
} | {
value: number;
type: 'integer';
} | {
value: number;
type: 'double';
} | {
value: boolean;
type: 'boolean';
};
export interface SerializedLog {
/**
* Timestamp in seconds (epoch time) indicating when the log occurred.
*/
timestamp: number;
/**
* The severity level of the log. One of `trace`, `debug`, `info`, `warn`, `error`, `fatal`.
*/
level: LogSeverityLevel;
/**
* The log body.
*/
body: Log['message'];
/**
* The trace ID for this log
*/
trace_id?: string;
/**
* Arbitrary structured data that stores information about the log - e.g., userId: 100.
*/
attributes?: Record<string, SerializedLogAttributeValue>;
/**
* The severity number.
*/
severity_number?: Log['severityNumber'];
}
export type SerializedLogContainer = {
items: Array<SerializedLog>;
};
//# sourceMappingURL=log.d.ts.map