cloud-ide-lms-model 1.0.100 → 1.0.102

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.
@@ -7,16 +7,16 @@ type IPageNotesManagerErrorLogger = {
7
7
  */
8
8
  declare class ICoreSypn {
9
9
  _id?: string;
10
- sypn_titile?: string;
10
+ sypn_title?: string;
11
11
  sypn_desc?: string;
12
12
  sypn_page_id_sypg?: string;
13
13
  sypn_entity_id_sype?: string;
14
14
  sypn_page_them_id_sytm?: string;
15
15
  sypn_user_id_user?: string;
16
- sypn_is_page_specific?: string;
17
- sypn_is_user_specific?: string;
18
- sypn_is_entity_specific?: string;
19
- sypn_is_theme_specific?: string;
16
+ sypn_is_page_specific?: boolean;
17
+ sypn_is_user_specific?: boolean;
18
+ sypn_is_entity_specific?: boolean;
19
+ sypn_is_theme_specific?: boolean;
20
20
  constructor(init: ICoreSypn);
21
21
  Validate?(): Partial<IPageNotesManagerErrorLogger>;
22
22
  }
@@ -13,8 +13,8 @@ class ICoreSypn {
13
13
  Validate() {
14
14
  let errorLogger = {};
15
15
  // Log errors here
16
- if (!this.sypn_titile) {
17
- errorLogger.sypn_titile = "Title is Required!";
16
+ if (!this.sypn_title) {
17
+ errorLogger.sypn_title = "Title is Required!";
18
18
  }
19
19
  if (this.sypn_is_page_specific && !this.sypn_page_id_sypg) {
20
20
  errorLogger.sypn_page_id_sypg = "Page Id 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.100",
8
+ "version": "1.0.102",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",