UNPKG

@battle-racing/br-common-lib

Version:

Common library for all Battle Racing Repositorios

23 lines (21 loc) 834 B
import { z } from 'zod'; import { authUserSchema, initialUserSchema, userCompleteProfileSchema, userInitialRegistrationSchema, userLoginInputSchema, userSchema, userTypeSchema, userVerifySchema, userWithPasswordSchema, } 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 InitialUser = z.infer<typeof initialUserSchema>; 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>;