Content · Components
ContentContributionInbox
No summary has been written for ContentContributionInbox. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.Public export
typescript
import { ContentContributionInbox } from '@happyvertical/smrt-content/svelte';- Import path
@happyvertical/smrt-content/svelte- Props
- 8
- Props described
- 8 of 8
- Bindable state
- 0
- Callback events
- 4
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
contributionsContentContributionData[]NoList of contributions pending review.selectedIdstring | nullNoID of the contribution currently selected for review.emptyMessagestringNoMessage shown when the contributions list is empty.workflowFormActionstringNoURL for workflow form submission to handle approve/reject server-side.onSelect(contribution: ContentContributionData) => voidNoFired when the user selects a contribution from the list.onApprove(contribution: ContentContributionData, options: { targetStatus: 'draft' | 'review'; note: string; }) => voidNoFired when the user approves a contribution and optionally promotes it.onRequestChanges(contribution: ContentContributionData, options: { note: string; }) => voidNoFired when the user requests changes to a contribution.onReject(contribution: ContentContributionData, options: { note: string; }) => voidNoFired when the user rejects a contribution.Bindable state
This component has no bindable public state.
Callback events
onSelect(contribution: ContentContributionData) => voidonApprove(contribution: ContentContributionData, options: { targetStatus: 'draft' | 'review'; note: string; }) => voidonRequestChanges(contribution: ContentContributionData, options: { note: string; }) => voidonReject(contribution: ContentContributionData, options: { note: string; }) => void