cloud-ide-lms-model 1.0.183 → 1.0.185

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.
@@ -42,7 +42,7 @@ export declare class MGeneralMasterType {
42
42
  sygmt_configuration?: Record<string, any>;
43
43
  sygmt_id_sygmt?: string;
44
44
  constructor(init: Partial<MGeneralMasterType>);
45
- validate(): Partial<Record<keyof MGeneralMasterType, string>>;
45
+ Validate?(): Partial<Record<keyof MGeneralMasterType, string>>;
46
46
  }
47
47
  export interface ICoreGeneralMaster {
48
48
  _id: string;
@@ -6,7 +6,7 @@ class MGeneralMasterType {
6
6
  constructor(init) {
7
7
  Object.assign(this, init);
8
8
  }
9
- validate() {
9
+ Validate() {
10
10
  let errorLogger = {};
11
11
  if (!this.sygmt_code) {
12
12
  errorLogger.sygmt_code = "Type code is required";
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.183",
8
+ "version": "1.0.185",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",