@platform-modules/foreign-ministry 1.3.102 → 1.3.103
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.
|
@@ -15,6 +15,20 @@ export declare class UserPersonalDetails extends BaseModel {
|
|
|
15
15
|
previous_name: string | null;
|
|
16
16
|
sect: string | null;
|
|
17
17
|
number_of_dependents: number | null;
|
|
18
|
+
dependents: {
|
|
19
|
+
first_name?: string;
|
|
20
|
+
last_name?: string;
|
|
21
|
+
family_name?: string;
|
|
22
|
+
dob?: string;
|
|
23
|
+
age?: string | number;
|
|
24
|
+
relation_type?: string;
|
|
25
|
+
passport_available?: boolean;
|
|
26
|
+
passport_number?: string;
|
|
27
|
+
passport_type?: string;
|
|
28
|
+
passport_issue_date?: string;
|
|
29
|
+
passport_place_of_issue?: string;
|
|
30
|
+
passport_expiry_date?: string;
|
|
31
|
+
}[] | null;
|
|
18
32
|
passport_type: string | null;
|
|
19
33
|
issue_date: Date | null;
|
|
20
34
|
place_of_issue: string | null;
|
|
@@ -60,6 +60,10 @@ __decorate([
|
|
|
60
60
|
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
61
61
|
__metadata("design:type", Object)
|
|
62
62
|
], UserPersonalDetails.prototype, "number_of_dependents", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
65
|
+
__metadata("design:type", Object)
|
|
66
|
+
], UserPersonalDetails.prototype, "dependents", void 0);
|
|
63
67
|
__decorate([
|
|
64
68
|
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
65
69
|
__metadata("design:type", Object)
|
package/package.json
CHANGED
|
@@ -40,6 +40,23 @@ export class UserPersonalDetails extends BaseModel {
|
|
|
40
40
|
@Column({ type: 'int', nullable: true })
|
|
41
41
|
number_of_dependents: number | null;
|
|
42
42
|
|
|
43
|
+
// Dependents Information (JSONB array similar to children in users table)
|
|
44
|
+
@Column({ type: 'jsonb', nullable: true })
|
|
45
|
+
dependents: {
|
|
46
|
+
first_name?: string;
|
|
47
|
+
last_name?: string;
|
|
48
|
+
family_name?: string;
|
|
49
|
+
dob?: string;
|
|
50
|
+
age?: string | number;
|
|
51
|
+
relation_type?: string;
|
|
52
|
+
passport_available?: boolean;
|
|
53
|
+
passport_number?: string;
|
|
54
|
+
passport_type?: string;
|
|
55
|
+
passport_issue_date?: string;
|
|
56
|
+
passport_place_of_issue?: string;
|
|
57
|
+
passport_expiry_date?: string;
|
|
58
|
+
}[] | null;
|
|
59
|
+
|
|
43
60
|
// Passport Information
|
|
44
61
|
|
|
45
62
|
@Column({ type: 'varchar', length: 50, nullable: true })
|