Class: Card
Hierarchy
NamespaceBase
↳
Card
Properties
_id
• Readonly
_id: string
createdAt
• Readonly
createdAt: number
lastRepetitionTime
• Optional
Readonly
lastRepetitionTime: number
nextRepetitionTime
• Optional
Readonly
nextRepetitionTime: number
remId
• Readonly
remId: string
repetitionHistory
• Optional
Readonly
repetitionHistory: RepetitionStatus
[]
timesWrongInRow
• Optional
Readonly
timesWrongInRow: number
type
• Readonly
type: CardType
Methods
getRem
▸ getRem(): Promise
<undefined
| Rem
>
Returns
Promise
<undefined
| Rem
>
getType
▸ getType(): Promise
<CardType
>
Returns
Promise
<CardType
>
remove
▸ remove(): Promise
<void
>
Returns
Promise
<void
>
updateCardRepetitionStatus
▸ updateCardRepetitionStatus(score
): Promise
<void
>
Parameters
Name | Type |
---|---|
score | QueueInteractionScore |
Returns
Promise
<void
>