import { BaseModel } from '@adonisjs/lucid/orm'; import StatsRequest from './stats_request.js'; import type { TraceSpan } from '../../debug/types.js'; import type { BelongsTo } from '@adonisjs/lucid/types/relations'; export default class StatsTrace extends BaseModel { static connection: string; static table: string; id: number; requestId: number | null; method: string; url: string; statusCode: number; totalDuration: number; spanCount: number; spans: TraceSpan[]; warnings: string[] | null; createdAt: string; request: BelongsTo; }