UNPKG

syms-api-interfaces

Version:
31 lines (30 loc) 682 B
import { USER_PROVIDER } from '../enums'; export declare namespace IUser { class CheckUserExistBodyDto { email: string; } class CheckUserExistResDto { exist: boolean; } class SignUpBodyDto { firebaseId: string; email: string; } class SignUpResDto { user: Pick<User, 'id' | 'firebaseId' | 'email'>; } type User = { id: string; firebaseId: string; email: string; emailVerified: boolean; providerData: { email: string; providerId: USER_PROVIDER; uid: string; }[]; }; class MeResponseDto { user: User; } }