diff options
author | polwex <polwex@sortug.com> | 2025-05-21 17:13:11 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-05-21 17:13:11 +0700 |
commit | 7abf2227438362ad30820ee236405ec1b57a40b6 (patch) | |
tree | 41c2eb60befef7d665c8cd6feebb91cdf4536934 /src/lib/types | |
parent | 9192e6c7747fd2d3f6a6c5c07d886a0982b53f11 (diff) |
m
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 = { |