@quesmed/types-rn 2.6.70 → 2.6.72

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.6.70",
3
+ "version": "2.6.72",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -12,6 +12,10 @@ exports.CONCEPT = (0, client_1.gql) `
12
12
  name
13
13
  status
14
14
  totalCards
15
+ entitlement {
16
+ id
17
+ name
18
+ }
15
19
  topic {
16
20
  id
17
21
  name
@@ -52,6 +56,10 @@ exports.CONCEPTS = (0, client_1.gql) `
52
56
  name
53
57
  status
54
58
  totalCards
59
+ entitlement {
60
+ id
61
+ name
62
+ }
55
63
  topic {
56
64
  id
57
65
  name
@@ -102,6 +102,11 @@ exports.DASHBOARD_QBANK = (0, client_1.gql) `
102
102
  topics(filter: 0) {
103
103
  id
104
104
  name
105
+ entitlement {
106
+ id
107
+ name
108
+ index
109
+ }
105
110
  totalQuestions
106
111
  correctQuestions
107
112
  incorrectQuestions
@@ -205,6 +210,11 @@ exports.DASHBOARD = (0, client_1.gql) `
205
210
  topics(filter: 0, order: $order) {
206
211
  id
207
212
  name
213
+ entitlement {
214
+ id
215
+ name
216
+ index
217
+ }
208
218
  totalQuestions
209
219
  correctQuestions
210
220
  incorrectQuestions
@@ -1,7 +1,9 @@
1
- import { IMarksheet, IOsceMarksheet, ITodo } from '../../models';
1
+ import { EProductType, IMarksheet, IOsceMarksheet, ITodo } from '../../models';
2
2
  import { RootData, graphqlNormalize } from '../types';
3
3
  export declare const SAMPLE_CONTENT: import("@apollo/client").DocumentNode;
4
- export type ISampleContentVar = null;
4
+ export type ISampleContentVar = {
5
+ productType: EProductType;
6
+ };
5
7
  interface ISampleContent {
6
8
  marksheets: IMarksheet[];
7
9
  todos: ITodo[];
@@ -4,8 +4,8 @@ exports.SAMPLE_OSCE_MARKSHEET = exports.SAMPLE_TODO = exports.SAMPLE_MARKSHEET =
4
4
  const client_1 = require("@apollo/client");
5
5
  const fragments_1 = require("../fragments");
6
6
  exports.SAMPLE_CONTENT = (0, client_1.gql) `
7
- query SampleContent {
8
- sampleContent {
7
+ query SampleContent($productType: Int!) {
8
+ sampleContent(productType: $productType) {
9
9
  marksheets {
10
10
  id
11
11
  source
@@ -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
  }