caelum0x dd069746b9 chore(repo): flatten project to repository root
The whole project lived under a redundant veritas/ subdirectory with only a
stub README.md at the repo root, so GitHub showed caelum0x/veritas as
veritas/<everything>. Move all files up to the root and drop the stub.
History is preserved (git detects renames). Build unaffected: 0 type errors
across packages + all 31 apps, 49 tests passing from the new root.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 15:05:43 +03:00

19 lines
602 B
TypeScript

// Defines the ApiCallEvent type representing a single recorded API call
import { type IsoTimestamp } from "@veritas/core";
export type HttpMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
export interface ApiCallEvent {
readonly eventId: string;
readonly timestamp: IsoTimestamp;
readonly method: HttpMethod;
readonly endpoint: string;
readonly statusCode: number;
readonly latencyMs: number;
readonly consumerId: string;
readonly apiKeyId: string;
readonly requestSizeBytes: number;
readonly responseSizeBytes: number;
readonly errorCode?: string;
}