@quesmed/types-rn 2.6.50 → 2.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.50",
3
+ "version": "2.6.51",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -12,6 +12,13 @@ exports.CHAPTER_FIELDS = (0, client_1.gql) `
12
12
  pictures {
13
13
  ...PictureFields
14
14
  }
15
+ userNote {
16
+ id
17
+ userId
18
+ chapterId
19
+ note
20
+ updatedAt
21
+ }
15
22
  files {
16
23
  id
17
24
  title
@@ -2,7 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CONCEPTS = exports.CONCEPT = void 0;
4
4
  const client_1 = require("@apollo/client");
5
+ const fragments_1 = require("../../fragments");
5
6
  exports.CONCEPT = (0, client_1.gql) `
7
+ ${fragments_1.CHAPTER_FIELDS}
6
8
  query Concept($id: Int!) {
7
9
  restricted {
8
10
  concept(id: $id) {
@@ -16,20 +18,7 @@ exports.CONCEPT = (0, client_1.gql) `
16
18
  typeId
17
19
  }
18
20
  chapter {
19
- id
20
- explanation
21
- pictures {
22
- id
23
- createdAt
24
- updatedAt
25
- name
26
- caption
27
- path
28
- path512
29
- path256
30
- index
31
- topicId
32
- }
21
+ ...ChapterFields
33
22
  }
34
23
  videos {
35
24
  id
@@ -65,20 +54,7 @@ exports.CONCEPTS = (0, client_1.gql) `
65
54
  typeId
66
55
  }
67
56
  chapter {
68
- id
69
- explanation
70
- pictures {
71
- id
72
- createdAt
73
- updatedAt
74
- name
75
- caption
76
- path
77
- path512
78
- path256
79
- index
80
- topicId
81
- }
57
+ ...ChapterFields
82
58
  }
83
59
  videos {
84
60
  id
@@ -2,8 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PACE_VIDEO_LIBRARY = exports.PACE_KNOWLEDGE_LIBRARY = exports.OSCE_KNOWLEDGE_VIDEO_LIBRARY = exports.PUBLIC_QBANK_KNOWLEDGE_LIBRARY = exports.QBANK_KNOWLEDGE_VIDEO_LIBRARY = void 0;
4
4
  const client_1 = require("@apollo/client");
5
+ const fragments_1 = require("../../fragments");
5
6
  const osce_1 = require("./../../fragments/osce");
6
7
  exports.QBANK_KNOWLEDGE_VIDEO_LIBRARY = (0, client_1.gql) `
8
+ ${fragments_1.CHAPTER_FIELDS}
7
9
  query QBankKnowledgeVideoLibrary($typeId: [Int], $videosOnly: Boolean) {
8
10
  restricted {
9
11
  quesBook(typeId: $typeId, videosOnly: $videosOnly) {
@@ -32,21 +34,7 @@ exports.QBANK_KNOWLEDGE_VIDEO_LIBRARY = (0, client_1.gql) `
32
34
  totalCards
33
35
  totalQuestions
34
36
  chapter {
35
- id
36
- typeId
37
- explanation
38
- pictures {
39
- id
40
- createdAt
41
- updatedAt
42
- name
43
- caption
44
- path
45
- path512
46
- path256
47
- thumbhash
48
- index
49
- }
37
+ ...ChapterFields
50
38
  }
51
39
  topicId
52
40
  videos {
@@ -70,6 +58,7 @@ exports.QBANK_KNOWLEDGE_VIDEO_LIBRARY = (0, client_1.gql) `
70
58
  }
71
59
  `;
72
60
  exports.PUBLIC_QBANK_KNOWLEDGE_LIBRARY = (0, client_1.gql) `
61
+ ${fragments_1.CHAPTER_FIELDS}
73
62
  query PublicQuesBook($typeId: [Int], $videosOnly: Boolean) {
74
63
  quesBook(typeId: $typeId, videosOnly: $videosOnly) {
75
64
  id
@@ -97,21 +86,7 @@ exports.PUBLIC_QBANK_KNOWLEDGE_LIBRARY = (0, client_1.gql) `
97
86
  totalCards
98
87
  totalQuestions
99
88
  chapter {
100
- id
101
- typeId
102
- explanation
103
- pictures {
104
- id
105
- createdAt
106
- updatedAt
107
- name
108
- caption
109
- path
110
- path512
111
- path256
112
- thumbhash
113
- index
114
- }
89
+ ...ChapterFields
115
90
  }
116
91
  topicId
117
92
  videos {
@@ -146,6 +121,7 @@ exports.OSCE_KNOWLEDGE_VIDEO_LIBRARY = (0, client_1.gql) `
146
121
  }
147
122
  `;
148
123
  exports.PACE_KNOWLEDGE_LIBRARY = (0, client_1.gql) `
124
+ ${fragments_1.CHAPTER_FIELDS}
149
125
  query PaceKnowledgeLibrary {
150
126
  restricted {
151
127
  paceBook {
@@ -160,20 +136,7 @@ exports.PACE_KNOWLEDGE_LIBRARY = (0, client_1.gql) `
160
136
  index
161
137
  }
162
138
  chapter {
163
- id
164
- typeId
165
- explanation
166
- pictures {
167
- id
168
- createdAt
169
- updatedAt
170
- name
171
- caption
172
- path
173
- path512
174
- path256
175
- index
176
- }
139
+ ...ChapterFields
177
140
  }
178
141
  topicId
179
142
  videos {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TODO = exports.PRE_BUILD_TODO = void 0;
4
4
  const client_1 = require("@apollo/client");
5
+ const fragments_1 = require("../../fragments");
5
6
  exports.PRE_BUILD_TODO = (0, client_1.gql) `
6
7
  query PreBuildTodo(
7
8
  $topicIds: [Int!]
@@ -24,6 +25,7 @@ exports.PRE_BUILD_TODO = (0, client_1.gql) `
24
25
  }
25
26
  `;
26
27
  exports.TODO = (0, client_1.gql) `
28
+ ${fragments_1.CHAPTER_FIELDS}
27
29
  query Todo($id: Int!) {
28
30
  restricted {
29
31
  todo(id: $id) {
@@ -60,20 +62,7 @@ exports.TODO = (0, client_1.gql) `
60
62
  duration
61
63
  }
62
64
  chapter {
63
- id
64
- explanation
65
- pictures {
66
- id
67
- createdAt
68
- updatedAt
69
- name
70
- caption
71
- path
72
- path512
73
- path256
74
- thumbhash
75
- index
76
- }
65
+ ...ChapterFields
77
66
  }
78
67
  }
79
68
  pictures {
@@ -5,6 +5,7 @@ const client_1 = require("@apollo/client");
5
5
  const fragments_1 = require("../../fragments");
6
6
  exports.VIDEO = (0, client_1.gql) `
7
7
  ${fragments_1.PICTURE_FIELDS}
8
+ ${fragments_1.CHAPTER_FIELDS}
8
9
  query Video($id: Int!) {
9
10
  restricted {
10
11
  video(id: $id) {
@@ -25,21 +26,7 @@ exports.VIDEO = (0, client_1.gql) `
25
26
  typeId
26
27
  }
27
28
  chapter {
28
- id
29
- explanation
30
- pictures {
31
- id
32
- createdAt
33
- updatedAt
34
- name
35
- caption
36
- path
37
- path512
38
- path256
39
- thumbhash
40
- index
41
- topicId
42
- }
29
+ ...ChapterFields
43
30
  }
44
31
  }
45
32
  osceStation {