@bmostickit/common 1.0.22 → 1.0.24

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.
@@ -5,15 +5,21 @@ interface QuestionsAttrs {
5
5
  id: string;
6
6
  questionType: QuestionType;
7
7
  question: string;
8
+ questionTtsPublicId?: string;
8
9
  questionImagePublicId?: string;
9
10
  shortAnswer?: string;
11
+ shortAnswerTtsPublicId?: string;
10
12
  answerOne?: string;
13
+ answerOneTtsPublicId?: string;
11
14
  answerOneImagePublicId?: string;
12
15
  answerTwo?: string;
16
+ answerTwoTtsPublicId?: string;
13
17
  answerTwoImagePublicId?: string;
14
18
  answerThree?: string;
19
+ answerThreeTtsPublicId?: string;
15
20
  answerThreeImagePublicId?: string;
16
21
  answerFour?: string;
22
+ answerFourTtsPublicId?: string;
17
23
  answerFourImagePublicId?: string;
18
24
  correctAnswer?: number;
19
25
  }
@@ -1,32 +1,12 @@
1
1
  import { Subjects } from './subjects';
2
- import { QuestionType } from './types/quesetion-type';
3
- interface QuestionsAttrs {
4
- id: string;
5
- questionType: QuestionType;
6
- question: string;
7
- questionImagePublicId?: string;
8
- shortAnswer?: string;
9
- answerOne?: string;
10
- answerOneImagePublicId?: string;
11
- answerTwo?: string;
12
- answerTwoImagePublicId?: string;
13
- answerThree?: string;
14
- answerThreeImagePublicId?: string;
15
- answerFour?: string;
16
- answerFourImagePublicId?: string;
17
- correctAnswer?: number;
18
- }
19
2
  export interface QuizUpdatedEvent {
20
3
  subject: Subjects.QuizUpdated;
21
4
  data: {
22
5
  userId: string;
23
6
  quizId: string;
24
- quizSnapshot: {
25
- title: string;
26
- minPoints: number;
27
- maxPoints: number;
28
- questions: QuestionsAttrs[];
29
- };
7
+ addedTtsPublicIds?: string[];
8
+ removedTtsPublicIds?: string[];
9
+ addedImagePublicIds?: string[];
10
+ removedImagePublicIds?: string[];
30
11
  };
31
12
  }
32
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bmostickit/common",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",