@webshop/root - v1.0.0
HBO-ICT Knowledgebase
HBO-ICT.Cloud
Preparing search index...
api/src/repositories/AccountRepository
AccountRepository
Class AccountRepository
Index
Constructors
constructor
Properties
_
database
Service
Methods
find
By
Email
And
Password
find
By
Name
Or
Email
new
Account
Constructors
constructor
new
AccountRepository
()
:
AccountRepository
Returns
AccountRepository
Properties
Private
Readonly
_
database
Service
_databaseService
:
DatabaseService
= ...
Methods
find
By
Email
And
Password
findByEmailAndPassword
(
email
:
string
,
hashedPassword
:
string
,
)
:
Promise
<
User
|
null
>
Parameters
email
:
string
hashedPassword
:
string
Returns
Promise
<
User
|
null
>
find
By
Name
Or
Email
findByNameOrEmail
(
name
:
string
,
email
:
string
)
:
Promise
<
User
|
null
>
Parameters
name
:
string
email
:
string
Returns
Promise
<
User
|
null
>
new
Account
newAccount
(
user
:
User
)
:
Promise
<
void
>
Parameters
user
:
User
Returns
Promise
<
void
>
Settings
Member Visibility
Private
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
database
Service
Methods
find
By
Email
And
Password
find
By
Name
Or
Email
new
Account
HBO-ICT Knowledgebase
HBO-ICT.Cloud
@webshop/root - v1.0.0
Loading...