@quesmed/types 2.6.5 → 2.6.7

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.
Files changed (31) hide show
  1. package/dist/cjs/models/Blog.d.ts +6 -0
  2. package/dist/cjs/models/Condition.d.ts +22 -0
  3. package/dist/cjs/models/Condition.js +2 -0
  4. package/dist/cjs/models/Presentation.d.ts +15 -0
  5. package/dist/cjs/models/Presentation.js +2 -0
  6. package/dist/cjs/models/Question.d.ts +6 -0
  7. package/dist/cjs/models/UkmlaTopic.d.ts +36 -0
  8. package/dist/cjs/models/UkmlaTopic.js +2 -0
  9. package/dist/cjs/models/index.d.ts +3 -0
  10. package/dist/cjs/models/index.js +3 -0
  11. package/dist/cjs/resolvers/fragments/blog.js +5 -0
  12. package/dist/cjs/resolvers/query/restricted/index.d.ts +1 -0
  13. package/dist/cjs/resolvers/query/restricted/index.js +1 -0
  14. package/dist/cjs/resolvers/query/restricted/ukmlaTopics.d.ts +25 -0
  15. package/dist/cjs/resolvers/query/restricted/ukmlaTopics.js +113 -0
  16. package/dist/mjs/models/Blog.d.ts +6 -0
  17. package/dist/mjs/models/Condition.d.ts +22 -0
  18. package/dist/mjs/models/Condition.js +1 -0
  19. package/dist/mjs/models/Presentation.d.ts +15 -0
  20. package/dist/mjs/models/Presentation.js +1 -0
  21. package/dist/mjs/models/Question.d.ts +6 -0
  22. package/dist/mjs/models/UkmlaTopic.d.ts +36 -0
  23. package/dist/mjs/models/UkmlaTopic.js +1 -0
  24. package/dist/mjs/models/index.d.ts +3 -0
  25. package/dist/mjs/models/index.js +3 -0
  26. package/dist/mjs/resolvers/fragments/blog.js +5 -0
  27. package/dist/mjs/resolvers/query/restricted/index.d.ts +1 -0
  28. package/dist/mjs/resolvers/query/restricted/index.js +1 -0
  29. package/dist/mjs/resolvers/query/restricted/ukmlaTopics.d.ts +25 -0
  30. package/dist/mjs/resolvers/query/restricted/ukmlaTopics.js +110 -0
  31. package/package.json +1 -1
@@ -5,14 +5,20 @@ export interface IBlogTag {
5
5
  createdAt: number | Date;
6
6
  name: string;
7
7
  }
8
+ export interface IBlogMeta {
9
+ title: string;
10
+ description: string;
11
+ }
8
12
  export interface IBlogPost {
9
13
  id: Id;
10
14
  createdAt: number | Date;
11
15
  updatedAt: number | Date;
12
16
  deletedAt: number | Date;
13
17
  title: string;
18
+ slug: string;
14
19
  body: string;
15
20
  pictureId: number | null;
21
+ meta: IBlogMeta;
16
22
  tags?: IBlogTag[];
17
23
  picture?: IPicture;
18
24
  relatedBlogPosts?: IBlogPost[];
@@ -0,0 +1,22 @@
1
+ import { IConcept } from './Concept';
2
+ import { Id } from './Type';
3
+ import { IUkmlaTopic } from './UkmlaTopic';
4
+ export interface ICondition {
5
+ id: Id;
6
+ createdAt: number | Date;
7
+ updatedAt: number | Date;
8
+ deletedAt: number | Date;
9
+ name: string;
10
+ topicId: Id;
11
+ topic: IUkmlaTopic;
12
+ concepts?: IConcept[];
13
+ demo?: boolean;
14
+ totalQuestions?: number | null;
15
+ correctQuestions?: number | null;
16
+ incorrectQuestions?: number | null;
17
+ }
18
+ export interface IConditionConcept {
19
+ id: Id;
20
+ conditionId: Id;
21
+ conceptId: Id;
22
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ import { IUkmlaTopic } from './UkmlaTopic';
2
+ import { Id } from './Type';
3
+ export interface IPresentation {
4
+ id: Id;
5
+ createdAt: number | Date;
6
+ updatedAt: number | Date;
7
+ deletedAt: number | Date;
8
+ name: string;
9
+ topicId: Id;
10
+ topic: IUkmlaTopic;
11
+ demo?: boolean;
12
+ totalQuestions?: number | null;
13
+ correctQuestions?: number | null;
14
+ incorrectQuestions?: number | null;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,11 @@
1
1
  import { IConcept } from './Concept';
2
+ import { ICondition } from './Condition';
2
3
  import { EDifficultyType } from './Difficulty';
3
4
  import { IPicture } from './Picture';
5
+ import { IPresentation } from './Presentation';
4
6
  import { ITopic } from './Topic';
5
7
  import { Id } from './Type';
8
+ import { IUkmlaTopic } from './UkmlaTopic';
6
9
  import { IUser } from './User';
7
10
  export declare enum EPsaSectionType {
8
11
  PRESCRIBING = 1,
@@ -70,6 +73,8 @@ export interface IQuestion {
70
73
  conceptId: Id;
71
74
  public: boolean;
72
75
  concept?: IConcept;
76
+ condition?: ICondition[];
77
+ presentation?: IPresentation[];
73
78
  question: string;
74
79
  explanation?: string;
75
80
  answer: IQuestionAnswer;
@@ -77,6 +82,7 @@ export interface IQuestion {
77
82
  choices: IQuestionChoice[];
78
83
  cases?: IQuestionCase[];
79
84
  topic?: ITopic;
85
+ uklmaTopics?: IUkmlaTopic[];
80
86
  pictures?: IPicture[];
81
87
  difficulty: EDifficultyType;
82
88
  elo: number;
@@ -0,0 +1,36 @@
1
+ import { ICondition } from './Condition';
2
+ import { IPresentation } from './Presentation';
3
+ import { Id } from './Type';
4
+ export interface IUkmlaTopic {
5
+ id: Id;
6
+ createdAt: number | Date;
7
+ updatedAt: number | Date;
8
+ deletedAt: number | Date;
9
+ name: string;
10
+ demo?: boolean;
11
+ conditions?: ICondition[];
12
+ presentations?: IPresentation[];
13
+ totalQuestions?: number | null;
14
+ correctQuestions?: number | null;
15
+ incorrectQuestions?: number | null;
16
+ }
17
+ export interface IUkmlaTopicPresentation {
18
+ id: Id;
19
+ ukmlaTopicId: Id;
20
+ presentationId: Id;
21
+ }
22
+ export interface IUkmlaTopicCondition {
23
+ id: Id;
24
+ ukmlaTopicId: Id;
25
+ conditionId: Id;
26
+ }
27
+ export interface IQuestionPresentation {
28
+ id: Id;
29
+ questionId: Id;
30
+ presentationId: Id;
31
+ }
32
+ export interface IQuestionCondition {
33
+ id: Id;
34
+ questionId: Id;
35
+ conditionId: Id;
36
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,6 +4,7 @@ export * from './Book';
4
4
  export * from './Card';
5
5
  export * from './Chapter';
6
6
  export * from './Concept';
7
+ export * from './Condition';
7
8
  export * from './Difficulty';
8
9
  export * from './Feedback';
9
10
  export * from './File';
@@ -14,6 +15,7 @@ export * from './OsceMarksheet';
14
15
  export * from './OsceStation';
15
16
  export * from './Paces';
16
17
  export * from './Picture';
18
+ export * from './Presentation';
17
19
  export * from './Preset';
18
20
  export * from './Product';
19
21
  export * from './Promo';
@@ -24,6 +26,7 @@ export * from './Todo';
24
26
  export * from './Token';
25
27
  export * from './Topic';
26
28
  export * from './Type';
29
+ export * from './UkmlaTopic';
27
30
  export * from './University';
28
31
  export * from './User';
29
32
  export * from './Video';
@@ -20,6 +20,7 @@ __exportStar(require("./Book"), exports);
20
20
  __exportStar(require("./Card"), exports);
21
21
  __exportStar(require("./Chapter"), exports);
22
22
  __exportStar(require("./Concept"), exports);
23
+ __exportStar(require("./Condition"), exports);
23
24
  __exportStar(require("./Difficulty"), exports);
24
25
  __exportStar(require("./Feedback"), exports);
25
26
  __exportStar(require("./File"), exports);
@@ -30,6 +31,7 @@ __exportStar(require("./OsceMarksheet"), exports);
30
31
  __exportStar(require("./OsceStation"), exports);
31
32
  __exportStar(require("./Paces"), exports);
32
33
  __exportStar(require("./Picture"), exports);
34
+ __exportStar(require("./Presentation"), exports);
33
35
  __exportStar(require("./Preset"), exports);
34
36
  __exportStar(require("./Product"), exports);
35
37
  __exportStar(require("./Promo"), exports);
@@ -40,6 +42,7 @@ __exportStar(require("./Todo"), exports);
40
42
  __exportStar(require("./Token"), exports);
41
43
  __exportStar(require("./Topic"), exports);
42
44
  __exportStar(require("./Type"), exports);
45
+ __exportStar(require("./UkmlaTopic"), exports);
43
46
  __exportStar(require("./University"), exports);
44
47
  __exportStar(require("./User"), exports);
45
48
  __exportStar(require("./Video"), exports);
@@ -8,7 +8,12 @@ exports.BLOG_POST_FIELDS = (0, client_1.gql) `
8
8
  createdAt
9
9
  updatedAt
10
10
  title
11
+ slug
11
12
  pictureId
13
+ meta {
14
+ title
15
+ description
16
+ }
12
17
  picture {
13
18
  id
14
19
  name
@@ -12,6 +12,7 @@ export * from './question';
12
12
  export * from './replication';
13
13
  export * from './todos';
14
14
  export * from './topics';
15
+ export * from './ukmlaTopics';
15
16
  export * from './university';
16
17
  export * from './user';
17
18
  export * from './video';
@@ -28,6 +28,7 @@ __exportStar(require("./question"), exports);
28
28
  __exportStar(require("./replication"), exports);
29
29
  __exportStar(require("./todos"), exports);
30
30
  __exportStar(require("./topics"), exports);
31
+ __exportStar(require("./ukmlaTopics"), exports);
31
32
  __exportStar(require("./university"), exports);
32
33
  __exportStar(require("./user"), exports);
33
34
  __exportStar(require("./video"), exports);
@@ -0,0 +1,25 @@
1
+ import { EDifficultyType, IUkmlaTopic, Id } from '../../../models';
2
+ import { ESortOrder } from '../../enums';
3
+ import { IPreBuildMarksheet } from '../../mutation/restricted';
4
+ import { RestrictedData, graphqlNormalize } from '../../types';
5
+ export interface IUkmlaTopicVar {
6
+ id: Id;
7
+ }
8
+ export type IUkmlaTopicData = RestrictedData<graphqlNormalize & IUkmlaTopic, 'ukmlaTopic'>;
9
+ export declare const UKMLA_TOPIC: import("@apollo/client").DocumentNode;
10
+ export interface IUkmlaTopicsVar {
11
+ order?: ESortOrder;
12
+ }
13
+ export type IUkmlaTopicsData = RestrictedData<(graphqlNormalize & IUkmlaTopic)[], 'ukmlaTopics'>;
14
+ export declare const UKMLA_TOPICS: import("@apollo/client").DocumentNode;
15
+ export interface IPreBuildUkmlaMarksheetVar {
16
+ topicIds: number[];
17
+ conditionIds: number[];
18
+ presentationIds: number[];
19
+ search: string;
20
+ marksheetId?: Id;
21
+ source: string;
22
+ difficulty?: EDifficultyType[];
23
+ }
24
+ export type IPreBuildUkmlaMarksheetData = RestrictedData<graphqlNormalize & IPreBuildMarksheet, 'preBuildUkmlaMarksheet'>;
25
+ export declare const PRE_BUILD_UKMLA_MARKSHEET: import("@apollo/client").DocumentNode;
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PRE_BUILD_UKMLA_MARKSHEET = exports.UKMLA_TOPICS = exports.UKMLA_TOPIC = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ exports.UKMLA_TOPIC = (0, client_1.gql) `
6
+ query UkmlaTopic($id: Int!) {
7
+ restricted {
8
+ ukmlaTopic(id: $id) {
9
+ id
10
+ name
11
+ totalQuestions
12
+ correctQuestions
13
+ incorrectQuestions
14
+ conditions {
15
+ id
16
+ name
17
+ totalQuestions
18
+ correctQuestions
19
+ incorrectQuestions
20
+ topicId
21
+ topic {
22
+ id
23
+ name
24
+ }
25
+ }
26
+ presentations {
27
+ id
28
+ name
29
+ totalQuestions
30
+ correctQuestions
31
+ incorrectQuestions
32
+ topicId
33
+ topic {
34
+ id
35
+ name
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ `;
42
+ exports.UKMLA_TOPICS = (0, client_1.gql) `
43
+ query UkmlaTopics($order: Int) {
44
+ restricted {
45
+ ukmlaTopics(order: $order) {
46
+ id
47
+ name
48
+ demo
49
+ totalQuestions
50
+ correctQuestions
51
+ incorrectQuestions
52
+ conditions {
53
+ id
54
+ name
55
+ demo
56
+ totalQuestions
57
+ correctQuestions
58
+ incorrectQuestions
59
+ concepts {
60
+ id
61
+ name
62
+ topicId
63
+ chapterId
64
+ }
65
+ topic {
66
+ id
67
+ name
68
+ }
69
+ }
70
+ presentations {
71
+ id
72
+ name
73
+ demo
74
+ totalQuestions
75
+ correctQuestions
76
+ incorrectQuestions
77
+ topic {
78
+ id
79
+ name
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ `;
86
+ exports.PRE_BUILD_UKMLA_MARKSHEET = (0, client_1.gql) `
87
+ query PreBuildUkmlaMarksheet(
88
+ $topicIds: [Int!]
89
+ $conditionIds: [Int!]
90
+ $presentationIds: [Int!]
91
+ $source: String!
92
+ $search: String
93
+ $marksheetId: Int
94
+ $difficulty: [Int!]
95
+ ) {
96
+ restricted {
97
+ preBuildUkmlaMarksheet(
98
+ topicIds: $topicIds
99
+ conditionIds: $conditionIds
100
+ presentationIds: $presentationIds
101
+ source: $source
102
+ search: $search
103
+ marksheetId: $marksheetId
104
+ difficulty: $difficulty
105
+ ) {
106
+ unseen
107
+ seenCorrect
108
+ seenIncorrect
109
+ buildRef
110
+ }
111
+ }
112
+ }
113
+ `;
@@ -5,14 +5,20 @@ export interface IBlogTag {
5
5
  createdAt: number | Date;
6
6
  name: string;
7
7
  }
8
+ export interface IBlogMeta {
9
+ title: string;
10
+ description: string;
11
+ }
8
12
  export interface IBlogPost {
9
13
  id: Id;
10
14
  createdAt: number | Date;
11
15
  updatedAt: number | Date;
12
16
  deletedAt: number | Date;
13
17
  title: string;
18
+ slug: string;
14
19
  body: string;
15
20
  pictureId: number | null;
21
+ meta: IBlogMeta;
16
22
  tags?: IBlogTag[];
17
23
  picture?: IPicture;
18
24
  relatedBlogPosts?: IBlogPost[];
@@ -0,0 +1,22 @@
1
+ import { IConcept } from './Concept';
2
+ import { Id } from './Type';
3
+ import { IUkmlaTopic } from './UkmlaTopic';
4
+ export interface ICondition {
5
+ id: Id;
6
+ createdAt: number | Date;
7
+ updatedAt: number | Date;
8
+ deletedAt: number | Date;
9
+ name: string;
10
+ topicId: Id;
11
+ topic: IUkmlaTopic;
12
+ concepts?: IConcept[];
13
+ demo?: boolean;
14
+ totalQuestions?: number | null;
15
+ correctQuestions?: number | null;
16
+ incorrectQuestions?: number | null;
17
+ }
18
+ export interface IConditionConcept {
19
+ id: Id;
20
+ conditionId: Id;
21
+ conceptId: Id;
22
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ import { IUkmlaTopic } from './UkmlaTopic';
2
+ import { Id } from './Type';
3
+ export interface IPresentation {
4
+ id: Id;
5
+ createdAt: number | Date;
6
+ updatedAt: number | Date;
7
+ deletedAt: number | Date;
8
+ name: string;
9
+ topicId: Id;
10
+ topic: IUkmlaTopic;
11
+ demo?: boolean;
12
+ totalQuestions?: number | null;
13
+ correctQuestions?: number | null;
14
+ incorrectQuestions?: number | null;
15
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,8 +1,11 @@
1
1
  import { IConcept } from './Concept';
2
+ import { ICondition } from './Condition';
2
3
  import { EDifficultyType } from './Difficulty';
3
4
  import { IPicture } from './Picture';
5
+ import { IPresentation } from './Presentation';
4
6
  import { ITopic } from './Topic';
5
7
  import { Id } from './Type';
8
+ import { IUkmlaTopic } from './UkmlaTopic';
6
9
  import { IUser } from './User';
7
10
  export declare enum EPsaSectionType {
8
11
  PRESCRIBING = 1,
@@ -70,6 +73,8 @@ export interface IQuestion {
70
73
  conceptId: Id;
71
74
  public: boolean;
72
75
  concept?: IConcept;
76
+ condition?: ICondition[];
77
+ presentation?: IPresentation[];
73
78
  question: string;
74
79
  explanation?: string;
75
80
  answer: IQuestionAnswer;
@@ -77,6 +82,7 @@ export interface IQuestion {
77
82
  choices: IQuestionChoice[];
78
83
  cases?: IQuestionCase[];
79
84
  topic?: ITopic;
85
+ uklmaTopics?: IUkmlaTopic[];
80
86
  pictures?: IPicture[];
81
87
  difficulty: EDifficultyType;
82
88
  elo: number;
@@ -0,0 +1,36 @@
1
+ import { ICondition } from './Condition';
2
+ import { IPresentation } from './Presentation';
3
+ import { Id } from './Type';
4
+ export interface IUkmlaTopic {
5
+ id: Id;
6
+ createdAt: number | Date;
7
+ updatedAt: number | Date;
8
+ deletedAt: number | Date;
9
+ name: string;
10
+ demo?: boolean;
11
+ conditions?: ICondition[];
12
+ presentations?: IPresentation[];
13
+ totalQuestions?: number | null;
14
+ correctQuestions?: number | null;
15
+ incorrectQuestions?: number | null;
16
+ }
17
+ export interface IUkmlaTopicPresentation {
18
+ id: Id;
19
+ ukmlaTopicId: Id;
20
+ presentationId: Id;
21
+ }
22
+ export interface IUkmlaTopicCondition {
23
+ id: Id;
24
+ ukmlaTopicId: Id;
25
+ conditionId: Id;
26
+ }
27
+ export interface IQuestionPresentation {
28
+ id: Id;
29
+ questionId: Id;
30
+ presentationId: Id;
31
+ }
32
+ export interface IQuestionCondition {
33
+ id: Id;
34
+ questionId: Id;
35
+ conditionId: Id;
36
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -4,6 +4,7 @@ export * from './Book';
4
4
  export * from './Card';
5
5
  export * from './Chapter';
6
6
  export * from './Concept';
7
+ export * from './Condition';
7
8
  export * from './Difficulty';
8
9
  export * from './Feedback';
9
10
  export * from './File';
@@ -14,6 +15,7 @@ export * from './OsceMarksheet';
14
15
  export * from './OsceStation';
15
16
  export * from './Paces';
16
17
  export * from './Picture';
18
+ export * from './Presentation';
17
19
  export * from './Preset';
18
20
  export * from './Product';
19
21
  export * from './Promo';
@@ -24,6 +26,7 @@ export * from './Todo';
24
26
  export * from './Token';
25
27
  export * from './Topic';
26
28
  export * from './Type';
29
+ export * from './UkmlaTopic';
27
30
  export * from './University';
28
31
  export * from './User';
29
32
  export * from './Video';
@@ -4,6 +4,7 @@ export * from './Book';
4
4
  export * from './Card';
5
5
  export * from './Chapter';
6
6
  export * from './Concept';
7
+ export * from './Condition';
7
8
  export * from './Difficulty';
8
9
  export * from './Feedback';
9
10
  export * from './File';
@@ -14,6 +15,7 @@ export * from './OsceMarksheet';
14
15
  export * from './OsceStation';
15
16
  export * from './Paces';
16
17
  export * from './Picture';
18
+ export * from './Presentation';
17
19
  export * from './Preset';
18
20
  export * from './Product';
19
21
  export * from './Promo';
@@ -24,6 +26,7 @@ export * from './Todo';
24
26
  export * from './Token';
25
27
  export * from './Topic';
26
28
  export * from './Type';
29
+ export * from './UkmlaTopic';
27
30
  export * from './University';
28
31
  export * from './User';
29
32
  export * from './Video';
@@ -5,7 +5,12 @@ export const BLOG_POST_FIELDS = gql `
5
5
  createdAt
6
6
  updatedAt
7
7
  title
8
+ slug
8
9
  pictureId
10
+ meta {
11
+ title
12
+ description
13
+ }
9
14
  picture {
10
15
  id
11
16
  name
@@ -12,6 +12,7 @@ export * from './question';
12
12
  export * from './replication';
13
13
  export * from './todos';
14
14
  export * from './topics';
15
+ export * from './ukmlaTopics';
15
16
  export * from './university';
16
17
  export * from './user';
17
18
  export * from './video';
@@ -12,6 +12,7 @@ export * from './question';
12
12
  export * from './replication';
13
13
  export * from './todos';
14
14
  export * from './topics';
15
+ export * from './ukmlaTopics';
15
16
  export * from './university';
16
17
  export * from './user';
17
18
  export * from './video';
@@ -0,0 +1,25 @@
1
+ import { EDifficultyType, IUkmlaTopic, Id } from '../../../models';
2
+ import { ESortOrder } from '../../enums';
3
+ import { IPreBuildMarksheet } from '../../mutation/restricted';
4
+ import { RestrictedData, graphqlNormalize } from '../../types';
5
+ export interface IUkmlaTopicVar {
6
+ id: Id;
7
+ }
8
+ export type IUkmlaTopicData = RestrictedData<graphqlNormalize & IUkmlaTopic, 'ukmlaTopic'>;
9
+ export declare const UKMLA_TOPIC: import("@apollo/client").DocumentNode;
10
+ export interface IUkmlaTopicsVar {
11
+ order?: ESortOrder;
12
+ }
13
+ export type IUkmlaTopicsData = RestrictedData<(graphqlNormalize & IUkmlaTopic)[], 'ukmlaTopics'>;
14
+ export declare const UKMLA_TOPICS: import("@apollo/client").DocumentNode;
15
+ export interface IPreBuildUkmlaMarksheetVar {
16
+ topicIds: number[];
17
+ conditionIds: number[];
18
+ presentationIds: number[];
19
+ search: string;
20
+ marksheetId?: Id;
21
+ source: string;
22
+ difficulty?: EDifficultyType[];
23
+ }
24
+ export type IPreBuildUkmlaMarksheetData = RestrictedData<graphqlNormalize & IPreBuildMarksheet, 'preBuildUkmlaMarksheet'>;
25
+ export declare const PRE_BUILD_UKMLA_MARKSHEET: import("@apollo/client").DocumentNode;
@@ -0,0 +1,110 @@
1
+ import { gql } from '@apollo/client';
2
+ export const UKMLA_TOPIC = gql `
3
+ query UkmlaTopic($id: Int!) {
4
+ restricted {
5
+ ukmlaTopic(id: $id) {
6
+ id
7
+ name
8
+ totalQuestions
9
+ correctQuestions
10
+ incorrectQuestions
11
+ conditions {
12
+ id
13
+ name
14
+ totalQuestions
15
+ correctQuestions
16
+ incorrectQuestions
17
+ topicId
18
+ topic {
19
+ id
20
+ name
21
+ }
22
+ }
23
+ presentations {
24
+ id
25
+ name
26
+ totalQuestions
27
+ correctQuestions
28
+ incorrectQuestions
29
+ topicId
30
+ topic {
31
+ id
32
+ name
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
38
+ `;
39
+ export const UKMLA_TOPICS = gql `
40
+ query UkmlaTopics($order: Int) {
41
+ restricted {
42
+ ukmlaTopics(order: $order) {
43
+ id
44
+ name
45
+ demo
46
+ totalQuestions
47
+ correctQuestions
48
+ incorrectQuestions
49
+ conditions {
50
+ id
51
+ name
52
+ demo
53
+ totalQuestions
54
+ correctQuestions
55
+ incorrectQuestions
56
+ concepts {
57
+ id
58
+ name
59
+ topicId
60
+ chapterId
61
+ }
62
+ topic {
63
+ id
64
+ name
65
+ }
66
+ }
67
+ presentations {
68
+ id
69
+ name
70
+ demo
71
+ totalQuestions
72
+ correctQuestions
73
+ incorrectQuestions
74
+ topic {
75
+ id
76
+ name
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ `;
83
+ export const PRE_BUILD_UKMLA_MARKSHEET = gql `
84
+ query PreBuildUkmlaMarksheet(
85
+ $topicIds: [Int!]
86
+ $conditionIds: [Int!]
87
+ $presentationIds: [Int!]
88
+ $source: String!
89
+ $search: String
90
+ $marksheetId: Int
91
+ $difficulty: [Int!]
92
+ ) {
93
+ restricted {
94
+ preBuildUkmlaMarksheet(
95
+ topicIds: $topicIds
96
+ conditionIds: $conditionIds
97
+ presentationIds: $presentationIds
98
+ source: $source
99
+ search: $search
100
+ marksheetId: $marksheetId
101
+ difficulty: $difficulty
102
+ ) {
103
+ unseen
104
+ seenCorrect
105
+ seenIncorrect
106
+ buildRef
107
+ }
108
+ }
109
+ }
110
+ `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.5",
3
+ "version": "2.6.7",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",