corregido refreshtoken y mejorado ver informacion ui por roles

This commit is contained in:
2026-02-10 21:45:34 -04:00
parent 63c39e399e
commit 42e802f8a7
22 changed files with 2438 additions and 324 deletions

View File

@@ -0,0 +1,5 @@
import z from 'zod';
export const logoutResponseSchema = z.object({
message: z.string(),
});

View File

@@ -4,7 +4,6 @@ import { tokensSchema } from './login';
// Esquema para el refresh token
export const refreshTokenSchema = z.object({
user_id: z.number(),
token: z.string(),
});