booru-api/types/bun.ts
creations 5f0bdb885b
All checks were successful
Code quality checks / biome (push) Successful in 10s
refactor: improve code structure and add better logging
- Replace custom logger with @atums/echo library
- Restructure imports using # path aliases
- Add request performance tracking and better request logging
- Improve type definitions and error handling
- Add custom file serving capability
- Update biome configuration with stricter linting rules
- Add comprehensive API documentation (DOCS.md)
2025-06-13 17:45:27 -04:00

10 lines
223 B
TypeScript

type Query = Record<string, string>;
type Params = Record<string, string>;
interface ExtendedRequest extends Request {
startPerf: number;
query: Query;
params: Params;
}
export type { ExtendedRequest, Query, Params };