@platform-modules/foreign-ministry 1.2.1 → 1.2.3
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.
|
@@ -36,7 +36,7 @@ __decorate([
|
|
|
36
36
|
__metadata("design:type", Object)
|
|
37
37
|
], DiplomaticTitlesMaster.prototype, "title_in_arabic", void 0);
|
|
38
38
|
__decorate([
|
|
39
|
-
(0, typeorm_1.Column)({ type: 'enum', enum: TitleCategory, nullable: false }),
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: TitleCategory, nullable: false, default: TitleCategory.EMPLOYEE }),
|
|
40
40
|
__metadata("design:type", String)
|
|
41
41
|
], DiplomaticTitlesMaster.prototype, "category", void 0);
|
|
42
42
|
__decorate([
|
|
@@ -57,11 +57,11 @@ __decorate([
|
|
|
57
57
|
__metadata("design:type", Number)
|
|
58
58
|
], StationeryRequests.prototype, "material_id", void 0);
|
|
59
59
|
__decorate([
|
|
60
|
-
(0, typeorm_1.Column)({ type: 'int', nullable:
|
|
60
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
61
61
|
__metadata("design:type", String)
|
|
62
62
|
], StationeryRequests.prototype, "material_name", void 0);
|
|
63
63
|
__decorate([
|
|
64
|
-
(0, typeorm_1.Column)({ type: 'int', nullable:
|
|
64
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
65
65
|
__metadata("design:type", Number)
|
|
66
66
|
], StationeryRequests.prototype, "quantity_required", void 0);
|
|
67
67
|
__decorate([
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ export class DiplomaticTitlesMaster extends BaseModel {
|
|
|
14
14
|
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
15
15
|
title_in_arabic: string | null; // Arabic translation
|
|
16
16
|
|
|
17
|
-
@Column({ type: 'enum', enum: TitleCategory, nullable: false })
|
|
17
|
+
@Column({ type: 'enum', enum: TitleCategory, nullable: false,default: TitleCategory.EMPLOYEE})
|
|
18
18
|
category: TitleCategory; // Category: Employee or Non Employee
|
|
19
19
|
|
|
20
20
|
@Column({ type: 'text', nullable: true })
|
|
@@ -37,10 +37,10 @@ export class StationeryRequests extends BaseModel {
|
|
|
37
37
|
@Column({ type: 'int', nullable: false })
|
|
38
38
|
material_id: number; // Reference to stationery_material_master table
|
|
39
39
|
|
|
40
|
-
@Column({ type: 'int', nullable:
|
|
40
|
+
@Column({ type: 'int', nullable: true })
|
|
41
41
|
material_name: string; // Reference to stationery_material_type_master table
|
|
42
42
|
|
|
43
|
-
@Column({ type: 'int', nullable:
|
|
43
|
+
@Column({ type: 'int', nullable: true })
|
|
44
44
|
quantity_required: number;
|
|
45
45
|
|
|
46
46
|
@Column({ type: 'varchar', length: 500, nullable: true })
|