@quesmed/types-rn 2.6.23 → 2.6.25

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/models/Topic.d.ts CHANGED
@@ -36,7 +36,7 @@ export interface ITopic {
36
36
  deletedAt: number | Date;
37
37
  name: string;
38
38
  demo?: boolean;
39
- entitlement?: IConcept[];
39
+ entitlement: EProductType;
40
40
  typeId: ETopicType | null;
41
41
  productId: EProductType | null;
42
42
  type?: ITopicType | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.23",
3
+ "version": "2.6.25",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -7,8 +7,8 @@ exports.LOGOUT_USER = (0, client_1.gql) `
7
7
  mutation LogoutUser($all: Boolean!) {
8
8
  restricted {
9
9
  logoutUser(all: $all)
10
- }
11
10
  }
11
+ }
12
12
  `;
13
13
  exports.RESET_PROGRESS = (0, client_1.gql) `
14
14
  mutation ResetProgress($questions: Boolean, $cards: Boolean) {
@@ -12,6 +12,7 @@ exports.PRODUCTS = (0, client_1.gql) `
12
12
  name
13
13
  price
14
14
  stripePriceId
15
+ subscription
15
16
  duration
16
17
  public
17
18
  typeId
@@ -102,6 +102,7 @@ exports.DASHBOARD_QBANK = (0, client_1.gql) `
102
102
  topics(filter: 0) {
103
103
  id
104
104
  name
105
+ entitlement
105
106
  totalQuestions
106
107
  correctQuestions
107
108
  incorrectQuestions
@@ -10,6 +10,7 @@ exports.QBANK_KNOWLEDGE_VIDEO_LIBRARY = (0, client_1.gql) `
10
10
  id
11
11
  name
12
12
  typeId
13
+ entitlement
13
14
  demo
14
15
  unreadConcepts
15
16
  completedConcepts
@@ -70,6 +71,7 @@ exports.PUBLIC_QBANK_KNOWLEDGE_LIBRARY = (0, client_1.gql) `
70
71
  id
71
72
  name
72
73
  typeId
74
+ entitlement
73
75
  demo
74
76
  unreadConcepts
75
77
  completedConcepts
@@ -136,59 +138,59 @@ exports.OSCE_KNOWLEDGE_VIDEO_LIBRARY = (0, client_1.gql) `
136
138
  }
137
139
  `;
138
140
  exports.PACE_KNOWLEDGE_LIBRARY = (0, client_1.gql) `
139
- query PaceKnowledgeLibrary {
140
- restricted {
141
- paceBook {
142
- id
143
- name
144
- demo
145
- status
146
- typeId
147
- chapter {
141
+ query PaceKnowledgeLibrary {
142
+ restricted {
143
+ paceBook {
148
144
  id
145
+ name
146
+ demo
147
+ status
149
148
  typeId
150
- explanation
151
- pictures {
149
+ chapter {
152
150
  id
153
- createdAt
154
- updatedAt
155
- name
156
- caption
157
- path
158
- path512
159
- path256
160
- index
151
+ typeId
152
+ explanation
153
+ pictures {
154
+ id
155
+ createdAt
156
+ updatedAt
157
+ name
158
+ caption
159
+ path
160
+ path512
161
+ path256
162
+ index
163
+ }
161
164
  }
162
- }
163
- topicId
164
- videos {
165
- id
166
- demo
167
- status
168
- title
169
- museId
170
- thumbnail
171
- concepts {
165
+ topicId
166
+ videos {
172
167
  id
173
- name
168
+ demo
169
+ status
170
+ title
171
+ museId
172
+ thumbnail
173
+ concepts {
174
+ id
175
+ name
176
+ }
177
+ live
178
+ description
179
+ duration
174
180
  }
175
- live
176
- description
177
- duration
178
181
  }
179
182
  }
180
183
  }
181
- }
182
184
  `;
183
185
  exports.PACE_VIDEO_LIBRARY = (0, client_1.gql) `
184
- ${osce_1.OSCE_STATION_FIELDS}
185
- query PaceVideoLibrary($videosOnly: Boolean) {
186
- restricted {
187
- osceBook(videosOnly: $videosOnly) {
188
- ...OsceStationFields
189
- lastOsceMarksheetId
190
- score
186
+ ${osce_1.OSCE_STATION_FIELDS}
187
+ query PaceVideoLibrary($videosOnly: Boolean) {
188
+ restricted {
189
+ osceBook(videosOnly: $videosOnly) {
190
+ ...OsceStationFields
191
+ lastOsceMarksheetId
192
+ score
193
+ }
191
194
  }
192
195
  }
193
- }
194
196
  `;
@@ -36,6 +36,7 @@ exports.TOPICS = (0, client_1.gql) `
36
36
  yellowCards
37
37
  redCards
38
38
  typeId
39
+ entitlement
39
40
  concepts {
40
41
  id
41
42
  name
@@ -57,6 +58,7 @@ exports.QUESTION_TOPICS = (0, client_1.gql) `
57
58
  correctQuestions
58
59
  incorrectQuestions
59
60
  typeId
61
+ entitlement
60
62
  concepts {
61
63
  id
62
64
  name
@@ -80,6 +82,7 @@ exports.FLASHCARDS_TOPICS = (0, client_1.gql) `
80
82
  yellowCards
81
83
  redCards
82
84
  typeId
85
+ entitlement
83
86
  concepts {
84
87
  id
85
88
  name