@quesmed/types-rn 2.1.6 → 2.1.9

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.1.6",
3
+ "version": "2.1.9",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -49,14 +49,6 @@ exports.SAVE_MARKSHEET = (0, client_1.gql) `
49
49
  createdAt
50
50
  startedAt
51
51
  endedAt
52
- topicIds
53
- topicNames
54
- source
55
- userId
56
- user {
57
- displayName
58
- id
59
- }
60
52
  marks {
61
53
  id
62
54
  marksheetId
@@ -65,11 +57,8 @@ exports.SAVE_MARKSHEET = (0, client_1.gql) `
65
57
  flagged
66
58
  mark
67
59
  }
68
- mockTestId
69
60
  correct
70
61
  incorrect
71
- totalQuestions
72
- isTestMarksheet
73
62
  }
74
63
  }
75
64
  }
@@ -8,34 +8,9 @@ exports.QUESTION_LIKE = (0, client_1.gql) `
8
8
  questionLike(questionId: $questionId, like: $like) {
9
9
  id
10
10
  likes
11
+ typeId
11
12
  dislikes
12
13
  isLikedByMe
13
- comments {
14
- id
15
- createdAt
16
- comment
17
- likes
18
- user {
19
- id
20
- displayName
21
- }
22
- dislikes
23
- isLikedByMe
24
- questionId
25
- replies {
26
- id
27
- createdAt
28
- comment
29
- user {
30
- id
31
- displayName
32
- }
33
- likes
34
- dislikes
35
- isLikedByMe
36
- questionId
37
- }
38
- }
39
14
  }
40
15
  }
41
16
  }
@@ -55,11 +30,12 @@ exports.QUESTION_COMMENTS = (0, client_1.gql) `
55
30
  id
56
31
  createdAt
57
32
  comment
58
- likes
33
+ parentId
59
34
  user {
60
35
  id
61
36
  displayName
62
37
  }
38
+ likes
63
39
  dislikes
64
40
  isLikedByMe
65
41
  questionId
@@ -67,6 +43,7 @@ exports.QUESTION_COMMENTS = (0, client_1.gql) `
67
43
  id
68
44
  createdAt
69
45
  comment
46
+ parentId
70
47
  user {
71
48
  id
72
49
  displayName
@@ -87,11 +64,12 @@ exports.QUESTION_COMMENT_LIKE = (0, client_1.gql) `
87
64
  id
88
65
  createdAt
89
66
  comment
90
- likes
67
+ parentId
91
68
  user {
92
69
  id
93
70
  displayName
94
71
  }
72
+ likes
95
73
  dislikes
96
74
  isLikedByMe
97
75
  questionId
@@ -99,6 +77,7 @@ exports.QUESTION_COMMENT_LIKE = (0, client_1.gql) `
99
77
  id
100
78
  createdAt
101
79
  comment
80
+ parentId
102
81
  user {
103
82
  id
104
83
  displayName
@@ -119,11 +98,12 @@ exports.QUESTION_COMMENT_REMOVE = (0, client_1.gql) `
119
98
  id
120
99
  createdAt
121
100
  comment
122
- likes
101
+ parentId
123
102
  user {
124
103
  id
125
104
  displayName
126
105
  }
106
+ likes
127
107
  dislikes
128
108
  isLikedByMe
129
109
  questionId
@@ -131,6 +111,7 @@ exports.QUESTION_COMMENT_REMOVE = (0, client_1.gql) `
131
111
  id
132
112
  createdAt
133
113
  comment
114
+ parentId
134
115
  user {
135
116
  id
136
117
  displayName
@@ -8,14 +8,18 @@ exports.MARKSHEET = (0, client_1.gql) `
8
8
  marksheet(id: $id) {
9
9
  id
10
10
  createdAt
11
+ startedAt
11
12
  endedAt
12
13
  isTestMarksheet
13
14
  source
15
+ correct
16
+ incorrect
14
17
  marks {
15
18
  id
16
19
  flagged
17
20
  index
18
21
  questionChoiceId
22
+ marksheetId
19
23
  timeTaken
20
24
  mark
21
25
  question {
@@ -1,8 +1,11 @@
1
+ import { Id } from '../../../models';
1
2
  import { graphqlNormalize, RestrictedData } from '../../types';
2
3
  export interface IUniversityLeaderboardVar {
3
4
  limit: number;
4
5
  }
5
6
  export interface IUniversitiesRankSpeciality {
7
+ id: Id;
8
+ updatedAt: number | Date;
6
9
  name: string;
7
10
  speciality: string;
8
11
  rank: number;