touchstudy-core 0.1.151 → 0.1.153

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.
@@ -6,7 +6,7 @@ export declare const formatDateTime: (inputDate: string) => string;
6
6
  export declare const ellipsisText: (text: string, maxLength: number) => string;
7
7
  export declare const getOrdinalSuffix: (number: number, lang: string) => string;
8
8
  export declare const formatDataMyAnswer: (inputData: ExamResult, categories: CategoryResponse[]) => FormatDataMyAnswer[];
9
- export declare const formatTextbookDataMyAnswer: (inputData: TextbookResult, categories: CategoryResponse[]) => FormatTextbookDataMyAnswer[];
9
+ export declare const formatTextbookDataMyAnswer: (inputData: TextbookResult, questionGroupIds: number[]) => FormatTextbookDataMyAnswer[];
10
10
  export declare const totalSolveTimeCategories: (inputData: ExamResult, categories: CategoryResponse[]) => {
11
11
  totalSolveTime: any;
12
12
  id: number;
@@ -5,6 +5,7 @@ export declare type FormatDataMyAnswer = {
5
5
  questions: Question[];
6
6
  };
7
7
  export declare type FormatTextbookDataMyAnswer = {
8
- category: Category;
8
+ categories: Category[];
9
9
  questions: StudentQuestionResult[];
10
+ questionGroupId: number;
10
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "touchstudy-core",
3
- "version": "0.1.151",
3
+ "version": "0.1.153",
4
4
  "description": "Contains core components && functions for TouchStudy project",
5
5
  "author": "brss",
6
6
  "license": "MIT",