@quesmed/types 2.5.83 → 2.5.85

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.
@@ -14,6 +14,7 @@ export interface IConcept {
14
14
  chapterId: Id;
15
15
  chapter?: IChapter;
16
16
  videos?: IVideo[];
17
+ demo?: boolean;
17
18
  totalQuestions?: number | null;
18
19
  correctQuestions?: number | null;
19
20
  incorrectQuestions?: number | null;
@@ -52,6 +52,7 @@ export interface IOsceStation {
52
52
  lastOsceMarksheetId?: Id;
53
53
  score?: number;
54
54
  status?: EUserLearningStatus;
55
+ demo?: boolean;
55
56
  }
56
57
  export interface IOsceStationTopic {
57
58
  id: Id;
@@ -9,9 +9,15 @@ export interface IPreset {
9
9
  name: string;
10
10
  topicType: ETopicType;
11
11
  likes: number;
12
- total: number;
13
- correct: number;
14
- incorrect: number;
12
+ correctQuestions: number;
13
+ incorrectQuestions: number;
14
+ completedQuestions: number;
15
+ totalQuestions: number;
16
+ yellowCards: number;
17
+ greenCards: number;
18
+ redCards: number;
19
+ completedCards: number;
20
+ totalCards: number;
15
21
  university: IUniversity;
16
22
  topics: ITopic[];
17
23
  }
@@ -47,6 +47,7 @@ export interface ITopic {
47
47
  updatedAt: number | Date;
48
48
  deletedAt: number | Date;
49
49
  name: string;
50
+ demo?: boolean;
50
51
  concepts?: IConcept[];
51
52
  typeId: ETopicType | null;
52
53
  type?: ITopicType | null;
@@ -62,6 +62,7 @@ exports.OSCE_STATION_FIELDS = (0, client_1.gql) `
62
62
  description
63
63
  duration
64
64
  }
65
+ demo
65
66
 
66
67
  # user-specific keys
67
68
  # lastOsceMarksheetId
@@ -54,9 +54,15 @@ exports.DUPLICATE_PRESET = (0, client_1.gql) `
54
54
  name
55
55
  likes
56
56
  topicType
57
- total
58
- correct
59
- incorrect
57
+ correctQuestions
58
+ incorrectQuestions
59
+ completedQuestions
60
+ totalQuestions
61
+ yellowCards
62
+ greenCards
63
+ redCards
64
+ completedCards
65
+ totalCards
60
66
  userId
61
67
  university {
62
68
  id
@@ -109,9 +115,15 @@ exports.EDIT_PRESET = (0, client_1.gql) `
109
115
  name
110
116
  likes
111
117
  topicType
112
- total
113
- correct
114
- incorrect
118
+ correctQuestions
119
+ incorrectQuestions
120
+ completedQuestions
121
+ totalQuestions
122
+ yellowCards
123
+ greenCards
124
+ redCards
125
+ completedCards
126
+ totalCards
115
127
  userId
116
128
  university {
117
129
  id
@@ -140,9 +152,15 @@ exports.CREATE_PRESET = (0, client_1.gql) `
140
152
  name
141
153
  likes
142
154
  topicType
143
- total
144
- correct
145
- incorrect
155
+ correctQuestions
156
+ incorrectQuestions
157
+ completedQuestions
158
+ totalQuestions
159
+ yellowCards
160
+ greenCards
161
+ redCards
162
+ completedCards
163
+ totalCards
146
164
  userId
147
165
  university {
148
166
  id
@@ -1,6 +1,6 @@
1
1
  import { ETopicType, IPreset, Id } from '../../../models';
2
- import { RestrictedData } from '../../types';
3
2
  import { ESortOrder } from '../../enums';
3
+ import { RestrictedData } from '../../types';
4
4
  export interface IPresetsVar {
5
5
  userId?: Id;
6
6
  topicType?: ETopicType;
@@ -26,9 +26,15 @@ exports.PRESETS = (0, client_1.gql) `
26
26
  name
27
27
  likes
28
28
  topicType
29
- total
30
- correct
31
- incorrect
29
+ correctQuestions
30
+ incorrectQuestions
31
+ completedQuestions
32
+ totalQuestions
33
+ yellowCards
34
+ greenCards
35
+ redCards
36
+ completedCards
37
+ totalCards
32
38
  userId
33
39
  university {
34
40
  id
@@ -57,9 +63,15 @@ exports.PRESET = (0, client_1.gql) `
57
63
  name
58
64
  likes
59
65
  topicType
60
- total
61
- correct
62
- incorrect
66
+ correctQuestions
67
+ incorrectQuestions
68
+ completedQuestions
69
+ totalQuestions
70
+ yellowCards
71
+ greenCards
72
+ redCards
73
+ completedCards
74
+ totalCards
63
75
  userId
64
76
  university {
65
77
  id
@@ -10,6 +10,7 @@ exports.QUES_BOOK = (0, client_1.gql) `
10
10
  id
11
11
  name
12
12
  typeId
13
+ demo
13
14
  unreadConcepts
14
15
  completedConcepts
15
16
  revisingConcepts
@@ -21,6 +22,7 @@ exports.QUES_BOOK = (0, client_1.gql) `
21
22
  concepts {
22
23
  id
23
24
  name
25
+ demo
24
26
  status
25
27
  totalCards
26
28
  totalQuestions
@@ -14,6 +14,7 @@ export interface IConcept {
14
14
  chapterId: Id;
15
15
  chapter?: IChapter;
16
16
  videos?: IVideo[];
17
+ demo?: boolean;
17
18
  totalQuestions?: number | null;
18
19
  correctQuestions?: number | null;
19
20
  incorrectQuestions?: number | null;
@@ -52,6 +52,7 @@ export interface IOsceStation {
52
52
  lastOsceMarksheetId?: Id;
53
53
  score?: number;
54
54
  status?: EUserLearningStatus;
55
+ demo?: boolean;
55
56
  }
56
57
  export interface IOsceStationTopic {
57
58
  id: Id;
@@ -9,9 +9,15 @@ export interface IPreset {
9
9
  name: string;
10
10
  topicType: ETopicType;
11
11
  likes: number;
12
- total: number;
13
- correct: number;
14
- incorrect: number;
12
+ correctQuestions: number;
13
+ incorrectQuestions: number;
14
+ completedQuestions: number;
15
+ totalQuestions: number;
16
+ yellowCards: number;
17
+ greenCards: number;
18
+ redCards: number;
19
+ completedCards: number;
20
+ totalCards: number;
15
21
  university: IUniversity;
16
22
  topics: ITopic[];
17
23
  }
@@ -47,6 +47,7 @@ export interface ITopic {
47
47
  updatedAt: number | Date;
48
48
  deletedAt: number | Date;
49
49
  name: string;
50
+ demo?: boolean;
50
51
  concepts?: IConcept[];
51
52
  typeId: ETopicType | null;
52
53
  type?: ITopicType | null;
@@ -59,6 +59,7 @@ export const OSCE_STATION_FIELDS = gql `
59
59
  description
60
60
  duration
61
61
  }
62
+ demo
62
63
 
63
64
  # user-specific keys
64
65
  # lastOsceMarksheetId
@@ -50,9 +50,15 @@ export const DUPLICATE_PRESET = gql `
50
50
  name
51
51
  likes
52
52
  topicType
53
- total
54
- correct
55
- incorrect
53
+ correctQuestions
54
+ incorrectQuestions
55
+ completedQuestions
56
+ totalQuestions
57
+ yellowCards
58
+ greenCards
59
+ redCards
60
+ completedCards
61
+ totalCards
56
62
  userId
57
63
  university {
58
64
  id
@@ -104,9 +110,15 @@ export const EDIT_PRESET = gql `
104
110
  name
105
111
  likes
106
112
  topicType
107
- total
108
- correct
109
- incorrect
113
+ correctQuestions
114
+ incorrectQuestions
115
+ completedQuestions
116
+ totalQuestions
117
+ yellowCards
118
+ greenCards
119
+ redCards
120
+ completedCards
121
+ totalCards
110
122
  userId
111
123
  university {
112
124
  id
@@ -135,9 +147,15 @@ export const CREATE_PRESET = gql `
135
147
  name
136
148
  likes
137
149
  topicType
138
- total
139
- correct
140
- incorrect
150
+ correctQuestions
151
+ incorrectQuestions
152
+ completedQuestions
153
+ totalQuestions
154
+ yellowCards
155
+ greenCards
156
+ redCards
157
+ completedCards
158
+ totalCards
141
159
  userId
142
160
  university {
143
161
  id
@@ -1,6 +1,6 @@
1
1
  import { ETopicType, IPreset, Id } from '../../../models';
2
- import { RestrictedData } from '../../types';
3
2
  import { ESortOrder } from '../../enums';
3
+ import { RestrictedData } from '../../types';
4
4
  export interface IPresetsVar {
5
5
  userId?: Id;
6
6
  topicType?: ETopicType;
@@ -23,9 +23,15 @@ export const PRESETS = gql `
23
23
  name
24
24
  likes
25
25
  topicType
26
- total
27
- correct
28
- incorrect
26
+ correctQuestions
27
+ incorrectQuestions
28
+ completedQuestions
29
+ totalQuestions
30
+ yellowCards
31
+ greenCards
32
+ redCards
33
+ completedCards
34
+ totalCards
29
35
  userId
30
36
  university {
31
37
  id
@@ -54,9 +60,15 @@ export const PRESET = gql `
54
60
  name
55
61
  likes
56
62
  topicType
57
- total
58
- correct
59
- incorrect
63
+ correctQuestions
64
+ incorrectQuestions
65
+ completedQuestions
66
+ totalQuestions
67
+ yellowCards
68
+ greenCards
69
+ redCards
70
+ completedCards
71
+ totalCards
60
72
  userId
61
73
  university {
62
74
  id
@@ -7,6 +7,7 @@ export const QUES_BOOK = gql `
7
7
  id
8
8
  name
9
9
  typeId
10
+ demo
10
11
  unreadConcepts
11
12
  completedConcepts
12
13
  revisingConcepts
@@ -18,6 +19,7 @@ export const QUES_BOOK = gql `
18
19
  concepts {
19
20
  id
20
21
  name
22
+ demo
21
23
  status
22
24
  totalCards
23
25
  totalQuestions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.5.83",
3
+ "version": "2.5.85",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",