lsync API
Preparing search index...
@lsync/client
CollectionEntity
Type Alias CollectionEntity<T, TKey, TChildren>
CollectionEntity
:
{
all
()
:
Collection
<
T
,
TKey
>
;
delete
(
config
?:
OperationConfig
)
:
Transaction
<
any
>
;
get
()
:
WithVirtualProps
<
T
,
TKey
>
|
undefined
;
update
(
callback
:
(
draft
:
WritableDeep
<
T
>
)
=>
void
,
)
:
Transaction
<
Record
<
string
,
unknown
>
>
;
update
(
config
:
OperationConfig
,
callback
:
(
draft
:
WritableDeep
<
T
>
)
=>
void
,
)
:
Transaction
<
Record
<
string
,
unknown
>
>
;
}
&
ChildManagers
<
TChildren
>
Type Parameters
T
extends
object
TKey
extends
string
|
number
TChildren
extends
CollectionTypeChildren
=
{}
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
lsync API
Loading...