@quesmed/types-rn 2.2.48 → 2.2.49

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.2.48",
3
+ "version": "2.2.49",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -97,6 +97,15 @@ exports.ADD_TO_DAILY_STACK = (0, client_1.gql) `
97
97
  optimalFactor
98
98
  card {
99
99
  id
100
+ conceptId
101
+ concept {
102
+ id
103
+ name
104
+ }
105
+ topic {
106
+ id
107
+ name
108
+ }
100
109
  question
101
110
  explanation
102
111
  pictures {
@@ -2,7 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DASHBOARD_QBANK = void 0;
4
4
  const client_1 = require("@apollo/client");
5
+ const fragments_1 = require("../../fragments");
5
6
  exports.DASHBOARD_QBANK = (0, client_1.gql) `
7
+ ${fragments_1.PICTURE_FIELDS}
6
8
  query Dashboard($filter: MarksheetFilterInput!) {
7
9
  restricted {
8
10
  latestPastMarksheetId
@@ -15,8 +17,34 @@ exports.DASHBOARD_QBANK = (0, client_1.gql) `
15
17
  completedIncorrectQuestionsCount
16
18
  completedCards {
17
19
  id
20
+ createdAt
21
+ updatedAt
18
22
  concept {
19
23
  id
24
+ name
25
+ }
26
+ lastSeen
27
+ reviewDate
28
+ score
29
+ iteration
30
+ optimalFactor
31
+ cardId
32
+ card {
33
+ id
34
+ conceptId
35
+ concept {
36
+ id
37
+ name
38
+ }
39
+ topic {
40
+ id
41
+ name
42
+ }
43
+ question
44
+ explanation
45
+ pictures {
46
+ ...PictureFields
47
+ }
20
48
  }
21
49
  }
22
50
  completedCardsCount
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.USER_COMPLETED_DATA = exports.REFERRALS = exports.USER = void 0;
4
4
  const client_1 = require("@apollo/client");
5
+ const fragments_1 = require("../../fragments");
5
6
  const user_1 = require("../../fragments/user");
6
7
  exports.USER = (0, client_1.gql) `
7
8
  ${user_1.USER_FIELDS}
@@ -25,15 +26,40 @@ exports.REFERRALS = (0, client_1.gql) `
25
26
  }
26
27
  `;
27
28
  exports.USER_COMPLETED_DATA = (0, client_1.gql) `
29
+ ${fragments_1.PICTURE_FIELDS}
28
30
  query CompletedQuestionCards {
29
31
  restricted {
30
32
  user {
31
- id
32
- displayName
33
33
  completedCards {
34
34
  id
35
+ createdAt
36
+ updatedAt
35
37
  concept {
36
38
  id
39
+ name
40
+ }
41
+ lastSeen
42
+ reviewDate
43
+ score
44
+ iteration
45
+ optimalFactor
46
+ cardId
47
+ card {
48
+ id
49
+ conceptId
50
+ concept {
51
+ id
52
+ name
53
+ }
54
+ topic {
55
+ id
56
+ name
57
+ }
58
+ question
59
+ explanation
60
+ pictures {
61
+ ...PictureFields
62
+ }
37
63
  }
38
64
  }
39
65
  completedCardsCount
@@ -41,3 +67,16 @@ exports.USER_COMPLETED_DATA = (0, client_1.gql) `
41
67
  }
42
68
  }
43
69
  `;
70
+ // id: Int
71
+ // createdAt: Date
72
+ // updatedAt: Date
73
+ // deletedAt: Date
74
+ // cardId: Int
75
+ // card: Card
76
+ // userId: Int
77
+ // concept: Concept
78
+ // lastSeen: Date
79
+ // reviewDate: Date
80
+ // score: Float
81
+ // iteration: Int
82
+ // optimalFactor: Float