import { z } from 'zod';

export const loginSchema = z.object({
    username: z.string().min(1, 'Username is required'),
    password: z.string().min(1, 'Password is required'),
});

export type LoginFormValues = z.infer<typeof loginSchema>;

export const refreshTokenSchema = z.object({
    refresh_token: z.string().min(1, 'Refresh token is required'),
});

export type RefreshTokenFormValues = z.infer<typeof refreshTokenSchema>;
