@platform-modules/foreign-ministry 1.0.50 → 1.0.52
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/.env +3 -3
- package/dist/models/user.d.ts +5 -1
- package/dist/models/user.js +22 -2
- package/package.json +1 -1
package/.env
CHANGED
package/dist/models/user.d.ts
CHANGED
|
@@ -28,5 +28,9 @@ export declare class User extends BaseModel {
|
|
|
28
28
|
residential_status?: string;
|
|
29
29
|
religion?: string;
|
|
30
30
|
avatar?: string;
|
|
31
|
-
|
|
31
|
+
passport_number?: string;
|
|
32
|
+
personal_email?: string;
|
|
33
|
+
extension_number?: number;
|
|
34
|
+
diplomatic_name?: string;
|
|
35
|
+
constructor(employee_id?: number, employee_name?: string, employee_arabic_name?: string, date_of_birth?: string, region_of_birth?: string, country_of_birth?: string, date_of_joining?: string, last_promotion_date?: string, gender?: string, marital_status?: string, nationality?: string, email?: string, blood_group?: string, national_id?: number, mobile?: string, department?: number, section?: number, grade?: number, location?: string, country?: string, is_admin?: boolean, division?: number, reporting_to?: number, address?: string, residential_status?: string, religion?: string, designation?: number, avatar?: string, passport_number?: string, personal_email?: string, extension_number?: number, diplomatic_name?: string);
|
|
32
36
|
}
|
package/dist/models/user.js
CHANGED
|
@@ -13,7 +13,7 @@ exports.User = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
let User = class User extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(employee_id, employee_name, employee_arabic_name, date_of_birth, region_of_birth, country_of_birth, date_of_joining, last_promotion_date, gender, marital_status, nationality, email, blood_group, national_id, mobile, department, section, grade, location, country, is_admin, division, reporting_to, address, residential_status, religion, designation, avatar) {
|
|
16
|
+
constructor(employee_id, employee_name, employee_arabic_name, date_of_birth, region_of_birth, country_of_birth, date_of_joining, last_promotion_date, gender, marital_status, nationality, email, blood_group, national_id, mobile, department, section, grade, location, country, is_admin, division, reporting_to, address, residential_status, religion, designation, avatar, passport_number, personal_email, extension_number, diplomatic_name) {
|
|
17
17
|
super();
|
|
18
18
|
this.employee_id = employee_id;
|
|
19
19
|
this.employee_name = employee_name;
|
|
@@ -43,6 +43,10 @@ let User = class User extends BaseModel_1.BaseModel {
|
|
|
43
43
|
this.religion = religion;
|
|
44
44
|
this.designation = designation;
|
|
45
45
|
this.avatar = avatar;
|
|
46
|
+
this.passport_number = passport_number;
|
|
47
|
+
this.personal_email = personal_email;
|
|
48
|
+
this.extension_number = extension_number;
|
|
49
|
+
this.diplomatic_name = diplomatic_name;
|
|
46
50
|
}
|
|
47
51
|
};
|
|
48
52
|
exports.User = User;
|
|
@@ -158,7 +162,23 @@ __decorate([
|
|
|
158
162
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
159
163
|
__metadata("design:type", String)
|
|
160
164
|
], User.prototype, "avatar", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
167
|
+
__metadata("design:type", String)
|
|
168
|
+
], User.prototype, "passport_number", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
171
|
+
__metadata("design:type", String)
|
|
172
|
+
], User.prototype, "personal_email", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
175
|
+
__metadata("design:type", Number)
|
|
176
|
+
], User.prototype, "extension_number", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
179
|
+
__metadata("design:type", String)
|
|
180
|
+
], User.prototype, "diplomatic_name", void 0);
|
|
161
181
|
exports.User = User = __decorate([
|
|
162
182
|
(0, typeorm_1.Entity)({ name: 'users' }),
|
|
163
|
-
__metadata("design:paramtypes", [Number, String, String, String, String, String, String, String, String, String, String, String, String, Number, String, Number, Number, Number, String, String, Boolean, Number, Number, String, String, String, Number, String])
|
|
183
|
+
__metadata("design:paramtypes", [Number, String, String, String, String, String, String, String, String, String, String, String, String, Number, String, Number, Number, Number, String, String, Boolean, Number, Number, String, String, String, Number, String, String, String, Number, String])
|
|
164
184
|
], User);
|