@quesmed/types-rn 2.6.177 → 2.6.179

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.
@@ -90,34 +90,34 @@ export interface FileData {
90
90
  size: number;
91
91
  }
92
92
  export interface IForcedChecks {
93
- question: boolean;
94
- topic: boolean;
95
- theme: boolean;
96
- ukmlaTopic: boolean;
97
- concept: boolean;
98
- station: boolean;
99
- presentation: boolean;
100
- condition: boolean;
93
+ question: boolean | null;
94
+ topic: boolean | null;
95
+ theme: boolean | null;
96
+ ukmlaTopic: boolean | null;
97
+ concept: boolean | null;
98
+ station: boolean | null;
99
+ presentation: boolean | null;
100
+ condition: boolean | null;
101
101
  }
102
102
  export interface IForcedInserts {
103
- question: boolean;
104
- topic: boolean;
105
- theme: boolean;
106
- ukmlaTopic: boolean;
107
- concept: boolean;
108
- station: boolean;
109
- presentation: boolean;
110
- condition: boolean;
103
+ question: boolean | null;
104
+ topic: boolean | null;
105
+ theme: boolean | null;
106
+ ukmlaTopic: boolean | null;
107
+ concept: boolean | null;
108
+ station: boolean | null;
109
+ presentation: boolean | null;
110
+ condition: boolean | null;
111
111
  }
112
112
  export interface IOverwriteOpts {
113
- batchId: string | null;
114
- resetLikes: boolean;
115
- resetProgress: boolean;
116
- resetVotes: boolean;
117
- picture: boolean;
113
+ batchId: string;
114
+ resetLikes: boolean | null;
115
+ resetProgress: boolean | null;
116
+ resetVotes: boolean | null;
117
+ picture: boolean | null;
118
118
  }
119
- export interface IContentArgs {
120
- file: FileData;
119
+ export interface IContentArgs<T = FileData> {
120
+ file: File | T;
121
121
  grammarType: EGrammarType;
122
122
  difficulty: EDifficultyType;
123
123
  folders: string[];
package/models/Job.d.ts CHANGED
@@ -153,6 +153,7 @@ export interface IJobRecordMetricsSummary {
153
153
  comments: IQuestionComment[];
154
154
  likes: number;
155
155
  dislikes: number;
156
+ public: boolean;
156
157
  }
157
158
  export interface IJobRecordChoiceVote {
158
159
  id: Id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.177",
3
+ "version": "2.6.179",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -38,6 +38,7 @@ exports.JOB_RECORD_METRICS_SUMMARY_FRAGMENT = (0, client_1.gql) `
38
38
  commentCount
39
39
  likes
40
40
  dislikes
41
+ public
41
42
  }
42
43
  `;
43
44
  exports.JOB_RECORD_CHOICE_SUMMARY_FRAGMENT = (0, client_1.gql) `
@@ -67,7 +67,7 @@ export type IToggleVisibilityVar = {
67
67
  export type IToggleVisibilityData = AdminData<IContentResult, 'toggleVisibility'>;
68
68
  export declare const TOGGLE_VISIBILITY: import("@apollo/client").DocumentNode;
69
69
  export interface IUploadImagesVar {
70
- file: FileData;
70
+ file: File | FileData;
71
71
  }
72
72
  export type IUploadImagesdata = AdminData<Omit<IResultData, 'batchId' | 'recordIds'>, 'uploadImages'>;
73
73
  export declare const UPLOAD_IMAGES: import("@apollo/client").DocumentNode;
@@ -85,7 +85,7 @@ export interface IDeleteFilesVar {
85
85
  export type IDeleteFilesData = AdminData<Omit<IResultData, 'batchId' | 'recordIds'>, 'deleteFiles'>;
86
86
  export declare const DELETE_FILES: import("@apollo/client").DocumentNode;
87
87
  export interface IUploadFilesVar {
88
- file: FileData;
88
+ file: File | FileData;
89
89
  parentFolder: ES3Folder;
90
90
  }
91
91
  export type IUploadFilesdata = AdminData<Omit<IResultData, 'batchId' | 'recordIds'>, 'uploadFiles'>;
@@ -115,7 +115,7 @@ export interface IDeleteImagesVar {
115
115
  export type IDeleteImagesdata = AdminData<IResultData, 'deleteImages'>;
116
116
  export declare const DELETE_IMAGES: import("@apollo/client").DocumentNode;
117
117
  export interface ICloneContentVar {
118
- file: FileData;
118
+ file: File | FileData;
119
119
  source: DB_TYPE;
120
120
  destination: DB_TYPE;
121
121
  type: EBatchType;