Recapp Code Reference
Preparing search index...
frontend/src/actors/CurrentQuizActor
CurrentQuizMessages
Variable CurrentQuizMessages
Const
CurrentQuizMessages
:
Unionized
<
{
Activate
:
{
quizId
:
string
&
BRAND
<
"UID"
>
;
userId
:
string
&
BRAND
<
"UID"
>
;
}
;
ActivateGroupStats
:
string
;
ActivateQuestionStats
:
string
&
BRAND
<
"UID"
>
;
ActivateQuizStats
:
{}
;
AddComment
:
Omit
<
{
answered
:
boolean
;
archived
?:
Timestamp
;
authorId
:
string
&
BRAND
<
"UID"
>
;
authorName
:
string
;
created
:
Timestamp
;
relatedQuestion
?:
string
&
BRAND
<
"UID"
>
;
relatedQuiz
:
string
&
BRAND
<
"UID"
>
;
text
:
string
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
upvoters
:
(
string
&
BRAND
<
"UID"
>
)
[]
;
}
,
"uid"
|
"authorId"
,
>
;
AddQuestion
:
{
group
:
string
;
question
:
Omit
<
Question
,
"uid"
|
"authorName"
|
"authorId"
|
"created"
|
"updated"
,
>
;
}
;
ChangeState
:
"EDITING"
|
"STARTED"
|
"STOPPED"
|
"RESETSTATS"
;
CreateQuiz
:
string
&
BRAND
<
"UID"
>
;
DeleteComment
:
string
&
BRAND
<
"UID"
>
;
DeleteQuestion
:
string
&
BRAND
<
"UID"
>
;
Duplicate
:
{}
;
Export
:
{}
;
ExportDone
:
{}
;
ExportQuestionStats
:
{}
;
ExportQuizStats
:
{}
;
FinishComment
:
string
&
BRAND
<
"UID"
>
;
GetRun
:
{}
;
GetTeacherNames
:
{}
;
LeaveQuiz
:
{}
;
LogAnswer
:
{
answer
:
string
|
boolean
[]
;
questionId
:
string
&
BRAND
<
"UID"
>
;
}
;
Reset
:
{}
;
setIsCommentSectionVisible
:
boolean
;
setIsPresentationModeActive
:
boolean
;
SetQuiz
:
string
&
BRAND
<
"UID"
>
;
SetUser
:
{
active
:
boolean
;
archived
?:
Timestamp
;
created
:
Timestamp
;
email
?:
string
;
fingerprint
?:
string
;
initialQuiz
?:
string
;
isTemporary
:
boolean
;
lastLogin
:
Timestamp
;
nickname
?:
string
;
quizUsage
:
Map
<
string
&
BRAND
<
"UID"
>
,
{
name
?:
string
;
type
:
"NAME"
|
"NICKNAME"
|
"ANONYMOUS"
}
,
>
;
role
:
"STUDENT"
|
"TEACHER"
|
"ADMIN"
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
username
:
string
;
}
;
StartQuiz
:
{}
;
Update
:
Partial
<
{
allowedQuestionTypesSettings
:
Partial
<
Record
<
"SINGLE"
|
"MULTIPLE"
|
"TEXT"
,
boolean
>
,
>
;
archived
?:
Timestamp
;
comments
:
(
string
&
BRAND
<
"UID"
>
)
[]
;
created
:
Timestamp
;
createdBy
?:
string
&
BRAND
<
"UID"
>
;
description
:
string
;
groups
:
{
name
:
string
;
questions
:
(
string
&
BRAND
<
"UID"
>
)
[]
;
statistics
?:
{
answers
:
number
[]
;
correctAnswers
:
number
[]
;
groupName
:
string
;
maximumParticipants
:
number
;
questionIds
:
(
string
&
BRAND
<
(...)
>
)
[]
;
quizId
:
string
&
BRAND
<
"UID"
>
;
wrongAnswers
:
number
[]
;
}
;
}
[]
;
hideComments
:
boolean
;
lastExport
?:
Timestamp
;
previewers
?:
(
string
&
BRAND
<
"UID"
>
)
[]
;
runOptions
?:
{
runningEntity
?:
string
&
BRAND
<
"UID"
>
}
;
shuffleAnswers
:
boolean
;
shuffleQuestions
:
boolean
;
state
:
"EDITING"
|
"ACTIVE"
|
"STARTED"
|
"STOPPED"
;
statistics
?:
{
answers
:
number
[]
;
correctAnswers
:
number
[]
;
groupName
:
string
;
maximumParticipants
:
number
;
questionIds
:
(
string
&
BRAND
<
"UID"
>
)
[]
;
quizId
:
string
&
BRAND
<
"UID"
>
;
wrongAnswers
:
number
[]
;
}
;
studentComments
:
boolean
;
studentParticipationSettings
:
Partial
<
Record
<
"NAME"
|
"NICKNAME"
|
"ANONYMOUS"
,
boolean
>
,
>
;
studentQuestions
:
boolean
;
students
:
(
string
&
BRAND
<
"UID"
>
)
[]
;
studentsCanSeeStatistics
?:
boolean
;
teachers
:
(
string
&
BRAND
<
"UID"
>
)
[]
;
title
:
string
;
uid
:
string
&
BRAND
<
"UID"
>
;
uniqueLink
:
string
;
updated
:
Timestamp
;
}
,
>
;
UpdateQuestion
:
{
group
:
string
;
question
:
Partial
<
{
answerOrderFixed
:
boolean
;
answers
:
{
correct
:
boolean
;
text
:
string
}
[]
;
approved
:
boolean
;
archived
?:
Timestamp
;
authorFingerprint
?:
string
;
authorId
:
string
&
BRAND
<
"UID"
>
;
authorName
?:
string
;
created
:
Timestamp
;
editMode
:
boolean
;
hint
?:
string
;
quiz
:
string
&
BRAND
<
"UID"
>
;
statistics
?:
|
{
answers
:
string
[]
;
archived
?:
Timestamp
;
created
:
Timestamp
;
groupName
:
string
;
maximumParticipants
:
number
;
participants
:
number
;
questionId
:
string
&
BRAND
<
"UID"
>
;
quizId
:
string
&
BRAND
<
"UID"
>
;
tag
:
"TextElementStatistics"
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
wrong
:
number
;
}
|
{
answers
:
number
[]
;
archived
?:
Timestamp
;
created
:
Timestamp
;
groupName
:
string
;
maximumParticipants
:
number
;
participants
:
number
;
passed
:
number
;
questionId
:
string
&
BRAND
<
"UID"
>
;
quizId
:
string
&
BRAND
<
"UID"
>
;
tag
:
"ChoiceElementStatistics"
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
wrong
:
number
;
}
;
text
:
string
;
type
:
"SINGLE"
|
"MULTIPLE"
|
"TEXT"
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
}
,
>
&
{
uid
:
string
&
BRAND
<
"UID"
>
}
;
}
;
UpvoteComment
:
string
&
BRAND
<
"UID"
>
;
}
,
SingleValueVariants
<
{
Activate
:
{
quizId
:
string
&
BRAND
<
"UID"
>
;
userId
:
string
&
BRAND
<
"UID"
>
;
}
;
ActivateGroupStats
:
string
;
ActivateQuestionStats
:
string
&
BRAND
<
"UID"
>
;
ActivateQuizStats
:
{}
;
AddComment
:
Omit
<
{
answered
:
boolean
;
archived
?:
Timestamp
;
authorId
:
string
&
BRAND
<
"UID"
>
;
authorName
:
string
;
created
:
Timestamp
;
relatedQuestion
?:
string
&
BRAND
<
"UID"
>
;
relatedQuiz
:
string
&
BRAND
<
"UID"
>
;
text
:
string
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
upvoters
:
(
string
&
BRAND
<
"UID"
>
)
[]
;
}
,
"uid"
|
"authorId"
,
>
;
AddQuestion
:
{
group
:
string
;
question
:
Omit
<
Question
,
"uid"
|
"authorName"
|
"authorId"
|
"created"
|
"updated"
,
>
;
}
;
ChangeState
:
"EDITING"
|
"STARTED"
|
"STOPPED"
|
"RESETSTATS"
;
CreateQuiz
:
string
&
BRAND
<
"UID"
>
;
DeleteComment
:
string
&
BRAND
<
"UID"
>
;
DeleteQuestion
:
string
&
BRAND
<
"UID"
>
;
Duplicate
:
{}
;
Export
:
{}
;
ExportDone
:
{}
;
ExportQuestionStats
:
{}
;
ExportQuizStats
:
{}
;
FinishComment
:
string
&
BRAND
<
"UID"
>
;
GetRun
:
{}
;
GetTeacherNames
:
{}
;
LeaveQuiz
:
{}
;
LogAnswer
:
{
answer
:
string
|
boolean
[]
;
questionId
:
string
&
BRAND
<
"UID"
>
;
}
;
Reset
:
{}
;
setIsCommentSectionVisible
:
boolean
;
setIsPresentationModeActive
:
boolean
;
SetQuiz
:
string
&
BRAND
<
"UID"
>
;
SetUser
:
{
active
:
boolean
;
archived
?:
Timestamp
;
created
:
Timestamp
;
email
?:
string
;
fingerprint
?:
string
;
initialQuiz
?:
string
;
isTemporary
:
boolean
;
lastLogin
:
Timestamp
;
nickname
?:
string
;
quizUsage
:
Map
<
string
&
BRAND
<
"UID"
>
,
{
name
?:
string
;
type
:
"NAME"
|
"NICKNAME"
|
"ANONYMOUS"
}
,
>
;
role
:
"STUDENT"
|
"TEACHER"
|
"ADMIN"
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
username
:
string
;
}
;
StartQuiz
:
{}
;
Update
:
Partial
<
{
allowedQuestionTypesSettings
:
Partial
<
Record
<
"SINGLE"
|
"MULTIPLE"
|
"TEXT"
,
boolean
>
,
>
;
archived
?:
Timestamp
;
comments
:
(
string
&
BRAND
<
"UID"
>
)
[]
;
created
:
Timestamp
;
createdBy
?:
string
&
BRAND
<
"UID"
>
;
description
:
string
;
groups
:
{
name
:
string
;
questions
:
(
string
&
BRAND
<
"UID"
>
)
[]
;
statistics
?:
{
answers
:
number
[]
;
correctAnswers
:
number
[]
;
groupName
:
string
;
maximumParticipants
:
number
;
questionIds
:
((...)
&
(...))
[]
;
quizId
:
string
&
BRAND
<
(...)
>
;
wrongAnswers
:
number
[]
;
}
;
}
[]
;
hideComments
:
boolean
;
lastExport
?:
Timestamp
;
previewers
?:
(
string
&
BRAND
<
"UID"
>
)
[]
;
runOptions
?:
{
runningEntity
?:
string
&
BRAND
<
"UID"
>
}
;
shuffleAnswers
:
boolean
;
shuffleQuestions
:
boolean
;
state
:
"EDITING"
|
"ACTIVE"
|
"STARTED"
|
"STOPPED"
;
statistics
?:
{
answers
:
number
[]
;
correctAnswers
:
number
[]
;
groupName
:
string
;
maximumParticipants
:
number
;
questionIds
:
(
string
&
BRAND
<
"UID"
>
)
[]
;
quizId
:
string
&
BRAND
<
"UID"
>
;
wrongAnswers
:
number
[]
;
}
;
studentComments
:
boolean
;
studentParticipationSettings
:
Partial
<
Record
<
"NAME"
|
"NICKNAME"
|
"ANONYMOUS"
,
boolean
>
,
>
;
studentQuestions
:
boolean
;
students
:
(
string
&
BRAND
<
"UID"
>
)
[]
;
studentsCanSeeStatistics
?:
boolean
;
teachers
:
(
string
&
BRAND
<
"UID"
>
)
[]
;
title
:
string
;
uid
:
string
&
BRAND
<
"UID"
>
;
uniqueLink
:
string
;
updated
:
Timestamp
;
}
,
>
;
UpdateQuestion
:
{
group
:
string
;
question
:
Partial
<
{
answerOrderFixed
:
boolean
;
answers
:
{
correct
:
boolean
;
text
:
string
}
[]
;
approved
:
boolean
;
archived
?:
Timestamp
;
authorFingerprint
?:
string
;
authorId
:
string
&
BRAND
<
"UID"
>
;
authorName
?:
string
;
created
:
Timestamp
;
editMode
:
boolean
;
hint
?:
string
;
quiz
:
string
&
BRAND
<
"UID"
>
;
statistics
?:
|
{
answers
:
string
[]
;
archived
?:
Timestamp
;
created
:
Timestamp
;
groupName
:
string
;
maximumParticipants
:
number
;
participants
:
number
;
questionId
:
string
&
BRAND
<
(...)
>
;
quizId
:
string
&
BRAND
<
(...)
>
;
tag
:
"TextElementStatistics"
;
uid
:
string
&
BRAND
<
(...)
>
;
updated
:
Timestamp
;
wrong
:
number
;
}
|
{
answers
:
number
[]
;
archived
?:
Timestamp
;
created
:
Timestamp
;
groupName
:
string
;
maximumParticipants
:
number
;
participants
:
number
;
passed
:
number
;
questionId
:
string
&
BRAND
<
(...)
>
;
quizId
:
string
&
BRAND
<
(...)
>
;
tag
:
"ChoiceElementStatistics"
;
uid
:
string
&
BRAND
<
(...)
>
;
updated
:
Timestamp
;
wrong
:
number
;
}
;
text
:
string
;
type
:
"SINGLE"
|
"MULTIPLE"
|
"TEXT"
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
}
,
>
&
{
uid
:
string
&
BRAND
<
"UID"
>
}
;
}
;
UpvoteComment
:
string
&
BRAND
<
"UID"
>
;
}
,
"tag"
,
"value"
,
>
,
"tag"
,
>
= ...
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Recapp Code Reference
Loading...