Wagtail client-side components
Preparing search index...
components/CommentApp/actions/comments
commentActionFunctions
Variable commentActionFunctions
Const
commentActionFunctions
:
{
addComment
:
(
comment
:
Comment
)
=>
AddCommentAction
;
addReply
:
(
commentId
:
number
,
reply
:
CommentReply
)
=>
AddReplyAction
;
deleteComment
:
(
commentId
:
number
)
=>
DeleteCommentAction
;
deleteReply
:
(
commentId
:
number
,
replyId
:
number
)
=>
DeleteReplyAction
;
invalidateContentPath
:
(
contentPath
:
string
)
=>
InvalidateContentPathAction
;
resolveComment
:
(
commentId
:
number
)
=>
ResolveCommentAction
;
setFocusedComment
:
(
commentId
:
null
|
number
,
__namedParameters
?:
{
forceFocus
:
boolean
;
updatePinnedComment
:
boolean
}
,
)
=>
SetFocusedCommentAction
;
updateComment
:
(
commentId
:
number
,
update
:
CommentUpdate
,
)
=>
UpdateCommentAction
;
updateReply
:
(
commentId
:
number
,
replyId
:
number
,
update
:
CommentReplyUpdate
,
)
=>
UpdateReplyAction
;
}
= ...
Type declaration
addComment
:
(
comment
:
Comment
)
=>
AddCommentAction
addReply
:
(
commentId
:
number
,
reply
:
CommentReply
)
=>
AddReplyAction
deleteComment
:
(
commentId
:
number
)
=>
DeleteCommentAction
deleteReply
:
(
commentId
:
number
,
replyId
:
number
)
=>
DeleteReplyAction
invalidateContentPath
:
(
contentPath
:
string
)
=>
InvalidateContentPathAction
resolveComment
:
(
commentId
:
number
)
=>
ResolveCommentAction
setFocusedComment
:
(
commentId
:
null
|
number
,
__namedParameters
?:
{
forceFocus
:
boolean
;
updatePinnedComment
:
boolean
}
,
)
=>
SetFocusedCommentAction
updateComment
:
(
commentId
:
number
,
update
:
CommentUpdate
)
=>
UpdateCommentAction
updateReply
:
(
commentId
:
number
,
replyId
:
number
,
update
:
CommentReplyUpdate
,
)
=>
UpdateReplyAction
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Wagtail client-side components
Loading...