@quesmed/types 2.6.155 → 2.6.157

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.
@@ -16,7 +16,8 @@ export declare enum ETopicType {
16
16
  INTERVIEW_IMT = 11,
17
17
  INTERVIEW_RADIOLOGY = 12,
18
18
  INTERVIEW_PAEDIATRICS = 13,
19
- UCAT = 14
19
+ UCAT = 14,
20
+ MRCP_VIDEO = 15
20
21
  }
21
22
  export interface ITopicType {
22
23
  id: ETopicType;
@@ -19,4 +19,5 @@ var ETopicType;
19
19
  ETopicType[ETopicType["INTERVIEW_RADIOLOGY"] = 12] = "INTERVIEW_RADIOLOGY";
20
20
  ETopicType[ETopicType["INTERVIEW_PAEDIATRICS"] = 13] = "INTERVIEW_PAEDIATRICS";
21
21
  ETopicType[ETopicType["UCAT"] = 14] = "UCAT";
22
+ ETopicType[ETopicType["MRCP_VIDEO"] = 15] = "MRCP_VIDEO";
22
23
  })(ETopicType = exports.ETopicType || (exports.ETopicType = {}));
@@ -121,7 +121,7 @@ exports.productMapping = {
121
121
  },
122
122
  [models_1.EProductType.MRCP_VIDEO]: {
123
123
  db: enums_1.DB_TYPE.MRCP,
124
- topicType: [models_1.ETopicType.CLINICAL],
124
+ topicType: [models_1.ETopicType.MRCP_VIDEO],
125
125
  mockType: [],
126
126
  },
127
127
  };
@@ -7,6 +7,7 @@ export interface AISettings {
7
7
  userPrompt?: string;
8
8
  apiKey: string;
9
9
  model?: string;
10
+ n?: number;
10
11
  }
11
12
  export interface IHighYieldVar {
12
13
  chapterIds: Id[];
@@ -20,3 +21,19 @@ export interface IDownloadBatchVar {
20
21
  }
21
22
  export type IDownloadBatchData = AdminData<graphqlNormalize & string, 'downloadBatch'>;
22
23
  export declare const DOWNLOAD_BATCH: import("@apollo/client").DocumentNode;
24
+ export interface IPromptLabVar {
25
+ input: AISettings;
26
+ }
27
+ interface IPromptLabMessage {
28
+ role: string;
29
+ content: string;
30
+ refusal: string;
31
+ }
32
+ interface IPromptLabResult {
33
+ index: number;
34
+ finishReason: string;
35
+ message: IPromptLabMessage;
36
+ }
37
+ export type IPromptLabData = AdminData<graphqlNormalize & Array<IPromptLabResult>, 'promptLab'>;
38
+ export declare const PROMPT_LAB: import("@apollo/client").DocumentNode;
39
+ export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DOWNLOAD_BATCH = exports.HIGH_YIELD = void 0;
3
+ exports.PROMPT_LAB = exports.DOWNLOAD_BATCH = exports.HIGH_YIELD = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  exports.HIGH_YIELD = (0, client_1.gql) `
6
6
  mutation HighYield($chapterIds: [Int!]!, $settings: AISettingsInput!) {
@@ -16,3 +16,18 @@ exports.DOWNLOAD_BATCH = (0, client_1.gql) `
16
16
  }
17
17
  }
18
18
  `;
19
+ exports.PROMPT_LAB = (0, client_1.gql) `
20
+ mutation promptLab($input: AISettingsInput!) {
21
+ admin {
22
+ promptLab(input: $input) {
23
+ index
24
+ finishReason
25
+ message {
26
+ role
27
+ content
28
+ refusal
29
+ }
30
+ }
31
+ }
32
+ }
33
+ `;
@@ -16,7 +16,8 @@ export declare enum ETopicType {
16
16
  INTERVIEW_IMT = 11,
17
17
  INTERVIEW_RADIOLOGY = 12,
18
18
  INTERVIEW_PAEDIATRICS = 13,
19
- UCAT = 14
19
+ UCAT = 14,
20
+ MRCP_VIDEO = 15
20
21
  }
21
22
  export interface ITopicType {
22
23
  id: ETopicType;
@@ -16,4 +16,5 @@ export var ETopicType;
16
16
  ETopicType[ETopicType["INTERVIEW_RADIOLOGY"] = 12] = "INTERVIEW_RADIOLOGY";
17
17
  ETopicType[ETopicType["INTERVIEW_PAEDIATRICS"] = 13] = "INTERVIEW_PAEDIATRICS";
18
18
  ETopicType[ETopicType["UCAT"] = 14] = "UCAT";
19
+ ETopicType[ETopicType["MRCP_VIDEO"] = 15] = "MRCP_VIDEO";
19
20
  })(ETopicType || (ETopicType = {}));
@@ -118,7 +118,7 @@ export const productMapping = {
118
118
  },
119
119
  [EProductType.MRCP_VIDEO]: {
120
120
  db: DB_TYPE.MRCP,
121
- topicType: [ETopicType.CLINICAL],
121
+ topicType: [ETopicType.MRCP_VIDEO],
122
122
  mockType: [],
123
123
  },
124
124
  };
@@ -7,6 +7,7 @@ export interface AISettings {
7
7
  userPrompt?: string;
8
8
  apiKey: string;
9
9
  model?: string;
10
+ n?: number;
10
11
  }
11
12
  export interface IHighYieldVar {
12
13
  chapterIds: Id[];
@@ -20,3 +21,19 @@ export interface IDownloadBatchVar {
20
21
  }
21
22
  export type IDownloadBatchData = AdminData<graphqlNormalize & string, 'downloadBatch'>;
22
23
  export declare const DOWNLOAD_BATCH: import("@apollo/client").DocumentNode;
24
+ export interface IPromptLabVar {
25
+ input: AISettings;
26
+ }
27
+ interface IPromptLabMessage {
28
+ role: string;
29
+ content: string;
30
+ refusal: string;
31
+ }
32
+ interface IPromptLabResult {
33
+ index: number;
34
+ finishReason: string;
35
+ message: IPromptLabMessage;
36
+ }
37
+ export type IPromptLabData = AdminData<graphqlNormalize & Array<IPromptLabResult>, 'promptLab'>;
38
+ export declare const PROMPT_LAB: import("@apollo/client").DocumentNode;
39
+ export {};
@@ -13,3 +13,18 @@ export const DOWNLOAD_BATCH = gql `
13
13
  }
14
14
  }
15
15
  `;
16
+ export const PROMPT_LAB = gql `
17
+ mutation promptLab($input: AISettingsInput!) {
18
+ admin {
19
+ promptLab(input: $input) {
20
+ index
21
+ finishReason
22
+ message {
23
+ role
24
+ content
25
+ refusal
26
+ }
27
+ }
28
+ }
29
+ }
30
+ `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.155",
3
+ "version": "2.6.157",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",