@quesmed/types-rn 2.6.162 → 2.6.164

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
@@ -97,11 +97,12 @@ export interface IJobRecordQuestion {
97
97
  explanation?: string | null;
98
98
  learningPoint?: string | null;
99
99
  answer: Exclude<IQuestionAnswer, 'string'>;
100
- themes?: number[];
100
+ themeIds?: number[];
101
101
  entitlementIds?: EEntitlementType[];
102
102
  conditionIds?: number[];
103
103
  presentationIds?: number[];
104
104
  typeId: EQuestionType;
105
+ subTypeId?: string | null;
105
106
  choices: Array<Pick<IQuestionChoice, 'label' | 'name' | 'answer'> & {
106
107
  explanation?: IQuestionChoice['explanation'];
107
108
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.162",
3
+ "version": "2.6.164",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -71,6 +71,7 @@ exports.JOB_RECORD_QUESTION_FRAGMENT = (0, client_1.gql) `
71
71
  typeId
72
72
  answer
73
73
  entitlementIds
74
+ themeIds
74
75
  presentationIds
75
76
  conditionIds
76
77
  choices {
@@ -192,6 +192,7 @@ export type IDropdownOptionsVar = {
192
192
  table: string | null;
193
193
  search: string | null;
194
194
  force: boolean;
195
+ entitlementIds?: number[] | null;
195
196
  };
196
197
  export type IDropdownOptionsData = AdminData<Array<{
197
198
  key: string;
@@ -358,9 +358,19 @@ exports.USER_CANCELLATION_REASONS = (0, client_1.gql) `
358
358
  }
359
359
  `;
360
360
  exports.DROPDOWN_OPTIONS = (0, client_1.gql) `
361
- query DropdownOptions($table: String, $search: String, $force: Boolean!) {
361
+ query DropdownOptions(
362
+ $table: String
363
+ $search: String
364
+ $force: Boolean!
365
+ $entitlementIds: [Int!]
366
+ ) {
362
367
  admin {
363
- dropdownOptions(force: $force, search: $search, table: $table) {
368
+ dropdownOptions(
369
+ force: $force
370
+ search: $search
371
+ table: $table
372
+ entitlementIds: $entitlementIds
373
+ ) {
364
374
  key
365
375
  value
366
376
  description