lsync API
Preparing search index...
@lsync/server
visibleUpdateForAuth
Function visibleUpdateForAuth
visibleUpdateForAuth
(
update
:
{
clientId
?:
string
;
collection
:
string
;
createdAt
:
number
;
id
:
string
;
key
:
string
|
number
;
path
?:
string
;
previousValue
?:
unknown
;
type
:
"insert"
|
"update"
|
"delete"
;
value
?:
unknown
;
}
,
collections
:
CollectionConfigs
|
undefined
,
auth
:
AccessAuth
,
store
:
AccessStore
,
)
:
|
{
clientId
?:
string
;
collection
:
string
;
createdAt
:
number
;
id
:
string
;
key
:
string
|
number
;
path
?:
string
;
previousValue
?:
unknown
;
type
:
"insert"
|
"update"
|
"delete"
;
value
?:
unknown
;
}
|
undefined
Parameters
update
:
{
clientId
?:
string
;
collection
:
string
;
createdAt
:
number
;
id
:
string
;
key
:
string
|
number
;
path
?:
string
;
previousValue
?:
unknown
;
type
:
"insert"
|
"update"
|
"delete"
;
value
?:
unknown
;
}
collections
:
CollectionConfigs
|
undefined
auth
:
AccessAuth
store
:
AccessStore
Returns
|
{
clientId
?:
string
;
collection
:
string
;
createdAt
:
number
;
id
:
string
;
key
:
string
|
number
;
path
?:
string
;
previousValue
?:
unknown
;
type
:
"insert"
|
"update"
|
"delete"
;
value
?:
unknown
;
}
|
undefined
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
lsync API
Loading...