refactor: change backend to typescript and update types and variables accordingly

This commit is contained in:
2026-07-08 10:54:07 +02:00
parent 36ec8da1a0
commit 84fa2e0ab0
24 changed files with 1911 additions and 615 deletions
+11
View File
@@ -0,0 +1,11 @@
import type {AuthTokenPayload} from "../services/tokenService.js";
declare global {
namespace Express {
interface Request {
user?: AuthTokenPayload;
}
}
}
export {};