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