cloud-ide-lms-model 1.0.150 → 1.0.152

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.
@@ -1,14 +1,14 @@
1
+ import { MTableQueries } from "../../common-types";
1
2
  import { ICoreSyme } from "../../schema";
2
3
  import { controllerResponse } from "../../utilities";
3
4
  type IMenuErrorLogger = {
4
5
  [key in keyof MMenu]: string;
5
6
  };
6
- declare class MMenuListPayload {
7
+ declare class MMenuListPayload extends MTableQueries {
7
8
  syme_id?: string;
8
9
  syme_title?: string;
9
10
  syme_type?: string;
10
- sort?: 'asc' | 'desc';
11
- constructor(init: MMenu);
11
+ constructor(init: MMenuListPayload);
12
12
  Validate?(): Partial<IMenuErrorLogger>;
13
13
  }
14
14
  declare class MMenu {
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MMenuListPayload = exports.MMenu = void 0;
4
+ const common_types_1 = require("../../common-types");
4
5
  /* INTERFACE END */
5
6
  /* MODEL START */
6
- class MMenuListPayload {
7
+ class MMenuListPayload extends common_types_1.MTableQueries {
7
8
  constructor(init) {
9
+ super(init);
8
10
  Object.assign(this, init);
9
11
  }
10
12
  Validate() {
@@ -45,5 +45,9 @@ declare const coreRoutesUrl: {
45
45
  * @description Endpoint to get the country (country)
46
46
  */
47
47
  country: string;
48
+ /**
49
+ * @description Endpoint to get the menu (menu)
50
+ */
51
+ menu: string;
48
52
  };
49
53
  export { coreRoutesUrl };
@@ -47,7 +47,11 @@ const coreRoutesUrl = {
47
47
  /**
48
48
  * @description Endpoint to get the country (country)
49
49
  */
50
- country: "country"
50
+ country: "country",
51
+ /**
52
+ * @description Endpoint to get the menu (menu)
53
+ */
54
+ menu: "menu"
51
55
  };
52
56
  exports.coreRoutesUrl = coreRoutesUrl;
53
57
  Object.freeze(coreRoutesUrl);
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "typescript": "^5.4.2"
6
6
  },
7
7
  "name": "cloud-ide-lms-model",
8
- "version": "1.0.150",
8
+ "version": "1.0.152",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",