Search
Preparing search index...
The search index is not available
@alanmarcell/ptz-user-domain
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"IUserRepository.d"
IUserRepository
Interface IUserRepository
Hierarchy
IBaseRepository
<
IUser
>
IUserRepository
Index
Properties
collection
Name
db
Methods
find
get
ById
get
ByIds
get
ByUser
Name
OrEmail
get
DbCollection
get
Other
Users
With
Same
User
Name
OrEmail
save
Properties
collection
Name
collection
Name
:
string
db
db
:
Db
Methods
find
find
(
query
:
any
, options
:
object
)
:
Promise
<
IUser
[]
&
IEntityMinBase
[]
>
Parameters
query:
any
options:
object
limit
:
number
Returns
Promise
<
IUser
[]
&
IEntityMinBase
[]
>
get
ById
get
ById
(
id
:
string
)
:
Promise
<
IUser
&
IEntityMinBase
>
Parameters
id:
string
Returns
Promise
<
IUser
&
IEntityMinBase
>
get
ByIds
get
ByIds
(
ids
:
string
[]
)
:
Promise
<
IUser
[]
&
IEntityMinBase
[]
>
Parameters
ids:
string
[]
Returns
Promise
<
IUser
[]
&
IEntityMinBase
[]
>
get
ByUser
Name
OrEmail
get
ByUser
Name
OrEmail
(
userNameOrEmail
:
string
)
:
Promise
<
IUser
>
Parameters
userNameOrEmail:
string
Returns
Promise
<
IUser
>
get
DbCollection
get
DbCollection
(
db
:
Db
, collectionName
:
string
)
:
Collection
<
IUser
&
IEntityMinBase
>
Parameters
db:
Db
collectionName:
string
Returns
Collection
<
IUser
&
IEntityMinBase
>
get
Other
Users
With
Same
User
Name
OrEmail
get
Other
Users
With
Same
User
Name
OrEmail
(
user
:
IUser
)
:
Promise
<
IUser
[]
>
Parameters
user:
IUser
Returns
Promise
<
IUser
[]
>
save
save
(
entity
:
IUser
&
IEntityMinBase
)
:
Promise
<
IUser
&
IEntityMinBase
>
Parameters
entity:
IUser
&
IEntityMinBase
Returns
Promise
<
IUser
&
IEntityMinBase
>
Globals
"
Auth
User
Form"
"IApp
Func
Args.d"
"IAuth
User
Form.d"
"ICreated
By.d"
"IEntity
Base.d"
"IUser.d"
"IUser
App.d"
"IUser
Repository.d"
"all
Errors"
"create
User"
"errors"
"index"
"other
Users
With
Same
User
Name
OrEmail"
"update
User"
"users"
IUser
Repository
collection
Name
db
find
get
ById
get
ByIds
get
ByUser
Name
OrEmail
get
DbCollection
get
Other
Users
With
Same
User
Name
OrEmail
save
Generated using
TypeDoc