UNPKG

@battle-racing/br-common-lib

Version:

Common library for all Battle Racing Repositorios

21 lines (19 loc) 752 B
import { z } from 'zod'; import { userSchema, userTypeSchema, userWithPasswordSchema, userInitialRegistrationSchema, userVerifySchema, userCompleteProfileSchema, userLoginInputSchema, authUserSchema, } from './User.schema'; export type UserType = z.infer<typeof userTypeSchema>; export type User = z.infer<typeof userSchema>; export type UserWithPassword = z.infer<typeof userWithPasswordSchema>; export type AuthUser = z.infer<typeof authUserSchema>; export type UserInitialRegistration = z.infer<typeof userInitialRegistrationSchema>; export type UserVerify = z.infer<typeof userVerifySchema>; export type UserCompleteProfile = z.infer<typeof userCompleteProfileSchema>; export type UserLogin = z.infer<typeof userLoginInputSchema>;