// ============================================================
// EXPRESS REQUEST AUGMENTATION
// ============================================================
// authMiddleware attaches `user` and `sessionId` to every request
// after token verification. Declaring them here so every route
// handler sees them typed without casting.
// ============================================================

import type { AuthUser } from '../../shared/types';

declare global {
  namespace Express {
    interface Request {
      user?: AuthUser;
      sessionId?: string;
    }
  }
}

export {};
