@quesmed/types 2.6.297 → 2.6.298

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.
@@ -1,5 +1,6 @@
1
1
  import { IConcept } from './Concept';
2
2
  import { Id } from './Type';
3
+ import { EUkmla2026ChangeType } from './Ukmla2026';
3
4
  import { IUkmlaTopic } from './UkmlaTopic';
4
5
  export interface ICondition {
5
6
  id: Id;
@@ -7,12 +8,18 @@ export interface ICondition {
7
8
  updatedAt: number | Date;
8
9
  deletedAt: number | Date;
9
10
  name: string;
10
- topicId: Id;
11
- topic: IUkmlaTopic;
11
+ /** @deprecated Legacy UKMLA content map. Use `bodySystemId` instead. */
12
+ topicId?: Id | null;
13
+ /** @deprecated Legacy UKMLA content map. Not set on UKMLA 2026 rows. */
14
+ topic?: IUkmlaTopic | null;
12
15
  concepts?: IConcept[];
16
+ /** @deprecated Legacy UKMLA content map. Not set on UKMLA 2026 rows. */
13
17
  demo?: boolean;
14
18
  public: boolean;
15
19
  questionIds: number[];
20
+ bodySystemId?: number | null;
21
+ changeType?: EUkmla2026ChangeType | null;
22
+ legacyNames?: string[] | null;
16
23
  totalQuestions?: number | null;
17
24
  correctQuestions?: number | null;
18
25
  incorrectQuestions?: number | null;
@@ -1,4 +1,5 @@
1
1
  import { Id } from './Type';
2
+ import { EUkmla2026ChangeType } from './Ukmla2026';
2
3
  import { IUkmlaTopic } from './UkmlaTopic';
3
4
  export interface IPresentation {
4
5
  id: Id;
@@ -6,11 +7,16 @@ export interface IPresentation {
6
7
  updatedAt: number | Date;
7
8
  deletedAt: number | Date;
8
9
  name: string;
9
- topicId: Id;
10
- topic: IUkmlaTopic;
10
+ /** @deprecated Legacy UKMLA content map. Not set on UKMLA 2026 rows. */
11
+ topicId?: Id | null;
12
+ /** @deprecated Legacy UKMLA content map. Not set on UKMLA 2026 rows. */
13
+ topic?: IUkmlaTopic | null;
14
+ /** @deprecated Legacy UKMLA content map. Not set on UKMLA 2026 rows. */
11
15
  demo?: boolean;
12
16
  public: boolean;
13
17
  questionIds: number[];
18
+ changeType?: EUkmla2026ChangeType | null;
19
+ legacyNames?: string[] | null;
14
20
  totalQuestions?: number | null;
15
21
  correctQuestions?: number | null;
16
22
  incorrectQuestions?: number | null;
@@ -10,6 +10,7 @@ import { IPresentation } from './Presentation';
10
10
  import { ITopic } from './Topic';
11
11
  import { Id } from './Type';
12
12
  import { ITheme } from './Ucat';
13
+ import { IUkmla2026Area, IUkmla2026BodySystem } from './Ukmla2026';
13
14
  import { IUkmlaTopic } from './UkmlaTopic';
14
15
  import { EUserLearningPoint, IUser } from './User';
15
16
  export declare enum EPsaSectionType {
@@ -95,6 +96,8 @@ export interface IQuestion {
95
96
  concept?: IConcept;
96
97
  conditions?: ICondition[];
97
98
  presentations?: IPresentation[];
99
+ bodySystems?: Pick<IUkmla2026BodySystem, 'id' | 'name' | 'sortOrder'>[];
100
+ areas?: Pick<IUkmla2026Area, 'id' | 'name' | 'sortOrder'>[];
98
101
  question: string;
99
102
  explanation?: string;
100
103
  learningPoint?: string;
@@ -17,6 +17,7 @@ export type IVideoTokens = {
17
17
  storyboard: string;
18
18
  gif: string;
19
19
  bunnyUrl: string;
20
+ hlsUrl: string;
20
21
  };
21
22
  export interface IVideo {
22
23
  id: Id;
@@ -43,20 +43,20 @@ exports.QUESTION_UKMLA_FIELDS = (0, client_1.gql) `
43
43
  presentations {
44
44
  id
45
45
  name
46
- topicId
47
- topic {
48
- id
49
- name
50
- }
51
46
  }
52
47
  conditions {
53
48
  id
54
49
  name
55
- topicId
56
- topic {
57
- id
58
- name
59
- }
50
+ }
51
+ bodySystems {
52
+ id
53
+ name
54
+ sortOrder
55
+ }
56
+ areas {
57
+ id
58
+ name
59
+ sortOrder
60
60
  }
61
61
  }
62
62
  `;
@@ -59,6 +59,7 @@ exports.VIDEO_LIBRARY_FIELDS = (0, client_1.gql) `
59
59
  thumbnail
60
60
  gif
61
61
  bunnyUrl
62
+ hlsUrl
62
63
  }
63
64
  duration
64
65
  status
@@ -88,6 +89,7 @@ exports.VIDEO_TOKENS_FIELDS = (0, client_1.gql) `
88
89
  storyboard
89
90
  gif
90
91
  bunnyUrl
92
+ hlsUrl
91
93
  }
92
94
  }
93
95
  `;
@@ -156,6 +156,7 @@ ${fragments_1.PICTURE_FIELDS}
156
156
  duration
157
157
  watchLater
158
158
  tokens {
159
+ hlsUrl
159
160
  bunnyUrl
160
161
  thumbnail
161
162
  gif
@@ -1,5 +1,6 @@
1
1
  import { IConcept } from './Concept';
2
2
  import { Id } from './Type';
3
+ import { EUkmla2026ChangeType } from './Ukmla2026';
3
4
  import { IUkmlaTopic } from './UkmlaTopic';
4
5
  export interface ICondition {
5
6
  id: Id;
@@ -7,12 +8,18 @@ export interface ICondition {
7
8
  updatedAt: number | Date;
8
9
  deletedAt: number | Date;
9
10
  name: string;
10
- topicId: Id;
11
- topic: IUkmlaTopic;
11
+ /** @deprecated Legacy UKMLA content map. Use `bodySystemId` instead. */
12
+ topicId?: Id | null;
13
+ /** @deprecated Legacy UKMLA content map. Not set on UKMLA 2026 rows. */
14
+ topic?: IUkmlaTopic | null;
12
15
  concepts?: IConcept[];
16
+ /** @deprecated Legacy UKMLA content map. Not set on UKMLA 2026 rows. */
13
17
  demo?: boolean;
14
18
  public: boolean;
15
19
  questionIds: number[];
20
+ bodySystemId?: number | null;
21
+ changeType?: EUkmla2026ChangeType | null;
22
+ legacyNames?: string[] | null;
16
23
  totalQuestions?: number | null;
17
24
  correctQuestions?: number | null;
18
25
  incorrectQuestions?: number | null;
@@ -1,4 +1,5 @@
1
1
  import { Id } from './Type';
2
+ import { EUkmla2026ChangeType } from './Ukmla2026';
2
3
  import { IUkmlaTopic } from './UkmlaTopic';
3
4
  export interface IPresentation {
4
5
  id: Id;
@@ -6,11 +7,16 @@ export interface IPresentation {
6
7
  updatedAt: number | Date;
7
8
  deletedAt: number | Date;
8
9
  name: string;
9
- topicId: Id;
10
- topic: IUkmlaTopic;
10
+ /** @deprecated Legacy UKMLA content map. Not set on UKMLA 2026 rows. */
11
+ topicId?: Id | null;
12
+ /** @deprecated Legacy UKMLA content map. Not set on UKMLA 2026 rows. */
13
+ topic?: IUkmlaTopic | null;
14
+ /** @deprecated Legacy UKMLA content map. Not set on UKMLA 2026 rows. */
11
15
  demo?: boolean;
12
16
  public: boolean;
13
17
  questionIds: number[];
18
+ changeType?: EUkmla2026ChangeType | null;
19
+ legacyNames?: string[] | null;
14
20
  totalQuestions?: number | null;
15
21
  correctQuestions?: number | null;
16
22
  incorrectQuestions?: number | null;
@@ -10,6 +10,7 @@ import { IPresentation } from './Presentation';
10
10
  import { ITopic } from './Topic';
11
11
  import { Id } from './Type';
12
12
  import { ITheme } from './Ucat';
13
+ import { IUkmla2026Area, IUkmla2026BodySystem } from './Ukmla2026';
13
14
  import { IUkmlaTopic } from './UkmlaTopic';
14
15
  import { EUserLearningPoint, IUser } from './User';
15
16
  export declare enum EPsaSectionType {
@@ -95,6 +96,8 @@ export interface IQuestion {
95
96
  concept?: IConcept;
96
97
  conditions?: ICondition[];
97
98
  presentations?: IPresentation[];
99
+ bodySystems?: Pick<IUkmla2026BodySystem, 'id' | 'name' | 'sortOrder'>[];
100
+ areas?: Pick<IUkmla2026Area, 'id' | 'name' | 'sortOrder'>[];
98
101
  question: string;
99
102
  explanation?: string;
100
103
  learningPoint?: string;
@@ -17,6 +17,7 @@ export type IVideoTokens = {
17
17
  storyboard: string;
18
18
  gif: string;
19
19
  bunnyUrl: string;
20
+ hlsUrl: string;
20
21
  };
21
22
  export interface IVideo {
22
23
  id: Id;
@@ -40,20 +40,20 @@ export const QUESTION_UKMLA_FIELDS = gql `
40
40
  presentations {
41
41
  id
42
42
  name
43
- topicId
44
- topic {
45
- id
46
- name
47
- }
48
43
  }
49
44
  conditions {
50
45
  id
51
46
  name
52
- topicId
53
- topic {
54
- id
55
- name
56
- }
47
+ }
48
+ bodySystems {
49
+ id
50
+ name
51
+ sortOrder
52
+ }
53
+ areas {
54
+ id
55
+ name
56
+ sortOrder
57
57
  }
58
58
  }
59
59
  `;
@@ -56,6 +56,7 @@ export const VIDEO_LIBRARY_FIELDS = gql `
56
56
  thumbnail
57
57
  gif
58
58
  bunnyUrl
59
+ hlsUrl
59
60
  }
60
61
  duration
61
62
  status
@@ -85,6 +86,7 @@ export const VIDEO_TOKENS_FIELDS = gql `
85
86
  storyboard
86
87
  gif
87
88
  bunnyUrl
89
+ hlsUrl
88
90
  }
89
91
  }
90
92
  `;
@@ -153,6 +153,7 @@ ${PICTURE_FIELDS}
153
153
  duration
154
154
  watchLater
155
155
  tokens {
156
+ hlsUrl
156
157
  bunnyUrl
157
158
  thumbnail
158
159
  gif
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.297",
3
+ "version": "2.6.298",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",