41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
import { z } from 'zod';
|
|
export declare const loginSchema: z.ZodObject<{
|
|
email: z.ZodString;
|
|
password: z.ZodString;
|
|
}, "strip", z.ZodTypeAny, {
|
|
email: string;
|
|
password: string;
|
|
}, {
|
|
email: string;
|
|
password: string;
|
|
}>;
|
|
export declare const registerSchema: z.ZodObject<{
|
|
email: z.ZodString;
|
|
password: z.ZodString;
|
|
name: z.ZodOptional<z.ZodString>;
|
|
phone: z.ZodOptional<z.ZodString>;
|
|
inviteCode: z.ZodOptional<z.ZodString>;
|
|
}, "strip", z.ZodTypeAny, {
|
|
email: string;
|
|
password: string;
|
|
name?: string | undefined;
|
|
phone?: string | undefined;
|
|
inviteCode?: string | undefined;
|
|
}, {
|
|
email: string;
|
|
password: string;
|
|
name?: string | undefined;
|
|
phone?: string | undefined;
|
|
inviteCode?: string | undefined;
|
|
}>;
|
|
export declare const refreshSchema: z.ZodObject<{
|
|
refreshToken: z.ZodString;
|
|
}, "strip", z.ZodTypeAny, {
|
|
refreshToken: string;
|
|
}, {
|
|
refreshToken: string;
|
|
}>;
|
|
export type LoginInput = z.infer<typeof loginSchema>;
|
|
export type RegisterInput = z.infer<typeof registerSchema>;
|
|
export type RefreshInput = z.infer<typeof refreshSchema>;
|
|
//# sourceMappingURL=auth.schemas.d.ts.map
|