🎓 Initial commit: Math2 Platform - Plataforma de Álgebra Lineal PRO
✨ Características: - 45 ejercicios universitarios (Basic → Advanced) - Renderizado LaTeX profesional - IA generativa (Z.ai/DashScope) - Docker 9 servicios - Tests 123/123 pasando - Seguridad enterprise (JWT, XSS, Rate limiting) 🐳 Infraestructura: - Next.js 14 + Node.js 20 - PostgreSQL 15 + Redis 7 - Docker Compose completo - Nginx + SSL ready 📚 Documentación: - 5 informes técnicos completos - README profesional - Scripts de deployment automatizados Estado: Producción lista ✅
This commit is contained in:
15
backend/src/modules/auth/dtos/refresh.dto.ts
Normal file
15
backend/src/modules/auth/dtos/refresh.dto.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Refresh Token DTO
|
||||
*
|
||||
* Validation schema for token refresh
|
||||
*/
|
||||
|
||||
import { z } from 'zod';
|
||||
|
||||
export const refreshTokenSchema = z.object({
|
||||
refreshToken: z
|
||||
.string()
|
||||
.min(1, 'Refresh token is required'),
|
||||
});
|
||||
|
||||
export type RefreshTokenDto = z.infer<typeof refreshTokenSchema>;
|
||||
Reference in New Issue
Block a user