Interface: SpecialPluginCallbackInfo
Methods
GetNextCard
▸ GetNextCard(args
): Promise
<null
| PluginQueueCardData
>
Parameters
Name | Type |
---|---|
args | Object |
args.cardsPracticed | number |
args.mode | "normal" | "practice-all" | "in-order" |
args.numCardsRemaining | number |
args.subQueueId | undefined | string |
Returns
Promise
<null
| PluginQueueCardData
>
SRSScheduleCard
▸ SRSScheduleCard(args
): Promise
<{ nextDate
: number
; pluginData?
: Record
<string
, any
> }>
Parameters
Name | Type |
---|---|
args | Object |
args.cardId | undefined | string |
args.history | RepetitionStatus [] |
args.remId | undefined | string |
args.schedulerParameters | Record <string , unknown > |
Returns
Promise
<{ nextDate
: number
; pluginData?
: Record
<string
, any
> }>