@quesmed/types 2.2.48 → 2.2.51

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.
@@ -1,5 +1,7 @@
1
1
  import { gql } from '@apollo/client';
2
+ import { PICTURE_FIELDS } from '../../fragments';
2
3
  export const DASHBOARD_QBANK = gql `
4
+ ${PICTURE_FIELDS}
3
5
  query Dashboard($filter: MarksheetFilterInput!) {
4
6
  restricted {
5
7
  latestPastMarksheetId
@@ -12,8 +14,34 @@ export const DASHBOARD_QBANK = gql `
12
14
  completedIncorrectQuestionsCount
13
15
  completedCards {
14
16
  id
17
+ createdAt
18
+ updatedAt
15
19
  concept {
16
20
  id
21
+ name
22
+ }
23
+ lastSeen
24
+ reviewDate
25
+ score
26
+ iteration
27
+ optimalFactor
28
+ cardId
29
+ card {
30
+ id
31
+ conceptId
32
+ concept {
33
+ id
34
+ name
35
+ }
36
+ topic {
37
+ id
38
+ name
39
+ }
40
+ question
41
+ explanation
42
+ pictures {
43
+ ...PictureFields
44
+ }
17
45
  }
18
46
  }
19
47
  completedCardsCount
@@ -1,4 +1,5 @@
1
1
  import { gql } from '@apollo/client';
2
+ import { PICTURE_FIELDS } from '../../fragments';
2
3
  import { USER_FIELDS } from '../../fragments/user';
3
4
  export const USER = gql `
4
5
  ${USER_FIELDS}
@@ -22,15 +23,40 @@ export const REFERRALS = gql `
22
23
  }
23
24
  `;
24
25
  export const USER_COMPLETED_DATA = gql `
26
+ ${PICTURE_FIELDS}
25
27
  query CompletedQuestionCards {
26
28
  restricted {
27
29
  user {
28
- id
29
- displayName
30
30
  completedCards {
31
31
  id
32
+ createdAt
33
+ updatedAt
32
34
  concept {
33
35
  id
36
+ name
37
+ }
38
+ lastSeen
39
+ reviewDate
40
+ score
41
+ iteration
42
+ optimalFactor
43
+ cardId
44
+ card {
45
+ id
46
+ conceptId
47
+ concept {
48
+ id
49
+ name
50
+ }
51
+ topic {
52
+ id
53
+ name
54
+ }
55
+ question
56
+ explanation
57
+ pictures {
58
+ ...PictureFields
59
+ }
34
60
  }
35
61
  }
36
62
  completedCardsCount
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.2.48",
3
+ "version": "2.2.51",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",