Function to approve the submission, optionally adding a comment.
Alias for the approve
method.
Function to delete the submission by ID or use the current submission ID.
Optional
submissionId: anyBoolean indicating whether the submission data has been fetched.
Boolean indicating if the submission is in a pending
state, or null
if the state is unknown.
Function to push updated submission data to the backend.
Optional
updatedSubmission: anyAlias for the push
method.
Optional
updatedSubmission: anyFunction to refetch the submission data from
the backend. Pass quiet
to avoid triggering loading indicators.
Function to reject the submission, optionally adding a comment.
Alias for the reject
method.
Function to reset the submission state to default values.
Function to update the description of the submission.
Function to update the files associated with the submission.
Function to update the ID of the submission and trigger a refetch.
Function to update the name of the submission.
Function to update the post title of the submission.
Function to update the schema ID of the submission.
Function to update the state of the submission.
The current submission object containing all submission details.
Boolean indicating if the submission upload is still pending after exceeding the timeout period.
Generated using TypeDoc
The return type of the useSubmission hook.