stock.geolock.fr/packages/shared/dist/auth.d.ts
2026-02-24 16:10:30 +00:00

22 lines
680 B
TypeScript

import { z } from 'zod';
export declare const loginSchema: z.ZodObject<{
username: z.ZodString;
password: z.ZodString;
}, z.core.$strip>;
export declare const registerSchema: z.ZodObject<{
username: z.ZodString;
password: z.ZodString;
displayName: z.ZodString;
}, z.core.$strip>;
export declare const changePasswordSchema: z.ZodObject<{
password: z.ZodString;
}, z.core.$strip>;
export type LoginInput = z.infer<typeof loginSchema>;
export type RegisterInput = z.infer<typeof registerSchema>;
export type ChangePasswordInput = z.infer<typeof changePasswordSchema>;
export type AuthUser = {
id: string;
username: string;
displayName: string;
};