@quesmed/types 2.6.71 → 2.6.73

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.
@@ -25,78 +25,15 @@ exports.SAMPLE_CONTENT = (0, client_1.gql) `
25
25
  }
26
26
  `;
27
27
  exports.SAMPLE_MARKSHEET = (0, client_1.gql) `
28
+ ${fragments_1.MARKSHEET_FIELDS}
28
29
  query SampleMarksheet($marksheetId: Int!) {
29
30
  sampleMarksheet(marksheetId: $marksheetId) {
30
- id
31
- endedAt
32
- solo
33
- source
34
- marks {
35
- id
36
- index
37
- flagged
38
- striked
39
- questionChoiceId
40
- marksheetId
41
- isAnswered
42
- timeTaken
43
- question {
44
- id
45
- typeId
46
- conceptId
47
- concept {
48
- id
49
- name
50
- chapter {
51
- id
52
- explanation
53
- pictures {
54
- id
55
- createdAt
56
- updatedAt
57
- name
58
- caption
59
- path
60
- path512
61
- path256
62
- thumbhash
63
- index
64
- topicId
65
- topic {
66
- id
67
- name
68
- typeId
69
- }
70
- }
71
- }
72
- }
73
- question
74
- totalVotes
75
- choices {
76
- id
77
- name
78
- explanation
79
- label
80
- answer
81
- votes
82
- picture {
83
- id
84
- createdAt
85
- updatedAt
86
- name
87
- caption
88
- path
89
- path512
90
- path256
91
- thumbhash
92
- }
93
- }
94
- }
95
- }
31
+ ...MarksheetFields
96
32
  }
97
33
  }
98
34
  `;
99
35
  exports.SAMPLE_TODO = (0, client_1.gql) `
36
+ ${fragments_1.CHAPTER_FIELDS}
100
37
  query SampleTodo($todoId: Int!) {
101
38
  sampleTodo(todoId: $todoId) {
102
39
  id
@@ -108,33 +45,44 @@ exports.SAMPLE_TODO = (0, client_1.gql) `
108
45
  score
109
46
  timeTaken
110
47
  card {
111
- id
112
48
  question
113
49
  explanation
114
50
  concept {
51
+ id
115
52
  name
116
- chapter {
53
+ topic {
117
54
  id
118
- explanation
119
- pictures {
55
+ name
56
+ typeId
57
+ }
58
+ videos {
59
+ id
60
+ title
61
+ museId
62
+ thumbnail
63
+ concepts {
120
64
  id
121
- createdAt
122
- updatedAt
123
65
  name
124
- caption
125
- path
126
- path512
127
- path256
128
- thumbhash
129
- index
130
- topicId
131
- topic {
132
- id
133
- name
134
- typeId
135
- }
136
66
  }
67
+ live
68
+ description
69
+ duration
137
70
  }
71
+ chapter {
72
+ ...ChapterFields
73
+ }
74
+ }
75
+ pictures {
76
+ id
77
+ createdAt
78
+ updatedAt
79
+ name
80
+ index
81
+ caption
82
+ path
83
+ path512
84
+ path256
85
+ thumbhash
138
86
  }
139
87
  }
140
88
  }
@@ -1,5 +1,5 @@
1
1
  import { gql } from '@apollo/client';
2
- import { OSCE_MARKSHEET_FIELDS, OSCE_STATION_FIELDS } from '../fragments';
2
+ import { CHAPTER_FIELDS, MARKSHEET_FIELDS, OSCE_MARKSHEET_FIELDS, OSCE_STATION_FIELDS, } from '../fragments';
3
3
  export const SAMPLE_CONTENT = gql `
4
4
  query SampleContent {
5
5
  sampleContent {
@@ -22,78 +22,15 @@ export const SAMPLE_CONTENT = gql `
22
22
  }
23
23
  `;
24
24
  export const SAMPLE_MARKSHEET = gql `
25
+ ${MARKSHEET_FIELDS}
25
26
  query SampleMarksheet($marksheetId: Int!) {
26
27
  sampleMarksheet(marksheetId: $marksheetId) {
27
- id
28
- endedAt
29
- solo
30
- source
31
- marks {
32
- id
33
- index
34
- flagged
35
- striked
36
- questionChoiceId
37
- marksheetId
38
- isAnswered
39
- timeTaken
40
- question {
41
- id
42
- typeId
43
- conceptId
44
- concept {
45
- id
46
- name
47
- chapter {
48
- id
49
- explanation
50
- pictures {
51
- id
52
- createdAt
53
- updatedAt
54
- name
55
- caption
56
- path
57
- path512
58
- path256
59
- thumbhash
60
- index
61
- topicId
62
- topic {
63
- id
64
- name
65
- typeId
66
- }
67
- }
68
- }
69
- }
70
- question
71
- totalVotes
72
- choices {
73
- id
74
- name
75
- explanation
76
- label
77
- answer
78
- votes
79
- picture {
80
- id
81
- createdAt
82
- updatedAt
83
- name
84
- caption
85
- path
86
- path512
87
- path256
88
- thumbhash
89
- }
90
- }
91
- }
92
- }
28
+ ...MarksheetFields
93
29
  }
94
30
  }
95
31
  `;
96
32
  export const SAMPLE_TODO = gql `
33
+ ${CHAPTER_FIELDS}
97
34
  query SampleTodo($todoId: Int!) {
98
35
  sampleTodo(todoId: $todoId) {
99
36
  id
@@ -105,33 +42,44 @@ export const SAMPLE_TODO = gql `
105
42
  score
106
43
  timeTaken
107
44
  card {
108
- id
109
45
  question
110
46
  explanation
111
47
  concept {
48
+ id
112
49
  name
113
- chapter {
50
+ topic {
114
51
  id
115
- explanation
116
- pictures {
52
+ name
53
+ typeId
54
+ }
55
+ videos {
56
+ id
57
+ title
58
+ museId
59
+ thumbnail
60
+ concepts {
117
61
  id
118
- createdAt
119
- updatedAt
120
62
  name
121
- caption
122
- path
123
- path512
124
- path256
125
- thumbhash
126
- index
127
- topicId
128
- topic {
129
- id
130
- name
131
- typeId
132
- }
133
63
  }
64
+ live
65
+ description
66
+ duration
134
67
  }
68
+ chapter {
69
+ ...ChapterFields
70
+ }
71
+ }
72
+ pictures {
73
+ id
74
+ createdAt
75
+ updatedAt
76
+ name
77
+ index
78
+ caption
79
+ path
80
+ path512
81
+ path256
82
+ thumbhash
135
83
  }
136
84
  }
137
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.71",
3
+ "version": "2.6.73",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",