Sanity Library Reference Docs
Preparing search index...
sanity
index
CommentOperations
Interface CommentOperations
Beta
Hidden
interface
CommentOperations
{
create
:
(
comment
:
CommentCreatePayload
)
=>
Promise
<
void
>
;
react
:
(
id
:
string
,
reaction
:
CommentReactionOption
)
=>
Promise
<
void
>
;
remove
:
(
id
:
string
)
=>
Promise
<
void
>
;
update
:
(
id
:
string
,
comment
:
Partial
,
opts
?:
CommentUpdateOperationOptions
,
)
=>
Promise
<
void
>
;
}
Index
Properties
create
react
remove
update
Properties
Beta
create
create
:
(
comment
:
CommentCreatePayload
)
=>
Promise
<
void
>
Beta
react
react
:
(
id
:
string
,
reaction
:
CommentReactionOption
)
=>
Promise
<
void
>
Beta
remove
remove
:
(
id
:
string
)
=>
Promise
<
void
>
Beta
update
update
:
(
id
:
string
,
comment
:
Partial
,
opts
?:
CommentUpdateOperationOptions
,
)
=>
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
create
react
remove
update
Sanity Library Reference Docs
Loading...
Hidden