@quesmed/types 2.6.165 → 2.6.166

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.
@@ -99,6 +99,7 @@ export interface IJobRecordQuestion {
99
99
  answer: Exclude<IQuestionAnswer, 'string'>;
100
100
  themeIds?: number[];
101
101
  entitlementIds?: EEntitlementType[];
102
+ ukmlaTopicId?: number | null;
102
103
  conditionIds?: number[];
103
104
  presentationIds?: number[];
104
105
  typeId: EQuestionType;
@@ -75,6 +75,7 @@ exports.JOB_RECORD_QUESTION_FRAGMENT = (0, client_1.gql) `
75
75
  subTypeId
76
76
  presentationIds
77
77
  conditionIds
78
+ ukmlaTopicId
78
79
  choices {
79
80
  label
80
81
  name
@@ -193,6 +193,7 @@ export type IDropdownOptionsVar = {
193
193
  search: string | null;
194
194
  force: boolean;
195
195
  entitlementIds?: number[] | null;
196
+ topicIds?: number[] | null;
196
197
  };
197
198
  export type IDropdownOptionsData = AdminData<Array<{
198
199
  key: string;
@@ -363,6 +363,7 @@ exports.DROPDOWN_OPTIONS = (0, client_1.gql) `
363
363
  $search: String
364
364
  $force: Boolean!
365
365
  $entitlementIds: [Int!]
366
+ $topicIds: [Int!]
366
367
  ) {
367
368
  admin {
368
369
  dropdownOptions(
@@ -370,6 +371,7 @@ exports.DROPDOWN_OPTIONS = (0, client_1.gql) `
370
371
  search: $search
371
372
  table: $table
372
373
  entitlementIds: $entitlementIds
374
+ topicIds: $topicIds
373
375
  ) {
374
376
  key
375
377
  value
@@ -1,4 +1,4 @@
1
- import { EJobStatus, IJob, IJobRecord, IJobRemark } from '../../../models';
1
+ import { EJobStatus, IJob, IJobRecord, IJobRemark, Id } from '../../../models';
2
2
  import { AdminData } from '../../types';
3
3
  export declare const GET_JOB: import("@apollo/client").DocumentNode;
4
4
  export type IGetJobVar = {
@@ -39,3 +39,12 @@ export type IGetJobRecordVar = {
39
39
  id: IJobRecord['id'];
40
40
  };
41
41
  export type IGetJobRecordData = AdminData<IJobRecord, 'getJobRecord'>;
42
+ export type IGetIdDetailsVar = {
43
+ ids: Array<Id>;
44
+ table: string;
45
+ };
46
+ export type IGetIdDetailsData = AdminData<Array<{
47
+ id: Id;
48
+ name: string;
49
+ }>, 'getIdDetails'>;
50
+ export declare const GET_ID_DETAILS: import("@apollo/client").DocumentNode;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GET_JOB_RECORD = exports.GET_JOB_RECORDS = exports.GET_JOB_REMARKS = exports.GET_JOBS = exports.GET_JOB = void 0;
3
+ exports.GET_ID_DETAILS = exports.GET_JOB_RECORD = exports.GET_JOB_RECORDS = exports.GET_JOB_REMARKS = exports.GET_JOBS = exports.GET_JOB = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  const fragments_1 = require("../../fragments");
6
6
  exports.GET_JOB = (0, client_1.gql) `
@@ -60,3 +60,13 @@ exports.GET_JOB_RECORD = (0, client_1.gql) `
60
60
  }
61
61
  }
62
62
  `;
63
+ exports.GET_ID_DETAILS = (0, client_1.gql) `
64
+ query GetIdDetails($ids: [ID!]!, $table: String!) {
65
+ admin {
66
+ getIdDetails(ids: $ids, table: $table) {
67
+ id
68
+ name
69
+ }
70
+ }
71
+ }
72
+ `;
@@ -99,6 +99,7 @@ export interface IJobRecordQuestion {
99
99
  answer: Exclude<IQuestionAnswer, 'string'>;
100
100
  themeIds?: number[];
101
101
  entitlementIds?: EEntitlementType[];
102
+ ukmlaTopicId?: number | null;
102
103
  conditionIds?: number[];
103
104
  presentationIds?: number[];
104
105
  typeId: EQuestionType;
@@ -72,6 +72,7 @@ export const JOB_RECORD_QUESTION_FRAGMENT = gql `
72
72
  subTypeId
73
73
  presentationIds
74
74
  conditionIds
75
+ ukmlaTopicId
75
76
  choices {
76
77
  label
77
78
  name
@@ -193,6 +193,7 @@ export type IDropdownOptionsVar = {
193
193
  search: string | null;
194
194
  force: boolean;
195
195
  entitlementIds?: number[] | null;
196
+ topicIds?: number[] | null;
196
197
  };
197
198
  export type IDropdownOptionsData = AdminData<Array<{
198
199
  key: string;
@@ -360,6 +360,7 @@ export const DROPDOWN_OPTIONS = gql `
360
360
  $search: String
361
361
  $force: Boolean!
362
362
  $entitlementIds: [Int!]
363
+ $topicIds: [Int!]
363
364
  ) {
364
365
  admin {
365
366
  dropdownOptions(
@@ -367,6 +368,7 @@ export const DROPDOWN_OPTIONS = gql `
367
368
  search: $search
368
369
  table: $table
369
370
  entitlementIds: $entitlementIds
371
+ topicIds: $topicIds
370
372
  ) {
371
373
  key
372
374
  value
@@ -1,4 +1,4 @@
1
- import { EJobStatus, IJob, IJobRecord, IJobRemark } from '../../../models';
1
+ import { EJobStatus, IJob, IJobRecord, IJobRemark, Id } from '../../../models';
2
2
  import { AdminData } from '../../types';
3
3
  export declare const GET_JOB: import("@apollo/client").DocumentNode;
4
4
  export type IGetJobVar = {
@@ -39,3 +39,12 @@ export type IGetJobRecordVar = {
39
39
  id: IJobRecord['id'];
40
40
  };
41
41
  export type IGetJobRecordData = AdminData<IJobRecord, 'getJobRecord'>;
42
+ export type IGetIdDetailsVar = {
43
+ ids: Array<Id>;
44
+ table: string;
45
+ };
46
+ export type IGetIdDetailsData = AdminData<Array<{
47
+ id: Id;
48
+ name: string;
49
+ }>, 'getIdDetails'>;
50
+ export declare const GET_ID_DETAILS: import("@apollo/client").DocumentNode;
@@ -57,3 +57,13 @@ export const GET_JOB_RECORD = gql `
57
57
  }
58
58
  }
59
59
  `;
60
+ export const GET_ID_DETAILS = gql `
61
+ query GetIdDetails($ids: [ID!]!, $table: String!) {
62
+ admin {
63
+ getIdDetails(ids: $ids, table: $table) {
64
+ id
65
+ name
66
+ }
67
+ }
68
+ }
69
+ `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.165",
3
+ "version": "2.6.166",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",