@brewww/authentication-service
Version:
Authenticator service for Brew projects.
24 lines (23 loc) • 702 B
TypeScript
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[];
}