cloud-ide-lms-model 1.0.99 → 1.0.101

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,7 +7,7 @@ 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;
@@ -21,13 +21,13 @@ declare class ICoreSypn {
21
21
  Validate?(): Partial<IPageNotesManagerErrorLogger>;
22
22
  }
23
23
  interface IPageNotesManagerListControllerRespoonse extends controllerResponse {
24
- data?: ICoreSypn[];
24
+ data: ICoreSypn[];
25
25
  }
26
26
  interface IPageNotesManagerByIdControllerRespoonse extends controllerResponse {
27
- data?: ICoreSypn;
27
+ data: ICoreSypn;
28
28
  }
29
29
  interface IPageNotesManagerCreateUpdateControllerRespoonse extends controllerResponse {
30
- data?: boolean;
30
+ data: boolean;
31
31
  }
32
32
  export { ICoreSypn, // interface
33
33
  IPageNotesManagerListControllerRespoonse, IPageNotesManagerByIdControllerRespoonse, IPageNotesManagerCreateUpdateControllerRespoonse };
@@ -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.99",
8
+ "version": "1.0.101",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",