Fix: estimates geo v2

This commit is contained in:
Arsen
2026-02-04 00:11:19 +05:00
commit 3f0086f88e
22567 changed files with 4348823 additions and 0 deletions

11
backend/dist/middleware/auth.d.ts vendored Executable file
View File

@@ -0,0 +1,11 @@
import { Request, Response, NextFunction } from 'express';
export interface JwtPayload {
userId: string;
email: string;
}
export interface AuthRequest extends Request {
user?: JwtPayload;
}
export declare function requireAuth(req: AuthRequest, res: Response, next: NextFunction): Response<any, Record<string, any>> | undefined;
export declare function getTokenPayload(token: string): JwtPayload | null;
//# sourceMappingURL=auth.d.ts.map