cloud-ide-lms-model 1.0.264 → 1.0.265
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/lib/model/core/core_file_manager.d.ts +19 -1
- package/lib/model/core/core_file_manager.js +18 -1
- package/lib/routes/coreRoutes.d.ts +2 -2
- package/lib/routes/coreRoutes.js +2 -2
- package/lib/schema/core/core_file_manager.d.ts +14 -14
- package/lib/schema/core/core_file_manager.js +5 -0
- package/package.json +1 -1
|
@@ -8,13 +8,31 @@ declare class MFileManager {
|
|
|
8
8
|
constructor(init: MFileManager);
|
|
9
9
|
Validate?(): Partial<IFileManagerErrorLogger>;
|
|
10
10
|
}
|
|
11
|
+
declare class ICoreCyfmSave extends ICoreCyfm {
|
|
12
|
+
cyfm_file_base64: string;
|
|
13
|
+
cyfm_temp_unique_id: string;
|
|
14
|
+
constructor(init: ICoreCyfmSave);
|
|
15
|
+
}
|
|
16
|
+
declare class CoreFileManagerSaveUpdatePayload {
|
|
17
|
+
core_file_manager_new: ICoreCyfmSave[];
|
|
18
|
+
core_file_manager_update: ICoreCyfm[];
|
|
19
|
+
core_file_manager_delete: ICoreCyfm[];
|
|
20
|
+
}
|
|
11
21
|
interface fileManagerResponseData extends ICoreCyfm {
|
|
12
22
|
cyfm_file_base64: string;
|
|
13
23
|
}
|
|
14
24
|
interface fileManagerControllerResponse extends controllerResponse {
|
|
15
25
|
data?: fileManagerResponseData[];
|
|
16
26
|
}
|
|
27
|
+
interface CoreFileManagerSaveUpdateResponse extends controllerResponse {
|
|
28
|
+
data?: {
|
|
29
|
+
core_file_manager: {
|
|
30
|
+
cyfm_id: string;
|
|
31
|
+
cyfm_temp_unique_id: string;
|
|
32
|
+
}[];
|
|
33
|
+
};
|
|
34
|
+
}
|
|
17
35
|
export { IFileManagerErrorLogger, //interface
|
|
18
36
|
MFileManager, // model
|
|
19
37
|
fileManagerControllerResponse, // above coresponding to payload abd this corespons to rresponse,
|
|
20
|
-
fileManagerResponseData };
|
|
38
|
+
fileManagerResponseData, CoreFileManagerSaveUpdatePayload, CoreFileManagerSaveUpdateResponse };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MFileManager = void 0;
|
|
3
|
+
exports.CoreFileManagerSaveUpdatePayload = exports.MFileManager = void 0;
|
|
4
|
+
const schema_1 = require("../../schema");
|
|
4
5
|
/* INTERFACE END */
|
|
5
6
|
/* MODEL START */
|
|
6
7
|
class MFileManager {
|
|
@@ -18,3 +19,19 @@ class MFileManager {
|
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
21
|
exports.MFileManager = MFileManager;
|
|
22
|
+
class ICoreCyfmSave extends schema_1.ICoreCyfm {
|
|
23
|
+
constructor(init) {
|
|
24
|
+
super();
|
|
25
|
+
this.cyfm_file_base64 = "";
|
|
26
|
+
this.cyfm_temp_unique_id = "";
|
|
27
|
+
Object.assign(this, init);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
class CoreFileManagerSaveUpdatePayload {
|
|
31
|
+
constructor() {
|
|
32
|
+
this.core_file_manager_new = [];
|
|
33
|
+
this.core_file_manager_update = [];
|
|
34
|
+
this.core_file_manager_delete = [];
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.CoreFileManagerSaveUpdatePayload = CoreFileManagerSaveUpdatePayload;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const coreRoutesUrl: {
|
|
2
2
|
module: string;
|
|
3
|
-
/** Endpoint to get file details (
|
|
3
|
+
/** Endpoint to get file details (file-manager)
|
|
4
4
|
* for more details refer https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit?pli=1#bookmark=id.nhxx52qzdmct
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
fileManager: string;
|
|
7
7
|
/**
|
|
8
8
|
* @description Endpoint to get sidebar menu (menu)
|
|
9
9
|
* for more details refer @link {https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit?pli=1&tab=t.0#bookmark=id.ze2wrml3eew3}
|
package/lib/routes/coreRoutes.js
CHANGED
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.coreRoutesUrl = void 0;
|
|
4
4
|
const coreRoutesUrl = {
|
|
5
5
|
module: 'core',
|
|
6
|
-
/** Endpoint to get file details (
|
|
6
|
+
/** Endpoint to get file details (file-manager)
|
|
7
7
|
* for more details refer https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit?pli=1#bookmark=id.nhxx52qzdmct
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
fileManager: "file-manager",
|
|
10
10
|
/**
|
|
11
11
|
* @description Endpoint to get sidebar menu (menu)
|
|
12
12
|
* for more details refer @link {https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit?pli=1&tab=t.0#bookmark=id.ze2wrml3eew3}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
_id
|
|
3
|
-
cyfm_name
|
|
4
|
-
cyfm_alt_text
|
|
5
|
-
cyfm_path
|
|
6
|
-
cyfm_size_in_byte
|
|
7
|
-
cyfm_type
|
|
8
|
-
cyfm_creation_dt
|
|
9
|
-
cyfm_id_user
|
|
10
|
-
cyfm_permissions
|
|
11
|
-
cyfm_tags
|
|
12
|
-
cyfm_version
|
|
13
|
-
cyfm_file_status_sygmt
|
|
14
|
-
cyfm_isactive
|
|
1
|
+
declare class ICoreCyfm {
|
|
2
|
+
_id?: string;
|
|
3
|
+
cyfm_name?: string;
|
|
4
|
+
cyfm_alt_text?: string;
|
|
5
|
+
cyfm_path?: string;
|
|
6
|
+
cyfm_size_in_byte?: number;
|
|
7
|
+
cyfm_type?: string;
|
|
8
|
+
cyfm_creation_dt?: string;
|
|
9
|
+
cyfm_id_user?: string;
|
|
10
|
+
cyfm_permissions?: [];
|
|
11
|
+
cyfm_tags?: string[];
|
|
12
|
+
cyfm_version?: number;
|
|
13
|
+
cyfm_file_status_sygmt?: string;
|
|
14
|
+
cyfm_isactive?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export { ICoreCyfm };
|