diff options
Diffstat (limited to 'src/lib/types')
-rw-r--r-- | src/lib/types/cards.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/types/cards.ts b/src/lib/types/cards.ts index 0592a34..cef02d2 100644 --- a/src/lib/types/cards.ts +++ b/src/lib/types/cards.ts @@ -154,18 +154,20 @@ export interface ReviewResult { export type CardResponse = { id: number; text: string; - note: string; + note: string | null; progress: SRSProgress; expression: { + id: number; ipa: Array<{ ipa: string; tags: string[] }>; spelling: string; type: ExpressionType; - syllables: number; + syllables: number | null; confidence: number; lang: string; frequency: number; prosody: any; senses: Sense[]; + isBookmarked: boolean; }; }; export type Sense = { |