games_app/backend/dist-test-faq/middleware/requireSupportedAppVersion.d.ts

9 lines
478 B
TypeScript

/**
* Blocks sensitive mobile API calls when the client app version is below
* min_supported or behind a published mandatory release (HTTP 426).
* Web clients without X-Tloto-App-Version-Code are not gated.
*/
import { Response, NextFunction } from 'express';
import { AuthRequest } from './auth';
export declare function requireSupportedAppVersion(req: AuthRequest, res: Response, next: NextFunction): Promise<void>;
//# sourceMappingURL=requireSupportedAppVersion.d.ts.map