npm_microservice 1.0.23 → 1.0.24
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/dist/service.js
CHANGED
|
@@ -2501,6 +2501,11 @@ var require_EduTestService = __commonJS({
|
|
|
2501
2501
|
this.service = "tests_logs";
|
|
2502
2502
|
return this.request("get", url, { params: filter });
|
|
2503
2503
|
}
|
|
2504
|
+
async countTestLog(filter = {}) {
|
|
2505
|
+
let url = CONFIG_ROUTER_SERVICE.BASE_URL + "/tests/test-logs/count";
|
|
2506
|
+
this.service = "tests_logs";
|
|
2507
|
+
return this.request("get", url, { params: filter });
|
|
2508
|
+
}
|
|
2504
2509
|
async createLog(data) {
|
|
2505
2510
|
let url = CONFIG_ROUTER_SERVICE.BASE_URL + "/tests/test-logs/create-log";
|
|
2506
2511
|
return this.request("post", url, { data });
|
|
@@ -447,6 +447,11 @@ var EduTestService = class extends BaseService {
|
|
|
447
447
|
this.service = "tests_logs";
|
|
448
448
|
return this.request("get", url, { params: filter });
|
|
449
449
|
}
|
|
450
|
+
async countTestLog(filter = {}) {
|
|
451
|
+
let url = CONFIG_ROUTER_SERVICE.BASE_URL + "/tests/test-logs/count";
|
|
452
|
+
this.service = "tests_logs";
|
|
453
|
+
return this.request("get", url, { params: filter });
|
|
454
|
+
}
|
|
450
455
|
async createLog(data) {
|
|
451
456
|
let url = CONFIG_ROUTER_SERVICE.BASE_URL + "/tests/test-logs/create-log";
|
|
452
457
|
return this.request("post", url, { data });
|