@vestcards/shared 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +19 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
export declare interface ArchivedLibraryItem {
|
|
2
|
+
deckId: string;
|
|
3
|
+
subject: string;
|
|
4
|
+
topic: string;
|
|
5
|
+
title: string;
|
|
6
|
+
ownerId?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
1
9
|
export declare type BillingType = 'PIX' | 'CREDIT_CARD' | 'BOLETO';
|
|
2
10
|
|
|
3
11
|
export declare type CardState = 'New' | 'Learning' | 'Review' | 'Relearning';
|
|
@@ -24,6 +32,17 @@ export declare interface GradeCardInput {
|
|
|
24
32
|
reviewDurationInSeconds: number;
|
|
25
33
|
}
|
|
26
34
|
|
|
35
|
+
export declare type GroupedLibraryData = GroupedLibraryItem[];
|
|
36
|
+
|
|
37
|
+
export declare interface GroupedLibraryItem {
|
|
38
|
+
name: string;
|
|
39
|
+
id: string;
|
|
40
|
+
ownerId?: string;
|
|
41
|
+
type: StudyType;
|
|
42
|
+
stats: SessionStats;
|
|
43
|
+
subRows?: GroupedLibraryItem[];
|
|
44
|
+
}
|
|
45
|
+
|
|
27
46
|
export declare interface ICard {
|
|
28
47
|
id: string;
|
|
29
48
|
question: string;
|