Preparing search index...
The search index is not available
MobX RESTful
MobX RESTful
BaseListModel
Class BaseListModel<D>
Abstract
This basic class is a middle class, which isn't for direct using
Type Parameters
D
extends
DataObject
Hierarchy (
View Summary
)
BaseModel
BaseListModel
ListModel
Index
Constructors
constructor
Properties
baseURI
client
index
Key
Accessors
current
One
downloading
uploading
Methods
clear
clear
Current
delete
One
get
One
update
One
create
Nested
Constructors
constructor
new
BaseListModel
<
D
extends
DataObject
>
()
:
BaseListModel
<
D
>
Type Parameters
D
extends
DataObject
Returns
BaseListModel
<
D
>
Properties
Abstract
baseURI
baseURI
:
string
Abstract
client
client
:
RESTClient
index
Key
indexKey
:
keyof
D
= 'id'
Accessors
current
One
currentOne
:
any
downloading
downloading
:
any
uploading
uploading
:
any
Methods
clear
clear
()
:
void
Returns
void
clear
Current
clearCurrent
()
:
void
Returns
void
delete
One
deleteOne
(
id
:
IDType
)
:
Promise
<
void
>
Parameters
id
:
IDType
Returns
Promise
<
void
>
get
One
getOne
(
id
:
IDType
)
:
Promise
<
D
>
Parameters
id
:
IDType
Returns
Promise
<
D
>
update
One
updateOne
(
data
:
Partial
<
NewData
<
D
>
>
,
id
?:
IDType
)
:
Promise
<
D
>
Parameters
data
:
Partial
<
NewData
<
D
>
>
Optional
id
:
IDType
Returns
Promise
<
D
>
Static
create
Nested
createNested
(
parentId
:
IDType
)
:
BaseListModel
<
{}
>
Parameters
parentId
:
IDType
Returns
BaseListModel
<
{}
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
baseURI
client
index
Key
Accessors
current
One
downloading
uploading
Methods
clear
clear
Current
delete
One
get
One
update
One
create
Nested
MobX RESTful
BaseListModel
BaseModel
ListModel
PersistNode
PageData
PersistListMeta
PersistMeta
PersistModel
DataObject
Filter
IDType
NewData
PersistFieldMeta
RESTClient
Statistic
Buffer
destroy
persist
persistList
restore
Stream
toggle
toggleNotification
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R
This basic class is a middle class, which isn't for direct using