cloud-ide-model-schema 1.0.12 → 1.0.13

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.
@@ -19,7 +19,7 @@ declare class MReLogin {
19
19
  mpin_pin?: string;
20
20
  token?: string;
21
21
  constructor(init: MReLogin);
22
- reLoginValidate(): Partial<IReLoginErrorLogger>;
22
+ Validate(): Partial<IReLoginErrorLogger>;
23
23
  }
24
24
  export { ILoginErrorLogger, //interface,
25
25
  IReLoginErrorLogger, MLogin, // model
@@ -60,7 +60,7 @@ var MReLogin = /** @class */ (function () {
60
60
  function MReLogin(init) {
61
61
  Object.assign(this, init);
62
62
  }
63
- MReLogin.prototype.reLoginValidate = function () {
63
+ MReLogin.prototype.Validate = function () {
64
64
  var _a, _b;
65
65
  var errorLogger = {};
66
66
  if (!this.token) {
@@ -4,7 +4,7 @@ type IDesignConfigErrorLogger = {
4
4
  declare class MDesignConfig {
5
5
  sypg_page_code?: string;
6
6
  constructor(init: MDesignConfig);
7
- designConfigValidate(): Partial<IDesignConfigErrorLogger>;
7
+ Validate(): Partial<IDesignConfigErrorLogger>;
8
8
  }
9
9
  export { IDesignConfigErrorLogger, //interface
10
10
  MDesignConfig };
@@ -7,7 +7,7 @@ var MDesignConfig = /** @class */ (function () {
7
7
  function MDesignConfig(init) {
8
8
  Object.assign(this, init);
9
9
  }
10
- MDesignConfig.prototype.designConfigValidate = function () {
10
+ MDesignConfig.prototype.Validate = function () {
11
11
  var errorLogger = {};
12
12
  if (!this.sypg_page_code) {
13
13
  errorLogger.sypg_page_code = "Page Code is Required!";
@@ -5,7 +5,7 @@ type IEntityErrorLogger = {
5
5
  declare class MEntity extends MTableQueries {
6
6
  syen_id?: string;
7
7
  constructor(init: MEntity);
8
- entityValidate(): Partial<IEntityErrorLogger>;
8
+ Validate(): Partial<IEntityErrorLogger>;
9
9
  }
10
10
  export { IEntityErrorLogger, //interface
11
11
  MEntity };
@@ -26,7 +26,7 @@ var MEntity = /** @class */ (function (_super) {
26
26
  Object.assign(_this, init);
27
27
  return _this;
28
28
  }
29
- MEntity.prototype.entityValidate = function () {
29
+ MEntity.prototype.Validate = function () {
30
30
  var errorLogger = this.Validate();
31
31
  return errorLogger;
32
32
  };
@@ -4,7 +4,7 @@ type IGeneralMasterSelectErrorLogger = {
4
4
  declare class MGeneralMasterSelect {
5
5
  sygmt_code?: string;
6
6
  constructor(init: MGeneralMasterSelect);
7
- generalMasterSelectValidate(): Partial<IGeneralMasterSelectErrorLogger>;
7
+ Validate(): Partial<IGeneralMasterSelectErrorLogger>;
8
8
  }
9
9
  export { IGeneralMasterSelectErrorLogger, //interface
10
10
  MGeneralMasterSelect };
@@ -7,7 +7,7 @@ var MGeneralMasterSelect = /** @class */ (function () {
7
7
  function MGeneralMasterSelect(init) {
8
8
  Object.assign(this, init);
9
9
  }
10
- MGeneralMasterSelect.prototype.generalMasterSelectValidate = function () {
10
+ MGeneralMasterSelect.prototype.Validate = function () {
11
11
  var errorLogger = {};
12
12
  if (!this.sygmt_code) {
13
13
  errorLogger.sygmt_code = "Master Type is required";
@@ -6,7 +6,7 @@ declare class MMenu {
6
6
  syme_title?: string;
7
7
  sort?: 'asc' | 'desc';
8
8
  constructor(init: MMenu);
9
- menuValidate(): Partial<IMenuErrorLogger>;
9
+ Validate(): Partial<IMenuErrorLogger>;
10
10
  }
11
11
  export { IMenuErrorLogger, //interface
12
12
  MMenu };
@@ -7,7 +7,7 @@ var MMenu = /** @class */ (function () {
7
7
  function MMenu(init) {
8
8
  Object.assign(this, init);
9
9
  }
10
- MMenu.prototype.menuValidate = function () {
10
+ MMenu.prototype.Validate = function () {
11
11
  var errorLogger = {};
12
12
  if (!this.syme_id) {
13
13
  errorLogger.syme_id = "System menu ID is Required!";
@@ -5,7 +5,7 @@ declare class MPinCodeSelect {
5
5
  sypin_pincode?: string;
6
6
  sypin_id?: string;
7
7
  constructor(init: MPinCodeSelect);
8
- pinCodeSelectValidate(): Partial<IPinCodeSelectErrorLogger>;
8
+ Validate(): Partial<IPinCodeSelectErrorLogger>;
9
9
  }
10
10
  export { IPinCodeSelectErrorLogger, //interface
11
11
  MPinCodeSelect };
@@ -7,7 +7,7 @@ var MPinCodeSelect = /** @class */ (function () {
7
7
  function MPinCodeSelect(init) {
8
8
  Object.assign(this, init);
9
9
  }
10
- MPinCodeSelect.prototype.pinCodeSelectValidate = function () {
10
+ MPinCodeSelect.prototype.Validate = function () {
11
11
  var _a;
12
12
  var errorLogger = {};
13
13
  if (!this.sypin_pincode) {
@@ -5,7 +5,7 @@ declare class MUserSelect {
5
5
  user_fullname?: string;
6
6
  user_id?: string;
7
7
  constructor(init: MUserSelect);
8
- validate(): Partial<IUserSelectErrorLogger>;
8
+ Validate(): Partial<IUserSelectErrorLogger>;
9
9
  }
10
10
  export { IUserSelectErrorLogger, //interface
11
11
  MUserSelect };
@@ -7,7 +7,7 @@ var MUserSelect = /** @class */ (function () {
7
7
  function MUserSelect(init) {
8
8
  Object.assign(this, init);
9
9
  }
10
- MUserSelect.prototype.validate = function () {
10
+ MUserSelect.prototype.Validate = function () {
11
11
  var errorLogger = {};
12
12
  if (!this.user_fullname) {
13
13
  errorLogger.user_fullname = "Name of user is Required!";
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "typescript": "^5.4.2"
9
9
  },
10
10
  "name": "cloud-ide-model-schema",
11
- "version": "1.0.12",
11
+ "version": "1.0.13",
12
12
  "description": "Pachage for schema management of Cloud IDEsys LMS",
13
13
  "main": "lib/index.js",
14
14
  "types": "lib/index.d.ts",