UNPKG

@brewww/authentication-service

Version:
24 lines (23 loc) 702 B
import { RefreshToken } from "./refresh-token.entity"; import { UserResetPasswordRequest } from "./user-reset-password-request.entity"; import { UserRole } from "./user-role.entity"; export declare class User { id: string; createSnowflakeId(): void; username?: string; email?: string; countryCode?: string; phoneNumber?: string; phoneVerified: boolean; firstName: string; lastName: string; passwordHash?: string; passwordSalt?: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; roles: Array<UserRole>; profilePicture: string; userResetPasswordRequests: UserResetPasswordRequest[]; refreshTokens: RefreshToken[]; }