Search
Preparing search index...
The search index is not available
不和 (Fuwa)
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
不和 (Fuwa)
UserManager
Class UserManager
Hierarchy
BaseManager
<
ExtendedUser
|
User
>
UserManager
Index
Constructors
constructor
Properties
__class
cache
client
Accessors
size
Methods
add
add
Many
fetch
fetch
Current
get
map
remove
remove
Many
resolve
update
Constructors
constructor
new
User
Manager
(
client
:
Client
)
:
UserManager
Parameters
client:
Client
Returns
UserManager
Properties
__class
__class
:
any
cache
cache
:
Map
<
string
,
ExtendedUser
|
User
>
= ...
client
client
:
Client
Accessors
size
get
size
(
)
:
number
Returns
number
Methods
add
add
(
data
:
ExtendedUser
|
User
)
:
ExtendedUser
|
User
Parameters
data:
ExtendedUser
|
User
Returns
ExtendedUser
|
User
add
Many
add
Many
(
data
:
(
ExtendedUser
|
User
)
[]
)
:
(
ExtendedUser
|
User
)
[]
Parameters
data:
(
ExtendedUser
|
User
)
[]
Returns
(
ExtendedUser
|
User
)
[]
fetch
fetch
(
id
:
string
, cache
?:
boolean
)
:
Promise
<
ExtendedUser
|
User
>
Parameters
id:
string
cache:
boolean
= false
Returns
Promise
<
ExtendedUser
|
User
>
fetch
Current
fetch
Current
(
)
:
Promise
<
ExtendedUser
>
Returns
Promise
<
ExtendedUser
>
get
get
(
id
:
string
)
:
undefined
|
ExtendedUser
|
User
Parameters
id:
string
Returns
undefined
|
ExtendedUser
|
User
map
map
(
fn
:
(
data
:
ExtendedUser
|
User
, key
:
string
, cache
:
Map
<
string
,
ExtendedUser
|
User
>
)
=>
any
)
:
any
[]
Parameters
fn:
(
data
:
ExtendedUser
|
User
, key
:
string
, cache
:
Map
<
string
,
ExtendedUser
|
User
>
)
=>
any
(
data
:
ExtendedUser
|
User
, key
:
string
, cache
:
Map
<
string
,
ExtendedUser
|
User
>
)
:
any
Parameters
data:
ExtendedUser
|
User
key:
string
cache:
Map
<
string
,
ExtendedUser
|
User
>
Returns
any
Returns
any
[]
remove
remove
(
id
:
string
)
:
void
Parameters
id:
string
Returns
void
remove
Many
remove
Many
(
ids
:
string
[]
)
:
void
Parameters
ids:
string
[]
Returns
void
resolve
resolve
(
data
:
any
)
:
undefined
|
ExtendedUser
|
User
Parameters
data:
any
Returns
undefined
|
ExtendedUser
|
User
update
update
(
data
:
ExtendedUser
|
User
)
:
ExtendedUser
|
User
Parameters
data:
ExtendedUser
|
User
Returns
ExtendedUser
|
User
Exports
Internals
Tokens
Externals
Types
User
Manager
constructor
__class
cache
client
size
add
add
Many
fetch
fetch
Current
get
map
remove
remove
Many
resolve
update
Generated using
TypeDoc