cloud-ide-lms-model 1.0.320 → 1.0.322
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/lib/model/core/core_system_nationality.d.ts +19 -0
- package/lib/model/core/core_system_nationality.js +18 -0
- package/lib/model/core/index.d.ts +1 -0
- package/lib/model/core/index.js +1 -0
- package/lib/routes/coreRoutes.d.ts +4 -0
- package/lib/routes/coreRoutes.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { MTableQueries } from "../../common-types";
|
|
2
|
+
import { ICoreSynat } from "../../schema";
|
|
3
|
+
import { controllerResponse } from "../../utilities";
|
|
4
|
+
type ICoreSynatErrorLogger = {
|
|
5
|
+
[key in keyof ICoreSynat]: string;
|
|
6
|
+
};
|
|
7
|
+
type ICoreSynatListErrorLogger = {
|
|
8
|
+
[key in keyof CoreNationalityListPayload]: string;
|
|
9
|
+
};
|
|
10
|
+
declare class CoreNationalityListPayload extends MTableQueries {
|
|
11
|
+
synat_id: string;
|
|
12
|
+
constructor(init: CoreNationalityListPayload);
|
|
13
|
+
Validate?(): Partial<ICoreSynatListErrorLogger>;
|
|
14
|
+
}
|
|
15
|
+
interface nationalityListControllerResponse extends controllerResponse {
|
|
16
|
+
data?: ICoreSynat[];
|
|
17
|
+
}
|
|
18
|
+
export { CoreNationalityListPayload, ICoreSynatErrorLogger, //interface
|
|
19
|
+
ICoreSynatListErrorLogger, nationalityListControllerResponse };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CoreNationalityListPayload = void 0;
|
|
4
|
+
const common_types_1 = require("../../common-types");
|
|
5
|
+
/* INTERFACE END */
|
|
6
|
+
class CoreNationalityListPayload extends common_types_1.MTableQueries {
|
|
7
|
+
constructor(init) {
|
|
8
|
+
super(init);
|
|
9
|
+
this.synat_id = "";
|
|
10
|
+
Object.assign(this, init);
|
|
11
|
+
}
|
|
12
|
+
Validate() {
|
|
13
|
+
let errorLogger = {};
|
|
14
|
+
// Log errors here
|
|
15
|
+
return errorLogger;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.CoreNationalityListPayload = CoreNationalityListPayload;
|
package/lib/model/core/index.js
CHANGED
|
@@ -35,3 +35,4 @@ __exportStar(require("./core_system_pages"), exports);
|
|
|
35
35
|
__exportStar(require("./core_general_master_type"), exports);
|
|
36
36
|
__exportStar(require("./core_user_role"), exports);
|
|
37
37
|
__exportStar(require("./core_entity_access_pass_management"), exports);
|
|
38
|
+
__exportStar(require("./core_system_nationality"), exports);
|
|
@@ -45,6 +45,10 @@ declare const coreRoutesUrl: {
|
|
|
45
45
|
* @description Endpoint to get the country (country)
|
|
46
46
|
*/
|
|
47
47
|
country: string;
|
|
48
|
+
/**
|
|
49
|
+
* @description Endpoint to get the nationality (nationality)
|
|
50
|
+
*/
|
|
51
|
+
nationality: string;
|
|
48
52
|
/**
|
|
49
53
|
* @description Endpoint to get the menu (menu)
|
|
50
54
|
*/
|
package/lib/routes/coreRoutes.js
CHANGED
|
@@ -48,6 +48,10 @@ const coreRoutesUrl = {
|
|
|
48
48
|
* @description Endpoint to get the country (country)
|
|
49
49
|
*/
|
|
50
50
|
country: "country",
|
|
51
|
+
/**
|
|
52
|
+
* @description Endpoint to get the nationality (nationality)
|
|
53
|
+
*/
|
|
54
|
+
nationality: "nationality",
|
|
51
55
|
/**
|
|
52
56
|
* @description Endpoint to get the menu (menu)
|
|
53
57
|
*/
|