cloud-ide-lms-model 1.0.149 → 1.0.150
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.
|
@@ -3,6 +3,14 @@ import { controllerResponse } from "../../utilities";
|
|
|
3
3
|
type IMenuErrorLogger = {
|
|
4
4
|
[key in keyof MMenu]: string;
|
|
5
5
|
};
|
|
6
|
+
declare class MMenuListPayload {
|
|
7
|
+
syme_id?: string;
|
|
8
|
+
syme_title?: string;
|
|
9
|
+
syme_type?: string;
|
|
10
|
+
sort?: 'asc' | 'desc';
|
|
11
|
+
constructor(init: MMenu);
|
|
12
|
+
Validate?(): Partial<IMenuErrorLogger>;
|
|
13
|
+
}
|
|
6
14
|
declare class MMenu {
|
|
7
15
|
syme_id?: string;
|
|
8
16
|
syme_title?: string;
|
|
@@ -32,4 +40,4 @@ interface menuResponseData {
|
|
|
32
40
|
export { IMenuErrorLogger, //interface
|
|
33
41
|
MMenu, // model
|
|
34
42
|
menuControllerResponse, // above coresponding to payload abd this corespons to rresponse
|
|
35
|
-
menuListControllerResponse, menuResponseData };
|
|
43
|
+
menuListControllerResponse, menuResponseData, MMenuListPayload };
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MMenu = void 0;
|
|
3
|
+
exports.MMenuListPayload = exports.MMenu = void 0;
|
|
4
4
|
/* INTERFACE END */
|
|
5
5
|
/* MODEL START */
|
|
6
|
+
class MMenuListPayload {
|
|
7
|
+
constructor(init) {
|
|
8
|
+
Object.assign(this, init);
|
|
9
|
+
}
|
|
10
|
+
Validate() {
|
|
11
|
+
let errorLogger = {};
|
|
12
|
+
return errorLogger;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.MMenuListPayload = MMenuListPayload;
|
|
6
16
|
class MMenu {
|
|
7
17
|
constructor(init) {
|
|
8
18
|
Object.assign(this, init);
|