@quesmed/types-rn 2.5.45 → 2.5.47

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.
@@ -144,6 +144,11 @@ export interface IQuestionType {
144
144
  id: Id;
145
145
  name: string;
146
146
  }
147
+ export interface IProductsQuestion {
148
+ id: Id;
149
+ productId: Id;
150
+ questionId: Id;
151
+ }
147
152
  export declare function isQuestionSBA(data: IQuestionAll): data is IQuestionSBA;
148
153
  export interface IQuestionSBA extends IQuestion {
149
154
  answer: [string];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.5.45",
3
+ "version": "2.5.47",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -609,6 +609,13 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
609
609
  tag
610
610
  color
611
611
  }
612
+ cases {
613
+ id
614
+ questionId
615
+ case
616
+ explanation
617
+ label
618
+ }
612
619
  choices {
613
620
  id
614
621
  explanation
@@ -1590,6 +1597,13 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
1590
1597
  tag
1591
1598
  color
1592
1599
  }
1600
+ cases {
1601
+ id
1602
+ questionId
1603
+ case
1604
+ explanation
1605
+ label
1606
+ }
1593
1607
  choices {
1594
1608
  id
1595
1609
  explanation
@@ -2576,6 +2590,13 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
2576
2590
  tag
2577
2591
  color
2578
2592
  }
2593
+ cases {
2594
+ id
2595
+ questionId
2596
+ case
2597
+ explanation
2598
+ label
2599
+ }
2579
2600
  choices {
2580
2601
  id
2581
2602
  explanation
@@ -611,6 +611,13 @@ exports.MARKSHEET = (0, client_1.gql) `
611
611
  tag
612
612
  color
613
613
  }
614
+ cases {
615
+ id
616
+ questionId
617
+ case
618
+ explanation
619
+ label
620
+ }
614
621
  choices {
615
622
  id
616
623
  explanation
@@ -1736,6 +1743,13 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
1736
1743
  tag
1737
1744
  color
1738
1745
  }
1746
+ cases {
1747
+ id
1748
+ questionId
1749
+ case
1750
+ explanation
1751
+ label
1752
+ }
1739
1753
  choices {
1740
1754
  id
1741
1755
  explanation
@@ -2710,6 +2724,13 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
2710
2724
  tag
2711
2725
  color
2712
2726
  }
2727
+ cases {
2728
+ id
2729
+ questionId
2730
+ case
2731
+ explanation
2732
+ label
2733
+ }
2713
2734
  choices {
2714
2735
  id
2715
2736
  explanation
@@ -545,6 +545,13 @@ exports.QUESTION = (0, client_1.gql) `
545
545
  tag
546
546
  color
547
547
  }
548
+ cases {
549
+ id
550
+ questionId
551
+ case
552
+ explanation
553
+ label
554
+ }
548
555
  choices {
549
556
  id
550
557
  explanation
@@ -3,25 +3,37 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FLASHCARDS_TOPICS = exports.QUESTION_TOPICS = exports.TOPICS = exports.TOPIC = exports.TOPIC_STATS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  exports.TOPIC_STATS = (0, client_1.gql) `
6
- query TopicStats($typeId: [Int!]) {
7
- restricted {
8
- topicStats(typeId: $typeId) {
9
- totalQuestions
10
- completedQuestions
11
- correctQuestions
12
- incorrectQuestions
13
- types {
14
- id
15
- name
6
+ query TopicStats($typeId: [Int!]) {
7
+ restricted {
8
+ topicStats(typeId: $typeId) {
16
9
  totalQuestions
17
10
  completedQuestions
18
11
  correctQuestions
19
12
  incorrectQuestions
13
+
14
+ redCards
15
+ totalCards
16
+ greenCards
17
+ yellowCards
18
+ dailyFeedCards
19
+
20
+ types {
21
+ id
22
+ name
23
+ totalQuestions
24
+ completedQuestions
25
+ correctQuestions
26
+ incorrectQuestions
27
+
28
+ redCards
29
+ totalCards
30
+ greenCards
31
+ yellowCards
32
+ dailyFeedCards
33
+ }
20
34
  }
21
35
  }
22
36
  }
23
- }
24
-
25
37
  `;
26
38
  exports.TOPIC = (0, client_1.gql) `
27
39
  query Topic($topicId: Int!) {