| 12 | |
| 13 | /** These are metrics derived from the list of practice records. */ |
| 14 | export interface CardLearningDerivedMetrics { |
| 15 | // practiceRecords: PracticeRecord[]; |
| 16 | |
| 17 | /** |
| 18 | * This is the interval before the previous practice with this card, or undefined if this was |
| 19 | * the user's first time practicing this card. |
| 20 | */ |
| 21 | previousInterval?: number; |
| 22 | |
| 23 | /** This is the previous score achieved on this card */ |
| 24 | previousScore: number; |
| 25 | |
| 26 | /** The next scheduled time in minutes since epoch */ |
| 27 | nextPracticeTime: number; |
| 28 | } |
| 29 | |
| 30 | export type Direction = "front-to-back" | "back-to-front"; |
| 31 |
nothing calls this directly
no outgoing calls
no test coverage detected