@accounts/mikro-orm
Index
Classes
Functions
Interfaces
References
Type Aliases
Variables
References
default
Renames and re-exports AccountsMikroOrm
Type Aliases
EmailCtor
Type parameters
- CustomUser: IUser<any, any, any>
- CustomEmailCtorArgs: EmailCtorArgs<CustomUser> = EmailCtorArgs<CustomUser>
Type declaration
Parameters
args: CustomEmailCtorArgs
Returns Email<CustomUser>
ServiceCtor
Type parameters
- CustomUser: IUser<any, any, any>
- CustomServiceCtorArgs: ServiceCtorArgs<CustomUser> = ServiceCtorArgs<CustomUser>
Type declaration
Parameters
args: CustomServiceCtorArgs
Returns Service<CustomUser>
ServiceCtorArgs
Type parameters
- CustomUser: IUser<any, any, any>
Type declaration
name: string
optionalpassword?: string
optionaluser?: CustomUser
SessionCtor
Type parameters
- CustomUser: IUser<any, any, any>
- CustomSessionCtorArgs: SessionCtorArgs<CustomUser> = SessionCtorArgs<CustomUser>
Type declaration
Parameters
args: CustomSessionCtorArgs
Returns Session<CustomUser>
SessionCtorArgs
Type parameters
- CustomUser: IUser<any, any, any>
Type declaration
optionalextra?: object
optionalip?: string | null
token: string
user: CustomUser
optionaluserAgent?: string | null
valid: boolean
UserCtor
Type parameters
- CustomEmail: Email<any>
- CustomSession: Session<any>
- CustomService: Service<any>
- CustomUserCtorArgs: UserCtorArgs = UserCtorArgs
Type declaration
Parameters
args: CustomUserCtorArgs
Returns IUser<CustomEmail, CustomSession, CustomService>