UNPKG

@rytass/member-base-nestjs-module

Version:

Rytass Member System NestJS Base Module

21 lines (20 loc) 784 B
import { Relation } from 'typeorm'; import { MemberLoginLogEntity } from './member-login-log.entity'; import { MemberPasswordHistoryEntity } from './member-password-history.entity'; import { MemberOAuthRecordEntity } from './member-oauth-record.entity'; export declare const BaseMemberRepo: unique symbol; export declare class BaseMemberEntity { id: string; account: string; password: string; passwordChangedAt: Date; resetPasswordRequestedAt: Date | null; loginFailedCounter: number; shouldUpdatePassword: boolean; createdAt: Date; updatedAt: Date; deletedAt: Date | null; loginLogs: Relation<MemberLoginLogEntity[]>; passwordHistories: Relation<MemberPasswordHistoryEntity[]>; oauthRecords: Relation<MemberOAuthRecordEntity[]>; }