cloud-ide-lms-model 1.0.265 → 1.0.266
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.
|
@@ -13,10 +13,12 @@ declare class ICoreCyfmSave extends ICoreCyfm {
|
|
|
13
13
|
cyfm_temp_unique_id: string;
|
|
14
14
|
constructor(init: ICoreCyfmSave);
|
|
15
15
|
}
|
|
16
|
-
declare class
|
|
16
|
+
declare class CoreFileManagerInsertUpdatePayload {
|
|
17
17
|
core_file_manager_new: ICoreCyfmSave[];
|
|
18
18
|
core_file_manager_update: ICoreCyfm[];
|
|
19
19
|
core_file_manager_delete: ICoreCyfm[];
|
|
20
|
+
constructor(init: MFileManager);
|
|
21
|
+
Validate?(): Partial<IFileManagerErrorLogger>;
|
|
20
22
|
}
|
|
21
23
|
interface fileManagerResponseData extends ICoreCyfm {
|
|
22
24
|
cyfm_file_base64: string;
|
|
@@ -24,7 +26,7 @@ interface fileManagerResponseData extends ICoreCyfm {
|
|
|
24
26
|
interface fileManagerControllerResponse extends controllerResponse {
|
|
25
27
|
data?: fileManagerResponseData[];
|
|
26
28
|
}
|
|
27
|
-
interface
|
|
29
|
+
interface CoreFileManagerInsertUpdateResponse extends controllerResponse {
|
|
28
30
|
data?: {
|
|
29
31
|
core_file_manager: {
|
|
30
32
|
cyfm_id: string;
|
|
@@ -35,4 +37,4 @@ interface CoreFileManagerSaveUpdateResponse extends controllerResponse {
|
|
|
35
37
|
export { IFileManagerErrorLogger, //interface
|
|
36
38
|
MFileManager, // model
|
|
37
39
|
fileManagerControllerResponse, // above coresponding to payload abd this corespons to rresponse,
|
|
38
|
-
fileManagerResponseData,
|
|
40
|
+
fileManagerResponseData, CoreFileManagerInsertUpdatePayload, CoreFileManagerInsertUpdateResponse };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CoreFileManagerInsertUpdatePayload = exports.MFileManager = void 0;
|
|
4
4
|
const schema_1 = require("../../schema");
|
|
5
5
|
/* INTERFACE END */
|
|
6
6
|
/* MODEL START */
|
|
@@ -27,11 +27,17 @@ class ICoreCyfmSave extends schema_1.ICoreCyfm {
|
|
|
27
27
|
Object.assign(this, init);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
class
|
|
31
|
-
constructor() {
|
|
30
|
+
class CoreFileManagerInsertUpdatePayload {
|
|
31
|
+
constructor(init) {
|
|
32
32
|
this.core_file_manager_new = [];
|
|
33
33
|
this.core_file_manager_update = [];
|
|
34
34
|
this.core_file_manager_delete = [];
|
|
35
|
+
Object.assign(this, init);
|
|
36
|
+
}
|
|
37
|
+
Validate() {
|
|
38
|
+
let errorLogger = {};
|
|
39
|
+
// Log errors here
|
|
40
|
+
return errorLogger;
|
|
35
41
|
}
|
|
36
42
|
}
|
|
37
|
-
exports.
|
|
43
|
+
exports.CoreFileManagerInsertUpdatePayload = CoreFileManagerInsertUpdatePayload;
|