@quesmed/types 2.6.203 → 2.6.205

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.
@@ -257,6 +257,7 @@ export interface IJob {
257
257
  totalRecords: number;
258
258
  createdBy: IUser['id'];
259
259
  productId: EProductType;
260
+ trial: boolean;
260
261
  metadata: IJobMetaData;
261
262
  dueDate: Date | number;
262
263
  createdAt: Date | number;
@@ -114,6 +114,7 @@ exports.LIST_JOB_FRAGMENT = (0, client_1.gql) `
114
114
  ${exports.JOB_MEMBER_FRAGMENT}
115
115
  fragment Job on Job {
116
116
  id
117
+ trial
117
118
  updatedAt
118
119
  createdAt
119
120
  recordCount
@@ -161,6 +162,7 @@ exports.FULL_JOB_FRAGMENT = (0, client_1.gql) `
161
162
  id
162
163
  updatedAt
163
164
  createdAt
165
+ trial
164
166
  recordCount
165
167
  publishedCount
166
168
  resolvedCount
@@ -1,7 +1,8 @@
1
1
  import { IChapter } from '../../../models';
2
2
  import { AdminData, graphqlNormalize } from '../../types';
3
3
  export interface IAdminChapterVar {
4
- id: number;
4
+ id?: number;
5
+ conceptId?: number;
5
6
  }
6
7
  export type IAdminChapterData = AdminData<graphqlNormalize & IChapter, 'chapter'>;
7
8
  export declare const ADMIN_CHAPTER: import("@apollo/client").DocumentNode;
@@ -5,9 +5,9 @@ const client_1 = require("@apollo/client");
5
5
  const fragments_1 = require("../../fragments");
6
6
  exports.ADMIN_CHAPTER = (0, client_1.gql) `
7
7
  ${fragments_1.PICTURE_FIELDS}
8
- query AdminChapter($id: Int!) {
8
+ query AdminChapter($id: Int!, $conceptId: Int) {
9
9
  admin {
10
- chapter(id: $id) {
10
+ chapter(id: $id, conceptId: $conceptId) {
11
11
  id
12
12
  explanation
13
13
  summary
@@ -16,6 +16,7 @@ export type IGetJobsVar = {
16
16
  memberIds?: number[];
17
17
  dbType: DB_TYPE;
18
18
  questionIds?: number[];
19
+ trial: boolean;
19
20
  };
20
21
  page: number;
21
22
  take: number;
@@ -257,6 +257,7 @@ export interface IJob {
257
257
  totalRecords: number;
258
258
  createdBy: IUser['id'];
259
259
  productId: EProductType;
260
+ trial: boolean;
260
261
  metadata: IJobMetaData;
261
262
  dueDate: Date | number;
262
263
  createdAt: Date | number;
@@ -111,6 +111,7 @@ export const LIST_JOB_FRAGMENT = gql `
111
111
  ${JOB_MEMBER_FRAGMENT}
112
112
  fragment Job on Job {
113
113
  id
114
+ trial
114
115
  updatedAt
115
116
  createdAt
116
117
  recordCount
@@ -158,6 +159,7 @@ export const FULL_JOB_FRAGMENT = gql `
158
159
  id
159
160
  updatedAt
160
161
  createdAt
162
+ trial
161
163
  recordCount
162
164
  publishedCount
163
165
  resolvedCount
@@ -1,7 +1,8 @@
1
1
  import { IChapter } from '../../../models';
2
2
  import { AdminData, graphqlNormalize } from '../../types';
3
3
  export interface IAdminChapterVar {
4
- id: number;
4
+ id?: number;
5
+ conceptId?: number;
5
6
  }
6
7
  export type IAdminChapterData = AdminData<graphqlNormalize & IChapter, 'chapter'>;
7
8
  export declare const ADMIN_CHAPTER: import("@apollo/client").DocumentNode;
@@ -2,9 +2,9 @@ import { gql } from '@apollo/client';
2
2
  import { PICTURE_FIELDS } from '../../fragments';
3
3
  export const ADMIN_CHAPTER = gql `
4
4
  ${PICTURE_FIELDS}
5
- query AdminChapter($id: Int!) {
5
+ query AdminChapter($id: Int!, $conceptId: Int) {
6
6
  admin {
7
- chapter(id: $id) {
7
+ chapter(id: $id, conceptId: $conceptId) {
8
8
  id
9
9
  explanation
10
10
  summary
@@ -16,6 +16,7 @@ export type IGetJobsVar = {
16
16
  memberIds?: number[];
17
17
  dbType: DB_TYPE;
18
18
  questionIds?: number[];
19
+ trial: boolean;
19
20
  };
20
21
  page: number;
21
22
  take: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.203",
3
+ "version": "2.6.205",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",