@itutoring/itutoring_application_js_api 1.5.11 → 1.5.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.
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/modules/FAQ.js +21 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ import AttendanceEvent from "./objects/AttendanceEvent";
|
|
|
41
41
|
import Toolkit from "./toolkit/Toolkit";
|
|
42
42
|
import Pricing from "./modules/Pricing";
|
|
43
43
|
import Reviews from "./modules/Reviews";
|
|
44
|
+
import FAQ from "./modules/FAQ";
|
|
44
45
|
|
|
45
46
|
import
|
|
46
47
|
{
|
|
@@ -83,6 +84,7 @@ export
|
|
|
83
84
|
LectorDatabase,
|
|
84
85
|
Pricing,
|
|
85
86
|
Reviews,
|
|
87
|
+
FAQ,
|
|
86
88
|
|
|
87
89
|
Course,
|
|
88
90
|
CourseReservation,
|
package/index.js
CHANGED
|
@@ -39,6 +39,7 @@ import Toolkit from "./toolkit/Toolkit";
|
|
|
39
39
|
import TeacherProfileModule from "./modules/TeacherProfileModule";
|
|
40
40
|
import Pricing from "./modules/Pricing";
|
|
41
41
|
import Reviews from "./modules/Reviews";
|
|
42
|
+
import FAQ from "./modules/FAQ";
|
|
42
43
|
|
|
43
44
|
import
|
|
44
45
|
{
|
|
@@ -81,6 +82,7 @@ export
|
|
|
81
82
|
LectorDatabase,
|
|
82
83
|
Pricing,
|
|
83
84
|
Reviews,
|
|
85
|
+
FAQ,
|
|
84
86
|
|
|
85
87
|
Course,
|
|
86
88
|
CourseReservation,
|
package/modules/FAQ.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import APIController from "../apiController";
|
|
2
|
+
|
|
3
|
+
class FAQ
|
|
4
|
+
{
|
|
5
|
+
static #MODULE = "Faq";
|
|
6
|
+
|
|
7
|
+
static #GET_FAQ = "GetFAQ";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* desc: Get FAQ
|
|
11
|
+
* @returns
|
|
12
|
+
*/
|
|
13
|
+
static async GetFAQ()
|
|
14
|
+
{
|
|
15
|
+
const faq = await APIController.Get(this.#MODULE, this.#GET_FAQ, {});
|
|
16
|
+
|
|
17
|
+
return faq;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export default FAQ;
|