@quesmed/types-rn 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.
package/models/Job.d.ts
CHANGED
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -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
|
+
`;
|