@quesmed/types-rn 2.6.120 → 2.6.122
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/User.d.ts
CHANGED
|
@@ -291,7 +291,7 @@ export interface IUserStats {
|
|
|
291
291
|
series: [x: number, y: number][];
|
|
292
292
|
}
|
|
293
293
|
export interface IUserActivity {
|
|
294
|
-
dailyProgress: IDailyProgressData;
|
|
294
|
+
dailyProgress: IDailyProgressData[];
|
|
295
295
|
avgScore: number;
|
|
296
296
|
avgAttempted: number;
|
|
297
297
|
currentStreak: number;
|
package/package.json
CHANGED
|
@@ -61,6 +61,24 @@ export interface IUploadImagesVar {
|
|
|
61
61
|
}
|
|
62
62
|
export type IUploadImagesdata = AdminData<Omit<IResultData, 'batchId' | 'recordIds'>, 'uploadImages'>;
|
|
63
63
|
export declare const UPLOAD_IMAGES: import("@apollo/client").DocumentNode;
|
|
64
|
+
export declare enum ES3Folder {
|
|
65
|
+
Videos = "videos",
|
|
66
|
+
Files = "files",
|
|
67
|
+
Images = "",
|
|
68
|
+
AuthorImages = "author_images"
|
|
69
|
+
}
|
|
70
|
+
export interface IDeleteFilesVar {
|
|
71
|
+
keys: string[];
|
|
72
|
+
parentFolder: ES3Folder;
|
|
73
|
+
}
|
|
74
|
+
export type IDeleteFilesData = AdminData<Omit<IResultData, 'batchId' | 'recordIds'>, 'deleteFiles'>;
|
|
75
|
+
export declare const DELETE_FILES: import("@apollo/client").DocumentNode;
|
|
76
|
+
export interface IUploadFilesVar {
|
|
77
|
+
file: FileData;
|
|
78
|
+
parentFolder: ES3Folder;
|
|
79
|
+
}
|
|
80
|
+
export type IUploadFilesdata = AdminData<Omit<IResultData, 'batchId' | 'recordIds'>, 'uploadFiles'>;
|
|
81
|
+
export declare const UPLOAD_FILES: import("@apollo/client").DocumentNode;
|
|
64
82
|
export interface IDownloadImagesVar {
|
|
65
83
|
ids: number[];
|
|
66
84
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.REDIS_CALL = exports.GET_PRODUCT_TRANSACTIONS = exports.CONTACT_SYNC_STATUS = exports.CONTACT_SYNC = exports.CLONE_CONTENT = exports.DELETE_IMAGES = exports.QUEUE_STATUS = exports.DELETE_RECORDS = exports.DOWNLOAD_IMAGES = exports.UPLOAD_IMAGES = exports.PUBLIC_BATCH = exports.UPDATE_BATCH = exports.IMPORT_BATCH = exports.VALIDATE_MOCKTEST = exports.VALIDATE_QUESTIONS = exports.VALIDATE_STATIONS = exports.VALIDATE_BOOK = void 0;
|
|
3
|
+
exports.REDIS_CALL = exports.GET_PRODUCT_TRANSACTIONS = exports.CONTACT_SYNC_STATUS = exports.CONTACT_SYNC = exports.CLONE_CONTENT = exports.DELETE_IMAGES = exports.QUEUE_STATUS = exports.DELETE_RECORDS = exports.DOWNLOAD_IMAGES = exports.UPLOAD_FILES = exports.DELETE_FILES = exports.ES3Folder = exports.UPLOAD_IMAGES = exports.PUBLIC_BATCH = exports.UPDATE_BATCH = exports.IMPORT_BATCH = exports.VALIDATE_MOCKTEST = exports.VALIDATE_QUESTIONS = exports.VALIDATE_STATIONS = exports.VALIDATE_BOOK = void 0;
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
5
|
exports.VALIDATE_BOOK = (0, client_1.gql) `
|
|
6
6
|
mutation ValidateBook($input: ValidateBookInput!) {
|
|
@@ -108,6 +108,39 @@ exports.UPLOAD_IMAGES = (0, client_1.gql) `
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
`;
|
|
111
|
+
var ES3Folder;
|
|
112
|
+
(function (ES3Folder) {
|
|
113
|
+
ES3Folder["Videos"] = "videos";
|
|
114
|
+
ES3Folder["Files"] = "files";
|
|
115
|
+
ES3Folder["Images"] = "";
|
|
116
|
+
ES3Folder["AuthorImages"] = "author_images";
|
|
117
|
+
})(ES3Folder = exports.ES3Folder || (exports.ES3Folder = {}));
|
|
118
|
+
exports.DELETE_FILES = (0, client_1.gql) `
|
|
119
|
+
mutation DeleteFiles($keys: [String], $parentFolder: String) {
|
|
120
|
+
admin {
|
|
121
|
+
deleteFiles(keys: $keys, parentFolder: $parentFolder) {
|
|
122
|
+
logFile
|
|
123
|
+
status
|
|
124
|
+
message
|
|
125
|
+
data
|
|
126
|
+
errors
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
`;
|
|
131
|
+
exports.UPLOAD_FILES = (0, client_1.gql) `
|
|
132
|
+
mutation UploadFiles($file: FileDataInput!, $parentFolder: String) {
|
|
133
|
+
admin {
|
|
134
|
+
uploadFiles(file: $file, parentFolder: $parentFolder) {
|
|
135
|
+
logFile
|
|
136
|
+
status
|
|
137
|
+
message
|
|
138
|
+
data
|
|
139
|
+
errors
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
`;
|
|
111
144
|
exports.DOWNLOAD_IMAGES = (0, client_1.gql) `
|
|
112
145
|
mutation DownloadImages($ids: [Int!]!) {
|
|
113
146
|
admin {
|