@platform-modules/foreign-ministry 1.3.73 → 1.3.74
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 -17
- package/dist/models/TelephoneDirectoryModel.d.ts +3 -1
- package/dist/models/TelephoneDirectoryModel.js +12 -2
- package/dist/models/UserEmploymentDetailsModel.d.ts +0 -5
- package/dist/models/UserEmploymentDetailsModel.js +0 -20
- package/dist/models/UserPersonalDetailsModel.d.ts +0 -11
- package/dist/models/UserPersonalDetailsModel.js +0 -44
- package/package.json +1 -1
- package/src/models/TelephoneDirectoryModel.ts +8 -1
- package/src/models/UserEmploymentDetailsModel.ts +0 -15
- package/src/models/UserPersonalDetailsModel.ts +0 -32
- package/dist/models/HelpContentMappedCategoriesModel.d.ts +0 -6
- package/dist/models/HelpContentMappedCategoriesModel.js +0 -34
- package/dist/models/HelpContentMappedTagsModel.d.ts +0 -6
- package/dist/models/HelpContentMappedTagsModel.js +0 -34
- package/dist/models/HelpContentTagsModel.d.ts +0 -5
- package/dist/models/HelpContentTagsModel.js +0 -29
- package/dist/models/questionTagsModel.d.ts +0 -6
- package/dist/models/questionTagsModel.js +0 -34
- /package/src/models/{LeaveConfigGradesModel.ts → LeaveConfigGradesModel.Ts} +0 -0
package/.env
CHANGED
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
# DB_PORT=5433
|
|
3
|
-
# DB_USER=postgres
|
|
4
|
-
# DB_PASS=123
|
|
5
|
-
# DB_NAME=FM
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
DB_HOST=164.52.222.169
|
|
1
|
+
DB_HOST=localhost
|
|
10
2
|
DB_PORT=5432
|
|
11
|
-
DB_USER=
|
|
12
|
-
DB_PASS=
|
|
3
|
+
DB_USER=postgres
|
|
4
|
+
DB_PASS=Fa@123
|
|
13
5
|
DB_NAME=FM
|
|
14
|
-
|
|
15
|
-
# DB_HOST=216.48.187.46
|
|
16
|
-
# DB_PORT=5432
|
|
17
|
-
# DB_USER=adminuser
|
|
18
|
-
# DB_PASS=postgres_caa_fm_qa_34567
|
|
19
|
-
# DB_NAME=FM_QA
|
|
@@ -10,9 +10,11 @@ export declare class TelephoneDirectory extends BaseModel {
|
|
|
10
10
|
email: string;
|
|
11
11
|
contact_number: string;
|
|
12
12
|
extension_number: string;
|
|
13
|
+
fax_number: string;
|
|
13
14
|
location: string;
|
|
14
15
|
department_id: number;
|
|
15
16
|
employee_id: number | null;
|
|
17
|
+
street: string;
|
|
16
18
|
city: string;
|
|
17
19
|
state: string;
|
|
18
20
|
zip_code: string;
|
|
@@ -20,5 +22,5 @@ export declare class TelephoneDirectory extends BaseModel {
|
|
|
20
22
|
photo_url: string;
|
|
21
23
|
service_id: number;
|
|
22
24
|
sub_service_id: number;
|
|
23
|
-
constructor(category?: "FM" | "Embassy", name?: string, position?: string, diplomatic_title?: string, embassy_id?: number | null, contextual_search?: string | null, email?: string, contact_number?: string, extension_number?: string, location?: string, department_id?: number, employee_id?: number, city?: string, state?: string, zip_code?: string, country?: string, photo_url?: string, service_id?: number, sub_service_id?: number);
|
|
25
|
+
constructor(category?: "FM" | "Embassy", name?: string, position?: string, diplomatic_title?: string, embassy_id?: number | null, contextual_search?: string | null, email?: string, contact_number?: string, extension_number?: string, fax_number?: string, location?: string, department_id?: number, employee_id?: number, street?: string, city?: string, state?: string, zip_code?: string, country?: string, photo_url?: string, service_id?: number, sub_service_id?: number);
|
|
24
26
|
}
|
|
@@ -13,7 +13,7 @@ exports.TelephoneDirectory = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
let TelephoneDirectory = class TelephoneDirectory extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(category, name, position, diplomatic_title, embassy_id, contextual_search, email, contact_number, extension_number, location, department_id, employee_id, city, state, zip_code, country, photo_url, service_id, sub_service_id) {
|
|
16
|
+
constructor(category, name, position, diplomatic_title, embassy_id, contextual_search, email, contact_number, extension_number, fax_number, location, department_id, employee_id, street, city, state, zip_code, country, photo_url, service_id, sub_service_id) {
|
|
17
17
|
super();
|
|
18
18
|
this.category = category || "FM";
|
|
19
19
|
this.name = name || "";
|
|
@@ -24,9 +24,11 @@ let TelephoneDirectory = class TelephoneDirectory extends BaseModel_1.BaseModel
|
|
|
24
24
|
this.email = email || "";
|
|
25
25
|
this.contact_number = contact_number || "";
|
|
26
26
|
this.extension_number = extension_number || "";
|
|
27
|
+
this.fax_number = fax_number || "";
|
|
27
28
|
this.location = location || "";
|
|
28
29
|
this.department_id = department_id || 0;
|
|
29
30
|
this.employee_id = employee_id || 0;
|
|
31
|
+
this.street = street || "";
|
|
30
32
|
this.city = city || "";
|
|
31
33
|
this.state = state || "";
|
|
32
34
|
this.zip_code = zip_code || "";
|
|
@@ -77,6 +79,10 @@ __decorate([
|
|
|
77
79
|
(0, typeorm_1.Column)({ type: "varchar", length: 10, nullable: true }),
|
|
78
80
|
__metadata("design:type", String)
|
|
79
81
|
], TelephoneDirectory.prototype, "extension_number", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], TelephoneDirectory.prototype, "fax_number", void 0);
|
|
80
86
|
__decorate([
|
|
81
87
|
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
82
88
|
__metadata("design:type", String)
|
|
@@ -89,6 +95,10 @@ __decorate([
|
|
|
89
95
|
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
90
96
|
__metadata("design:type", Object)
|
|
91
97
|
], TelephoneDirectory.prototype, "employee_id", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], TelephoneDirectory.prototype, "street", void 0);
|
|
92
102
|
__decorate([
|
|
93
103
|
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
|
|
94
104
|
__metadata("design:type", String)
|
|
@@ -119,5 +129,5 @@ __decorate([
|
|
|
119
129
|
], TelephoneDirectory.prototype, "sub_service_id", void 0);
|
|
120
130
|
exports.TelephoneDirectory = TelephoneDirectory = __decorate([
|
|
121
131
|
(0, typeorm_1.Entity)({ name: "telephone_directory" }),
|
|
122
|
-
__metadata("design:paramtypes", [String, String, String, String, Object, Object, String, String, String, String, Number, Number, String, String, String, String, String, Number, Number])
|
|
132
|
+
__metadata("design:paramtypes", [String, String, String, String, Object, Object, String, String, String, String, String, Number, Number, String, String, String, String, String, String, Number, Number])
|
|
123
133
|
], TelephoneDirectory);
|
|
@@ -6,11 +6,9 @@ import { BaseModel } from './BaseModel';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class UserEmploymentDetails extends BaseModel {
|
|
8
8
|
user_id: number;
|
|
9
|
-
job_title: string | null;
|
|
10
9
|
date_of_decree_issuance: Date | null;
|
|
11
10
|
civil_service_number: string | null;
|
|
12
11
|
information_number: string | null;
|
|
13
|
-
manpower_number: string | null;
|
|
14
12
|
computer_number: string | null;
|
|
15
13
|
contract_employee: boolean | null;
|
|
16
14
|
nature_of_work: string | null;
|
|
@@ -28,15 +26,12 @@ export declare class UserEmploymentDetails extends BaseModel {
|
|
|
28
26
|
entity_transferred_to: string | null;
|
|
29
27
|
date_of_transfer_to: Date | null;
|
|
30
28
|
job_description: string | null;
|
|
31
|
-
country_appointment: string | null;
|
|
32
29
|
date_of_appointment: Date | null;
|
|
33
30
|
appointment_grade: string | null;
|
|
34
31
|
type_of_appointment: string | null;
|
|
35
32
|
unit_code: string | null;
|
|
36
33
|
mc_work: boolean | null;
|
|
37
|
-
office: string | null;
|
|
38
34
|
governorate_name: string | null;
|
|
39
|
-
department: string | null;
|
|
40
35
|
works_in_department: string | null;
|
|
41
36
|
full_name_of_mission: string | null;
|
|
42
37
|
mission: string | null;
|
|
@@ -24,10 +24,6 @@ __decorate([
|
|
|
24
24
|
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
25
25
|
__metadata("design:type", Number)
|
|
26
26
|
], UserEmploymentDetails.prototype, "user_id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
29
|
-
__metadata("design:type", Object)
|
|
30
|
-
], UserEmploymentDetails.prototype, "job_title", void 0);
|
|
31
27
|
__decorate([
|
|
32
28
|
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
33
29
|
__metadata("design:type", Object)
|
|
@@ -40,10 +36,6 @@ __decorate([
|
|
|
40
36
|
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
41
37
|
__metadata("design:type", Object)
|
|
42
38
|
], UserEmploymentDetails.prototype, "information_number", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
45
|
-
__metadata("design:type", Object)
|
|
46
|
-
], UserEmploymentDetails.prototype, "manpower_number", void 0);
|
|
47
39
|
__decorate([
|
|
48
40
|
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
49
41
|
__metadata("design:type", Object)
|
|
@@ -112,10 +104,6 @@ __decorate([
|
|
|
112
104
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
113
105
|
__metadata("design:type", Object)
|
|
114
106
|
], UserEmploymentDetails.prototype, "job_description", void 0);
|
|
115
|
-
__decorate([
|
|
116
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
117
|
-
__metadata("design:type", Object)
|
|
118
|
-
], UserEmploymentDetails.prototype, "country_appointment", void 0);
|
|
119
107
|
__decorate([
|
|
120
108
|
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
121
109
|
__metadata("design:type", Object)
|
|
@@ -136,18 +124,10 @@ __decorate([
|
|
|
136
124
|
(0, typeorm_1.Column)({ type: 'boolean', nullable: true }),
|
|
137
125
|
__metadata("design:type", Object)
|
|
138
126
|
], UserEmploymentDetails.prototype, "mc_work", void 0);
|
|
139
|
-
__decorate([
|
|
140
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
141
|
-
__metadata("design:type", Object)
|
|
142
|
-
], UserEmploymentDetails.prototype, "office", void 0);
|
|
143
127
|
__decorate([
|
|
144
128
|
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
145
129
|
__metadata("design:type", Object)
|
|
146
130
|
], UserEmploymentDetails.prototype, "governorate_name", void 0);
|
|
147
|
-
__decorate([
|
|
148
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
149
|
-
__metadata("design:type", Object)
|
|
150
|
-
], UserEmploymentDetails.prototype, "department", void 0);
|
|
151
131
|
__decorate([
|
|
152
132
|
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
153
133
|
__metadata("design:type", Object)
|
|
@@ -13,15 +13,8 @@ export declare class UserPersonalDetails extends BaseModel {
|
|
|
13
13
|
fourth_name: string | null;
|
|
14
14
|
family_name_tribe: string | null;
|
|
15
15
|
previous_name: string | null;
|
|
16
|
-
religion: string | null;
|
|
17
16
|
sect: string | null;
|
|
18
|
-
date_of_birth: Date | null;
|
|
19
|
-
place_of_birth: string | null;
|
|
20
|
-
nationality: string | null;
|
|
21
|
-
gender: string | null;
|
|
22
|
-
marital_status: string | null;
|
|
23
17
|
number_of_dependents: number | null;
|
|
24
|
-
passport_number: string | null;
|
|
25
18
|
passport_type: string | null;
|
|
26
19
|
issue_date: Date | null;
|
|
27
20
|
place_of_issue: string | null;
|
|
@@ -38,11 +31,7 @@ export declare class UserPersonalDetails extends BaseModel {
|
|
|
38
31
|
governorate: string | null;
|
|
39
32
|
wilayat: string | null;
|
|
40
33
|
locality: string | null;
|
|
41
|
-
country: string | null;
|
|
42
|
-
phone_number: string | null;
|
|
43
34
|
fax_number: string | null;
|
|
44
|
-
email: string | null;
|
|
45
|
-
email_address_personal: string | null;
|
|
46
35
|
sheikh_name: string | null;
|
|
47
36
|
photo: string | null;
|
|
48
37
|
}
|
|
@@ -52,42 +52,14 @@ __decorate([
|
|
|
52
52
|
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
53
53
|
__metadata("design:type", Object)
|
|
54
54
|
], UserPersonalDetails.prototype, "previous_name", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
57
|
-
__metadata("design:type", Object)
|
|
58
|
-
], UserPersonalDetails.prototype, "religion", void 0);
|
|
59
55
|
__decorate([
|
|
60
56
|
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
61
57
|
__metadata("design:type", Object)
|
|
62
58
|
], UserPersonalDetails.prototype, "sect", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
65
|
-
__metadata("design:type", Object)
|
|
66
|
-
], UserPersonalDetails.prototype, "date_of_birth", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
69
|
-
__metadata("design:type", Object)
|
|
70
|
-
], UserPersonalDetails.prototype, "place_of_birth", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
73
|
-
__metadata("design:type", Object)
|
|
74
|
-
], UserPersonalDetails.prototype, "nationality", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
77
|
-
__metadata("design:type", Object)
|
|
78
|
-
], UserPersonalDetails.prototype, "gender", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
81
|
-
__metadata("design:type", Object)
|
|
82
|
-
], UserPersonalDetails.prototype, "marital_status", void 0);
|
|
83
59
|
__decorate([
|
|
84
60
|
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
85
61
|
__metadata("design:type", Object)
|
|
86
62
|
], UserPersonalDetails.prototype, "number_of_dependents", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
89
|
-
__metadata("design:type", Object)
|
|
90
|
-
], UserPersonalDetails.prototype, "passport_number", void 0);
|
|
91
63
|
__decorate([
|
|
92
64
|
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
93
65
|
__metadata("design:type", Object)
|
|
@@ -152,26 +124,10 @@ __decorate([
|
|
|
152
124
|
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
153
125
|
__metadata("design:type", Object)
|
|
154
126
|
], UserPersonalDetails.prototype, "locality", void 0);
|
|
155
|
-
__decorate([
|
|
156
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
157
|
-
__metadata("design:type", Object)
|
|
158
|
-
], UserPersonalDetails.prototype, "country", void 0);
|
|
159
|
-
__decorate([
|
|
160
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
161
|
-
__metadata("design:type", Object)
|
|
162
|
-
], UserPersonalDetails.prototype, "phone_number", void 0);
|
|
163
127
|
__decorate([
|
|
164
128
|
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
165
129
|
__metadata("design:type", Object)
|
|
166
130
|
], UserPersonalDetails.prototype, "fax_number", void 0);
|
|
167
|
-
__decorate([
|
|
168
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
169
|
-
__metadata("design:type", Object)
|
|
170
|
-
], UserPersonalDetails.prototype, "email", void 0);
|
|
171
|
-
__decorate([
|
|
172
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
173
|
-
__metadata("design:type", Object)
|
|
174
|
-
], UserPersonalDetails.prototype, "email_address_personal", void 0);
|
|
175
131
|
__decorate([
|
|
176
132
|
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
177
133
|
__metadata("design:type", Object)
|
package/package.json
CHANGED
|
@@ -35,6 +35,8 @@ export class TelephoneDirectory extends BaseModel {
|
|
|
35
35
|
@Column({ type: "varchar", length: 10, nullable: true })
|
|
36
36
|
extension_number: string; // Extension Number - can be generic or linked to employee
|
|
37
37
|
|
|
38
|
+
@Column({ type: "varchar", length: 20, nullable: true })
|
|
39
|
+
fax_number: string; // Fax Number
|
|
38
40
|
|
|
39
41
|
@Column({ type: "varchar", length: 255, nullable: true })
|
|
40
42
|
location: string; // Optional
|
|
@@ -47,6 +49,9 @@ export class TelephoneDirectory extends BaseModel {
|
|
|
47
49
|
@Column({ type: "int", nullable: true })
|
|
48
50
|
employee_id: number | null; // If extension is linked to employee profile
|
|
49
51
|
|
|
52
|
+
@Column({ type: "varchar", length: 255, nullable: true })
|
|
53
|
+
street: string; // Street address
|
|
54
|
+
|
|
50
55
|
@Column({ type: "varchar", length: 100, nullable: true })
|
|
51
56
|
city: string;
|
|
52
57
|
|
|
@@ -69,7 +74,7 @@ export class TelephoneDirectory extends BaseModel {
|
|
|
69
74
|
@Column({ type: "int", nullable: true })
|
|
70
75
|
sub_service_id: number;
|
|
71
76
|
|
|
72
|
-
constructor(category?: "FM" | "Embassy", name?: string, position?: string, diplomatic_title?: string, embassy_id?: number | null, contextual_search?: string | null, email?: string, contact_number?: string, extension_number?: string, location?: string, department_id?: number, employee_id?: number, city?: string, state?: string, zip_code?: string, country?: string, photo_url?: string, service_id?: number, sub_service_id?: number) {
|
|
77
|
+
constructor(category?: "FM" | "Embassy", name?: string, position?: string, diplomatic_title?: string, embassy_id?: number | null, contextual_search?: string | null, email?: string, contact_number?: string, extension_number?: string, fax_number?: string, location?: string, department_id?: number, employee_id?: number, street?: string, city?: string, state?: string, zip_code?: string, country?: string, photo_url?: string, service_id?: number, sub_service_id?: number) {
|
|
73
78
|
super();
|
|
74
79
|
this.category = category || "FM";
|
|
75
80
|
this.name = name || "";
|
|
@@ -80,9 +85,11 @@ export class TelephoneDirectory extends BaseModel {
|
|
|
80
85
|
this.email = email || "";
|
|
81
86
|
this.contact_number = contact_number || "";
|
|
82
87
|
this.extension_number = extension_number || "";
|
|
88
|
+
this.fax_number = fax_number || "";
|
|
83
89
|
this.location = location || "";
|
|
84
90
|
this.department_id = department_id || 0;
|
|
85
91
|
this.employee_id = employee_id || 0;
|
|
92
|
+
this.street = street || "";
|
|
86
93
|
this.city = city || "";
|
|
87
94
|
this.state = state || "";
|
|
88
95
|
this.zip_code = zip_code || "";
|
|
@@ -12,9 +12,6 @@ export class UserEmploymentDetails extends BaseModel {
|
|
|
12
12
|
user_id: number; // Foreign key to users table
|
|
13
13
|
|
|
14
14
|
// Job Information
|
|
15
|
-
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
16
|
-
job_title: string | null;
|
|
17
|
-
|
|
18
15
|
@Column({ type: 'date', nullable: true })
|
|
19
16
|
date_of_decree_issuance: Date | null;
|
|
20
17
|
|
|
@@ -24,9 +21,6 @@ export class UserEmploymentDetails extends BaseModel {
|
|
|
24
21
|
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
25
22
|
information_number: string | null;
|
|
26
23
|
|
|
27
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
28
|
-
manpower_number: string | null;
|
|
29
|
-
|
|
30
24
|
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
31
25
|
computer_number: string | null;
|
|
32
26
|
|
|
@@ -80,9 +74,6 @@ export class UserEmploymentDetails extends BaseModel {
|
|
|
80
74
|
job_description: string | null;
|
|
81
75
|
|
|
82
76
|
// Appointment Information
|
|
83
|
-
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
84
|
-
country_appointment: string | null;
|
|
85
|
-
|
|
86
77
|
@Column({ type: 'date', nullable: true })
|
|
87
78
|
date_of_appointment: Date | null;
|
|
88
79
|
|
|
@@ -98,15 +89,9 @@ export class UserEmploymentDetails extends BaseModel {
|
|
|
98
89
|
@Column({ type: 'boolean', nullable: true })
|
|
99
90
|
mc_work: boolean | null; // M&C Work
|
|
100
91
|
|
|
101
|
-
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
102
|
-
office: string | null;
|
|
103
|
-
|
|
104
92
|
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
105
93
|
governorate_name: string | null;
|
|
106
94
|
|
|
107
|
-
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
108
|
-
department: string | null;
|
|
109
|
-
|
|
110
95
|
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
111
96
|
works_in_department: string | null;
|
|
112
97
|
|
|
@@ -34,33 +34,13 @@ export class UserPersonalDetails extends BaseModel {
|
|
|
34
34
|
previous_name: string | null;
|
|
35
35
|
|
|
36
36
|
// Personal Information
|
|
37
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
38
|
-
religion: string | null;
|
|
39
|
-
|
|
40
37
|
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
41
38
|
sect: string | null;
|
|
42
39
|
|
|
43
|
-
@Column({ type: 'date', nullable: true })
|
|
44
|
-
date_of_birth: Date | null;
|
|
45
|
-
|
|
46
|
-
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
47
|
-
place_of_birth: string | null;
|
|
48
|
-
|
|
49
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
50
|
-
nationality: string | null;
|
|
51
|
-
|
|
52
|
-
@Column({ type: 'varchar', length: 50, nullable: true })
|
|
53
|
-
gender: string | null;
|
|
54
|
-
|
|
55
|
-
@Column({ type: 'varchar', length: 50, nullable: true })
|
|
56
|
-
marital_status: string | null;
|
|
57
|
-
|
|
58
40
|
@Column({ type: 'int', nullable: true })
|
|
59
41
|
number_of_dependents: number | null;
|
|
60
42
|
|
|
61
43
|
// Passport Information
|
|
62
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
63
|
-
passport_number: string | null;
|
|
64
44
|
|
|
65
45
|
@Column({ type: 'varchar', length: 50, nullable: true })
|
|
66
46
|
passport_type: string | null;
|
|
@@ -112,22 +92,10 @@ export class UserPersonalDetails extends BaseModel {
|
|
|
112
92
|
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
113
93
|
locality: string | null;
|
|
114
94
|
|
|
115
|
-
@Column({ type: 'varchar', length: 100, nullable: true })
|
|
116
|
-
country: string | null;
|
|
117
|
-
|
|
118
95
|
// Contact Information
|
|
119
|
-
@Column({ type: 'varchar', length: 50, nullable: true })
|
|
120
|
-
phone_number: string | null;
|
|
121
|
-
|
|
122
96
|
@Column({ type: 'varchar', length: 50, nullable: true })
|
|
123
97
|
fax_number: string | null;
|
|
124
98
|
|
|
125
|
-
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
126
|
-
email: string | null;
|
|
127
|
-
|
|
128
|
-
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
129
|
-
email_address_personal: string | null; // Email Address (Personal)
|
|
130
|
-
|
|
131
99
|
// Additional Personal Information
|
|
132
100
|
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
133
101
|
sheikh_name: string | null; // Sheikh's Name
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.HelpContentMappedCategories = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
let HelpContentMappedCategories = class HelpContentMappedCategories extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(help_content_category_Id, help_content_Id) {
|
|
17
|
-
super();
|
|
18
|
-
this.help_content_category_Id = help_content_category_Id,
|
|
19
|
-
this.help_content_Id = help_content_Id;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
exports.HelpContentMappedCategories = HelpContentMappedCategories;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], HelpContentMappedCategories.prototype, "help_content_category_Id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
29
|
-
__metadata("design:type", Number)
|
|
30
|
-
], HelpContentMappedCategories.prototype, "help_content_Id", void 0);
|
|
31
|
-
exports.HelpContentMappedCategories = HelpContentMappedCategories = __decorate([
|
|
32
|
-
(0, typeorm_1.Entity)({ name: 'help_content_mapped_categories' }),
|
|
33
|
-
__metadata("design:paramtypes", [Number, Number])
|
|
34
|
-
], HelpContentMappedCategories);
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.HelpContentMappedTags = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
let HelpContentMappedTags = class HelpContentMappedTags extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(help_content_tag_Id, help_content_Id) {
|
|
17
|
-
super();
|
|
18
|
-
this.help_content_tag_Id = help_content_tag_Id,
|
|
19
|
-
this.help_content_Id = help_content_Id;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
exports.HelpContentMappedTags = HelpContentMappedTags;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], HelpContentMappedTags.prototype, "help_content_tag_Id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
29
|
-
__metadata("design:type", Number)
|
|
30
|
-
], HelpContentMappedTags.prototype, "help_content_Id", void 0);
|
|
31
|
-
exports.HelpContentMappedTags = HelpContentMappedTags = __decorate([
|
|
32
|
-
(0, typeorm_1.Entity)({ name: 'help_content_mapped_tags' }),
|
|
33
|
-
__metadata("design:paramtypes", [Number, Number])
|
|
34
|
-
], HelpContentMappedTags);
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.HelpContentTags = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
let HelpContentTags = class HelpContentTags extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(name) {
|
|
17
|
-
super();
|
|
18
|
-
this.name = name;
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
exports.HelpContentTags = HelpContentTags;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], HelpContentTags.prototype, "name", void 0);
|
|
26
|
-
exports.HelpContentTags = HelpContentTags = __decorate([
|
|
27
|
-
(0, typeorm_1.Entity)({ name: 'help_content_tags' }),
|
|
28
|
-
__metadata("design:paramtypes", [String])
|
|
29
|
-
], HelpContentTags);
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.QuestionTags = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
let QuestionTags = class QuestionTags extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(name, question_Id) {
|
|
17
|
-
super();
|
|
18
|
-
this.name = name,
|
|
19
|
-
this.question_Id = question_Id;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
exports.QuestionTags = QuestionTags;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], QuestionTags.prototype, "name", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
29
|
-
__metadata("design:type", Number)
|
|
30
|
-
], QuestionTags.prototype, "question_Id", void 0);
|
|
31
|
-
exports.QuestionTags = QuestionTags = __decorate([
|
|
32
|
-
(0, typeorm_1.Entity)({ name: 'question_tags' }),
|
|
33
|
-
__metadata("design:paramtypes", [String, Number])
|
|
34
|
-
], QuestionTags);
|
|
File without changes
|