@quesmed/types-rn 2.6.102 → 2.6.104

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.
@@ -11,6 +11,9 @@ export interface IPicture {
11
11
  path: string;
12
12
  path512: string;
13
13
  path256: string;
14
+ overlayPath: string;
15
+ overlayPath256: string;
16
+ overlayPath512: string;
14
17
  thumbhash: string;
15
18
  topicId: Id;
16
19
  topic: ITopic;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.102",
3
+ "version": "2.6.104",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -2,7 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BLOG_POST_FIELDS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
+ const picture_1 = require("./picture");
5
6
  exports.BLOG_POST_FIELDS = (0, client_1.gql) `
7
+ ${picture_1.PICTURE_FIELDS}
6
8
  fragment BlogPostFields on BlogPost {
7
9
  id
8
10
  createdAt
@@ -15,13 +17,7 @@ exports.BLOG_POST_FIELDS = (0, client_1.gql) `
15
17
  description
16
18
  }
17
19
  picture {
18
- id
19
- name
20
- path
21
- path512
22
- path256
23
- thumbhash
24
- caption
20
+ ...PictureFields
25
21
  }
26
22
  body
27
23
  tags {
@@ -11,7 +11,9 @@ exports.PICTURE_FIELDS = (0, client_1.gql) `
11
11
  caption
12
12
  path
13
13
  path512
14
- path256
14
+ overlayPath
15
+ overlayPath256
16
+ overlayPath512
15
17
  thumbhash
16
18
  index
17
19
  topicId
@@ -2,7 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UPDATE_USER_SETTINGS_FRAGMENT = exports.USER_FIELDS = exports.USER_SETTINGS_FIELDS = exports.COMPLETED_CARDS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
+ const picture_1 = require("./picture");
5
6
  exports.COMPLETED_CARDS = (0, client_1.gql) `
7
+ ${picture_1.PICTURE_FIELDS}
6
8
  fragment UserCompletedCards on User {
7
9
  completedCards {
8
10
  id
@@ -32,22 +34,7 @@ exports.COMPLETED_CARDS = (0, client_1.gql) `
32
34
  question
33
35
  explanation
34
36
  pictures {
35
- id
36
- createdAt
37
- updatedAt
38
- name
39
- caption
40
- index
41
- path
42
- path512
43
- path256
44
- thumbhash
45
- topicId
46
- topic {
47
- id
48
- name
49
- typeId
50
- }
37
+ ...PictureFields
51
38
  }
52
39
  }
53
40
  }
@@ -58,7 +58,7 @@ export declare const PUBLIC_BATCH: import("@apollo/client").DocumentNode;
58
58
  export interface IUploadImagesVar {
59
59
  file: FileData;
60
60
  }
61
- export type IUploadImagesdata = AdminData<IResultData, 'uploadImages'>;
61
+ export type IUploadImagesdata = AdminData<Omit<IResultData, 'batchId' | 'recordIds'>, 'uploadImages'>;
62
62
  export declare const UPLOAD_IMAGES: import("@apollo/client").DocumentNode;
63
63
  export interface IDownloadImagesVar {
64
64
  ids: number[];
@@ -28,6 +28,7 @@ exports.PRE_BUILD_TODO = (0, client_1.gql) `
28
28
  `;
29
29
  exports.TODO = (0, client_1.gql) `
30
30
  ${fragments_1.CHAPTER_FIELDS}
31
+ ${fragments_1.PICTURE_FIELDS}
31
32
  query Todo($id: Int!) {
32
33
  restricted {
33
34
  todo(id: $id) {
@@ -68,16 +69,7 @@ exports.TODO = (0, client_1.gql) `
68
69
  }
69
70
  }
70
71
  pictures {
71
- id
72
- createdAt
73
- updatedAt
74
- name
75
- index
76
- caption
77
- path
78
- path512
79
- path256
80
- thumbhash
72
+ ...PictureFields
81
73
  }
82
74
  }
83
75
  }
@@ -43,6 +43,7 @@ exports.SAMPLE_MARKSHEET = (0, client_1.gql) `
43
43
  `;
44
44
  exports.SAMPLE_TODO = (0, client_1.gql) `
45
45
  ${fragments_1.CHAPTER_FIELDS}
46
+ ${fragments_1.PICTURE_FIELDS}
46
47
  query SampleTodo($todoId: Int!) {
47
48
  sampleTodo(todoId: $todoId) {
48
49
  id
@@ -82,16 +83,7 @@ exports.SAMPLE_TODO = (0, client_1.gql) `
82
83
  }
83
84
  }
84
85
  pictures {
85
- id
86
- createdAt
87
- updatedAt
88
- name
89
- index
90
- caption
91
- path
92
- path512
93
- path256
94
- thumbhash
86
+ ...PictureFields
95
87
  }
96
88
  }
97
89
  }
@@ -2,7 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ZOOM_SIGNATURE = exports.SAMPLE_VIDEO = exports.SAMPLE_VIDEOS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
+ const fragments_1 = require("../fragments");
5
6
  exports.SAMPLE_VIDEOS = (0, client_1.gql) `
7
+ ${fragments_1.PICTURE_FIELDS}
6
8
  query SampleVideos(
7
9
  $platform: Int!
8
10
  $filter: Int!
@@ -40,22 +42,7 @@ exports.SAMPLE_VIDEOS = (0, client_1.gql) `
40
42
  id
41
43
  explanation
42
44
  pictures {
43
- id
44
- createdAt
45
- updatedAt
46
- name
47
- caption
48
- path
49
- path512
50
- path256
51
- thumbhash
52
- index
53
- topicId
54
- topic {
55
- id
56
- name
57
- typeId
58
- }
45
+ ...PictureFields
59
46
  }
60
47
  }
61
48
  }
@@ -63,6 +50,7 @@ exports.SAMPLE_VIDEOS = (0, client_1.gql) `
63
50
  }
64
51
  `;
65
52
  exports.SAMPLE_VIDEO = (0, client_1.gql) `
53
+ ${fragments_1.PICTURE_FIELDS}
66
54
  query SampleVideo($id: Int!) {
67
55
  video(id: $id) {
68
56
  id
@@ -79,22 +67,7 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
79
67
  id
80
68
  explanation
81
69
  pictures {
82
- id
83
- createdAt
84
- updatedAt
85
- name
86
- caption
87
- path
88
- path512
89
- path256
90
- thumbhash
91
- index
92
- topicId
93
- topic {
94
- id
95
- name
96
- typeId
97
- }
70
+ ...PictureFields
98
71
  }
99
72
  }
100
73
  }
@@ -117,72 +90,16 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
117
90
  name
118
91
  }
119
92
  candidatePictures {
120
- id
121
- createdAt
122
- updatedAt
123
- name
124
- caption
125
- path
126
- path512
127
- path256
128
- thumbhash
129
- topicId
130
- topic {
131
- id
132
- name
133
- typeId
134
- }
93
+ ...PictureFields
135
94
  }
136
95
  actorPictures {
137
- id
138
- createdAt
139
- updatedAt
140
- name
141
- caption
142
- path
143
- path512
144
- path256
145
- thumbhash
146
- topicId
147
- topic {
148
- id
149
- name
150
- typeId
151
- }
96
+ ...PictureFields
152
97
  }
153
98
  examinerPictures {
154
- id
155
- createdAt
156
- updatedAt
157
- name
158
- caption
159
- path
160
- path512
161
- path256
162
- thumbhash
163
- topicId
164
- topic {
165
- id
166
- name
167
- typeId
168
- }
99
+ ...PictureFields
169
100
  }
170
101
  walkthroughPictures {
171
- id
172
- createdAt
173
- updatedAt
174
- name
175
- caption
176
- path
177
- path512
178
- path256
179
- thumbhash
180
- topicId
181
- topic {
182
- id
183
- name
184
- typeId
185
- }
102
+ ...PictureFields
186
103
  }
187
104
  lastOsceMarksheetId
188
105
  }