@quesmed/types 2.5.78 → 2.5.80

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.
@@ -9,7 +9,11 @@ export declare enum ETopicType {
9
9
  PSA = 5,
10
10
  OSCE = 6,
11
11
  MOCK_TEST = 7,
12
- SJT = 8
12
+ SJT = 8,
13
+ INTERVIEW_ANAESTHETICS = 9,
14
+ INTERVIEW_CST = 10,
15
+ INTERVIEW_IMT = 11,
16
+ INTERVIEW_RADIOLOGY = 12
13
17
  }
14
18
  export interface ITopicType {
15
19
  id: ETopicType;
@@ -12,4 +12,9 @@ var ETopicType;
12
12
  ETopicType[ETopicType["OSCE"] = 6] = "OSCE";
13
13
  ETopicType[ETopicType["MOCK_TEST"] = 7] = "MOCK_TEST";
14
14
  ETopicType[ETopicType["SJT"] = 8] = "SJT";
15
+ // new interview product topic types
16
+ ETopicType[ETopicType["INTERVIEW_ANAESTHETICS"] = 9] = "INTERVIEW_ANAESTHETICS";
17
+ ETopicType[ETopicType["INTERVIEW_CST"] = 10] = "INTERVIEW_CST";
18
+ ETopicType[ETopicType["INTERVIEW_IMT"] = 11] = "INTERVIEW_IMT";
19
+ ETopicType[ETopicType["INTERVIEW_RADIOLOGY"] = 12] = "INTERVIEW_RADIOLOGY";
15
20
  })(ETopicType = exports.ETopicType || (exports.ETopicType = {}));
@@ -6,7 +6,7 @@ const fragments_1 = require("../../fragments");
6
6
  const user_1 = require("../../fragments/user");
7
7
  exports.USER = (0, client_1.gql) `
8
8
  ${user_1.USER_FIELDS}
9
- query User($active: Boolean) {
9
+ query user($active: Boolean) {
10
10
  restricted {
11
11
  user {
12
12
  ...UserFields
@@ -15,7 +15,7 @@ exports.USER = (0, client_1.gql) `
15
15
  }
16
16
  `;
17
17
  exports.GET_USER_SUBSCRIPTIONS = (0, client_1.gql) `
18
- query User($active: Boolean) {
18
+ query userSubscriptions($active: Boolean) {
19
19
  restricted {
20
20
  user {
21
21
  subscriptions(active: $active) {
@@ -9,7 +9,11 @@ export declare enum ETopicType {
9
9
  PSA = 5,
10
10
  OSCE = 6,
11
11
  MOCK_TEST = 7,
12
- SJT = 8
12
+ SJT = 8,
13
+ INTERVIEW_ANAESTHETICS = 9,
14
+ INTERVIEW_CST = 10,
15
+ INTERVIEW_IMT = 11,
16
+ INTERVIEW_RADIOLOGY = 12
13
17
  }
14
18
  export interface ITopicType {
15
19
  id: ETopicType;
@@ -9,4 +9,9 @@ export var ETopicType;
9
9
  ETopicType[ETopicType["OSCE"] = 6] = "OSCE";
10
10
  ETopicType[ETopicType["MOCK_TEST"] = 7] = "MOCK_TEST";
11
11
  ETopicType[ETopicType["SJT"] = 8] = "SJT";
12
+ // new interview product topic types
13
+ ETopicType[ETopicType["INTERVIEW_ANAESTHETICS"] = 9] = "INTERVIEW_ANAESTHETICS";
14
+ ETopicType[ETopicType["INTERVIEW_CST"] = 10] = "INTERVIEW_CST";
15
+ ETopicType[ETopicType["INTERVIEW_IMT"] = 11] = "INTERVIEW_IMT";
16
+ ETopicType[ETopicType["INTERVIEW_RADIOLOGY"] = 12] = "INTERVIEW_RADIOLOGY";
12
17
  })(ETopicType || (ETopicType = {}));
@@ -3,7 +3,7 @@ import { PICTURE_FIELDS } from '../../fragments';
3
3
  import { USER_FIELDS } from '../../fragments/user';
4
4
  export const USER = gql `
5
5
  ${USER_FIELDS}
6
- query User($active: Boolean) {
6
+ query user($active: Boolean) {
7
7
  restricted {
8
8
  user {
9
9
  ...UserFields
@@ -12,7 +12,7 @@ export const USER = gql `
12
12
  }
13
13
  `;
14
14
  export const GET_USER_SUBSCRIPTIONS = gql `
15
- query User($active: Boolean) {
15
+ query userSubscriptions($active: Boolean) {
16
16
  restricted {
17
17
  user {
18
18
  subscriptions(active: $active) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.5.78",
3
+ "version": "2.5.80",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",