History
History
HistoryEntires are created for many actions in crowde:
view
: User has viewed a Questioncreate
: User created a new Questionedit
: User edited a QuestionDraftanswer
: User answered a Questionfeedback
: User gave Feedbackpublish
: User published a QuestionDrafttaskComplete
: User completed a SessionTask
interface HistoryEntry {
id: string
userId: string
type: HistoryEntryType
questionId?: string
topicId?: string
taskId?: string
createdAt: any
data?: any
questionAnswerId?: string
timeToSolve?: string
}
type HistoryEntryType =
| 'view'
| 'create'
| 'edit'
| 'answer'
| 'feedback'
| 'publish'
| 'taskComplete'
| string