cloud-ide-lms-model 1.0.144 → 1.0.146

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.
@@ -9,10 +9,10 @@ class MPinCodeSelect {
9
9
  }
10
10
  Validate() {
11
11
  let errorLogger = {};
12
- if (!this.sypin_pincode) {
12
+ if (this.sypin_pincode === undefined) {
13
13
  errorLogger.sypin_pincode = "Pin Code is Required!";
14
14
  }
15
- else if (!this.sypin_id && !this.sypin_pincode) {
15
+ else if (this.sypin_id === undefined && this.sypin_pincode === undefined) {
16
16
  errorLogger.sypin_id = "Pin Code ID is Required!";
17
17
  }
18
18
  return errorLogger;
@@ -25,6 +25,10 @@ declare const coreRoutesUrl: {
25
25
  * @description Endpoint to get the entitly list (get-entity-list)
26
26
  */
27
27
  entity: string;
28
+ /**
29
+ * @description Endpoint to get the entity by id (entity-by-id)
30
+ */
31
+ entityById: string;
28
32
  /**
29
33
  * @description Endpoint to get the general master (general-master)
30
34
  */
@@ -28,6 +28,10 @@ const coreRoutesUrl = {
28
28
  * @description Endpoint to get the entitly list (get-entity-list)
29
29
  */
30
30
  entity: "entity",
31
+ /**
32
+ * @description Endpoint to get the entity by id (entity-by-id)
33
+ */
34
+ entityById: "entity-by-id",
31
35
  /**
32
36
  * @description Endpoint to get the general master (general-master)
33
37
  */
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.144",
8
+ "version": "1.0.146",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",