cloud-ide-lms-model 1.0.154 → 1.0.156
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.
|
@@ -15,6 +15,11 @@ declare class MCoreSymeInsertUpdatePayload extends ICoreSyme {
|
|
|
15
15
|
constructor(init: ICoreSyme);
|
|
16
16
|
Validate?(): Partial<IMenuErrorLogger>;
|
|
17
17
|
}
|
|
18
|
+
declare class MCoreSymeGetByIdPayload {
|
|
19
|
+
syme_id?: string;
|
|
20
|
+
constructor(init: MCoreSymeGetByIdPayload);
|
|
21
|
+
Validate?(): Partial<IMenuErrorLogger>;
|
|
22
|
+
}
|
|
18
23
|
declare class MCoreSymeDeletePayload {
|
|
19
24
|
syme_id?: string;
|
|
20
25
|
constructor(init: MCoreSymeDeletePayload);
|
|
@@ -55,4 +60,4 @@ interface menuResponseData {
|
|
|
55
60
|
export { IMenuErrorLogger, //interface
|
|
56
61
|
MMenu, // model
|
|
57
62
|
menuControllerResponse, // above coresponding to payload abd this corespons to rresponse
|
|
58
|
-
menuListControllerResponse, menuResponseData, MMenuListPayload, MCoreSymeInsertUpdatePayload, MCoreSymeDeletePayload, menuInsertUpdateControllerResponse, menuByIdControllerResponse };
|
|
63
|
+
menuListControllerResponse, menuResponseData, MMenuListPayload, MCoreSymeInsertUpdatePayload, MCoreSymeDeletePayload, menuInsertUpdateControllerResponse, menuByIdControllerResponse, MCoreSymeGetByIdPayload };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MCoreSymeDeletePayload = exports.MCoreSymeInsertUpdatePayload = exports.MMenuListPayload = exports.MMenu = void 0;
|
|
3
|
+
exports.MCoreSymeGetByIdPayload = exports.MCoreSymeDeletePayload = exports.MCoreSymeInsertUpdatePayload = exports.MMenuListPayload = exports.MMenu = void 0;
|
|
4
4
|
const common_types_1 = require("../../common-types");
|
|
5
5
|
const schema_1 = require("../../schema");
|
|
6
6
|
/* INTERFACE END */
|
|
@@ -27,6 +27,19 @@ class MCoreSymeInsertUpdatePayload extends schema_1.ICoreSyme {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
exports.MCoreSymeInsertUpdatePayload = MCoreSymeInsertUpdatePayload;
|
|
30
|
+
class MCoreSymeGetByIdPayload {
|
|
31
|
+
constructor(init) {
|
|
32
|
+
Object.assign(this, init);
|
|
33
|
+
}
|
|
34
|
+
Validate() {
|
|
35
|
+
let errorLogger = {};
|
|
36
|
+
if (!this.syme_id) {
|
|
37
|
+
errorLogger.syme_id = "System menu ID is Required!";
|
|
38
|
+
}
|
|
39
|
+
return errorLogger;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.MCoreSymeGetByIdPayload = MCoreSymeGetByIdPayload;
|
|
30
43
|
class MCoreSymeDeletePayload {
|
|
31
44
|
constructor(init) {
|
|
32
45
|
Object.assign(this, init);
|
|
@@ -13,7 +13,7 @@ export type log_type = 'TRACE' | 'SECURITY' | 'APPLICATION_ERROR';
|
|
|
13
13
|
* @property {string} diagnostic_code - code for specific application errors, e.g., 'APPLICATION_ERROR_500'
|
|
14
14
|
* to understand falure type read statusCode from type.helper.ts
|
|
15
15
|
*/
|
|
16
|
-
export type diagnostic_code = "APPLICATION_ERR_200" | "APPLICATION_ERR_500" | "APPLICATION_ERR_201" | "APPLICATION_ERR_401" | "APPLICATION_ERR_400" | "APPLICATION_ERR_427" | "APPLICATION_ERR_783" | "APPLICATION_ERR_430" | "APPLICATION_ERR_449" | "APPLICATION_ERR_419" | "APPLICATION_ERR_403";
|
|
16
|
+
export type diagnostic_code = "APPLICATION_ERR_200" | "APPLICATION_ERR_500" | "APPLICATION_ERR_201" | "APPLICATION_ERR_401" | "APPLICATION_ERR_400" | "APPLICATION_ERR_427" | "APPLICATION_ERR_783" | "APPLICATION_ERR_430" | "APPLICATION_ERR_449" | "APPLICATION_ERR_419" | "APPLICATION_ERR_403" | "APPLICATION_ERR_404";
|
|
17
17
|
declare class ICoreSylog {
|
|
18
18
|
_id?: string;
|
|
19
19
|
sylog_id_user?: string;
|