@itutoring/itutoring_application_js_api 1.1.43 → 1.1.44

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.
@@ -13,6 +13,7 @@ class LessonManager
13
13
  static #GET_ALL_EVENTS = "GetAllEvents";
14
14
  static #DELETE_EVENT = "DeleteEvent";
15
15
  static #UPDATE_EVENT = "UpdateEvent";
16
+ static #CREATE_EVENT = "CreateEvent";
16
17
 
17
18
  static async GetAllEvents()
18
19
  {
@@ -44,6 +45,14 @@ class LessonManager
44
45
  "event": eventJson,
45
46
  });
46
47
  }
48
+
49
+ /**
50
+ * Will create a new event.
51
+ */
52
+ static async CreateEvent()
53
+ {
54
+ await APIController.Post(this.#MODULE, this.#CREATE_EVENT);
55
+ }
47
56
  }
48
57
 
49
58
  export default LessonManager;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.1.43",
3
+ "version": "1.1.44",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",