@quesmed/types 2.6.162 → 2.6.163

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.
@@ -97,7 +97,7 @@ 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[];
@@ -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
@@ -97,7 +97,7 @@ 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[];
@@ -68,6 +68,7 @@ export const JOB_RECORD_QUESTION_FRAGMENT = gql `
68
68
  typeId
69
69
  answer
70
70
  entitlementIds
71
+ themeIds
71
72
  presentationIds
72
73
  conditionIds
73
74
  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;
@@ -355,9 +355,19 @@ export const USER_CANCELLATION_REASONS = gql `
355
355
  }
356
356
  `;
357
357
  export const DROPDOWN_OPTIONS = gql `
358
- query DropdownOptions($table: String, $search: String, $force: Boolean!) {
358
+ query DropdownOptions(
359
+ $table: String
360
+ $search: String
361
+ $force: Boolean!
362
+ $entitlementIds: [Int!]
363
+ ) {
359
364
  admin {
360
- dropdownOptions(force: $force, search: $search, table: $table) {
365
+ dropdownOptions(
366
+ force: $force
367
+ search: $search
368
+ table: $table
369
+ entitlementIds: $entitlementIds
370
+ ) {
361
371
  key
362
372
  value
363
373
  description
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.162",
3
+ "version": "2.6.163",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",