2020-06-22 07:00:45 +02:00
|
|
|
// Copyright: Ankitects Pty Ltd and contributors
|
|
|
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
|
2021-01-04 14:04:51 +01:00
|
|
|
export enum CardType {
|
|
|
|
New = 0,
|
|
|
|
Learn = 1,
|
|
|
|
Review = 2,
|
|
|
|
Relearn = 3,
|
|
|
|
}
|
|
|
|
|
2020-06-22 07:00:45 +02:00
|
|
|
export enum CardQueue {
|
2023-05-26 04:49:44 +02:00
|
|
|
/** due is the order cards are shown in */
|
2020-06-22 07:00:45 +02:00
|
|
|
New = 0,
|
2023-05-26 04:49:44 +02:00
|
|
|
/** due is a unix timestamp */
|
2020-06-22 07:00:45 +02:00
|
|
|
Learn = 1,
|
2023-05-26 04:49:44 +02:00
|
|
|
/** due is days since creation date */
|
2020-06-22 07:00:45 +02:00
|
|
|
Review = 2,
|
|
|
|
DayLearn = 3,
|
2023-05-26 04:49:44 +02:00
|
|
|
/** due is a unix timestamp. */
|
|
|
|
/** preview cards only placed here when failed. */
|
2020-06-22 07:00:45 +02:00
|
|
|
PreviewRepeat = 4,
|
2023-05-26 04:49:44 +02:00
|
|
|
/** cards are not due in these states */
|
2020-06-22 07:00:45 +02:00
|
|
|
Suspended = -1,
|
2021-12-18 05:26:39 +01:00
|
|
|
SchedBuried = -2,
|
|
|
|
UserBuried = -3,
|
2020-06-22 07:00:45 +02:00
|
|
|
}
|